Red Hat Bugzilla – Bug 484695
Ctrl-<click> doesn't open source files
Last modified: 2010-01-05 10:15:59 EST
Created attachment 331323 [details]
stack trace of IllegalArgumentException
Description of problem:
Shift-click doesn't open underlined source files in a ChangeLog file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Check out this project:
2. Open the ChangeLog file.
3. Shift-click on the highlighted Java file in the first entry and see the attached exception.
There is an IllegalArgumentException printed to the console if you are running Fedora Eclipse with the -consolelog option and the source file doesn't open. See attached stack trace for details about the exception.
Source file should open.
It's Ctrl-<click> and not Shift-<click>, right?
(In reply to comment #1)
> It's Ctrl-<click> and not Shift-<click>, right?
Yeah, sorry my mistake. It's Ctrl-<click> that doesn't work. I've updated the bug title.
This is working for me. I ran into an issue whereby I had to issue -clean when starting because the ChangeLog editor was having a problem with the editor descriptor. After that, the editor runs fine and I was able to check out your project, open the ChangeLog, and use CTRL+CLICK on the first entry without problem.
This is what I have installed:
I'm still having the problem even when I run eclipse with '-clean'. Here's what I have installed:
rpm -qa | grep eclipse
I think the problem is that the ChangeLog standards (loose, I'll admit) which were used as a basis for the editor don't take into account multiple files on the same line separated by commas as the ChangeLog does at your example project.
Whether this should be supported or not is probably up for debate but we should move this bug to bugs.eclipse.org either way. Would you mind doing this or should I?
Andrew, Thanks for the links and info, I'll file a bug about the Java files separated by commas upstream.
That said, I haven't yet solved the IllegalArgumentException problem. It turns out that the bug only happens when I use the git repository of mkgmap. Here are the updated instructions to reproduce the bug:
1. Check out git://github.com/burto/mkgmap.git
Note: The import function of the git plugin doesn't seem to work for me so I had to import the 'existing project into workspace' after I cloned the repository. Once the project was in my workspace, had to right-click on the project -> Team -> Share Project ... and select Git.
2. Create a new branch: <right-click> -> Team -> Branch .. -> new branch button -> enter branch name -> OK button -> select newly created branch -> click Checkout button
3. Open the ChangeLog file.
4. Ctrl-<click> on the highlighted Java file in the first entry and see the
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '10'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 10's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 10 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.
FWIW I just verified that the fixes Jeff applied for this issue upstream are present in Fedora 12. I can Ctrl-<click> on the filenames in the mkgmap project's ChangeLog and have the files be opened.