Java editor view has no focus after double-clicking a java file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eclipse |
Fix Released
|
High
|
|||
eclipse (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: eclipse
Steps to reproduce:
1. in the Package explorer, double-click on a Java file
2. press CTRL + F to search for some string in the file
Expected results:
A Java editor view gets opened. The Java editor view gets the focus, and CTRL + F opens the find/replace dialog for that file.
Actual results:
A Java editor view gets opened. Focus however stays at the Package explorer view, and CTRL + F opens some search field for the Package explorer.
This worked fine with the Eclipse in Kubuntu 9.10.
In addition, Zend Studio for Eclipse also is affected. This worked fine in Zend Studios for Eclipse 7.12 on Kubuntu 9.10, and after re-installing Kubuntu 10.04 (and copying back my home directory which also includes Zend Studio), this was broken.
I've also filed this in the Eclipse bug tracker, but the Eclipse folk says that this probably is "buried lower": https:/
Launchpad issue #237819 sounds a bit similar, but I'm not quite sure about this.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: eclipse 3.5.2-2ubuntu4.1
ProcVersionSign
Uname: Linux 2.6.32-
Architecture: i386
Date: Fri May 28 19:14:42 2010
InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427)
PackageArchitec
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: eclipse
workspace.
xulrunner-versions: /usr/lib/
In Eclipse bugs #312568, Pwebster-ca (pwebster-ca) wrote : | #2 |
BuildId: M20100211-1343
Do you have any errors in your error log? <workspace>
I tried this on the same build on linux. Double-click on a java file from the Package Explorer and once it is opened, hit CTRL+F. I'm now searching in the editor.
PW
In Eclipse bugs #312568, Eclipse-01 (eclipse-01) wrote : | #3 |
(In reply to comment #2)
> Do you have any errors in your error log? <workspace>
No.
In Eclipse bugs #312568, Eclipse-01 (eclipse-01) wrote : | #4 |
(In reply to comment #1)
> How did you download and install Eclipse? What distribution are you on? What
> versions of GTK+ do you have installed?
This is Eclipse 3.5.2 that comes with Ubuntu 10.04 (Lucid Lynx).
I'm using libgtk 2.20.0.
In Eclipse bugs #312568, Eclipse-01 (eclipse-01) wrote : | #5 |
I've just tested with a virgin workspace with a new project: The problem still occurs there as well.
I'll test with Eclipse 3.6m7 now.
In Eclipse bugs #312568, Eclipse-01 (eclipse-01) wrote : | #6 |
The problem persists with Eclipse 3.6M7.
By the way, this is on KDE 4.4.2. I haven't tested this on Gnome yet.
In Eclipse bugs #312568, Francis Upton (francisu) wrote : | #7 |
Are you sure this is Package Explorer and not Project Explorer?
In Eclipse bugs #312568, Eclipse-01 (eclipse-01) wrote : | #8 |
Yes, this occurs in the Package Explorer, but I can also reproduce the problem in the Project Explorer.
In Eclipse bugs #312568, Susan-franklin (susan-franklin) wrote : | #9 |
not sure where to send this, I'll assign to CommonNavigator but chances are that this is something buried lower since it seems to be a platform difference.
In Eclipse bugs #312568, Eclipse-01 (eclipse-01) wrote : | #10 |
By the way, I've only seen this after the upgrade from Kubuntu 9.10 to Kubuntu 10.04 (which updated the OS and Eclipse). However, Zend Studio for Eclipse (a separate application) was also affected (and Zend Studio for Eclipse was the same version as before the upgrade).
In case this might be relevant, this is how I start Eclipse and Zend Studio:
/usr/bin/eclipse
env GDK_NATIVE_
Is there anything else which I'd need to check?
Oliver Klee (launchpad-oliverklee) wrote : | #11 |
Binary package hint: eclipse
Steps to reproduce:
1. in the Package explorer, double-click on a Java file
2. press CTRL + F to search for some string in the file
Expected results:
A Java editor view gets opened. The Java editor view gets the focus, and CTRL + F opens the find/replace dialog for that file.
Actual results:
A Java editor view gets opened. Focus however stays at the Package explorer view, and CTRL + F opens some search field for the Package explorer.
This worked fine with the Eclipse in Kubuntu 9.10.
In addition, Zend Studio for Eclipse also is affected. This worked fine in Zend Studios for Eclipse 7.12 on Kubuntu 9.10, and after re-installing Kubuntu 10.04 (and copying back my home directory which also includes Zend Studio), this was broken.
I've also filed this in the Eclipse bug tracker, but the Eclipse folk says that this probably is "buried lower": https:/
Launchpad issue #237819 sounds a bit similar, but I'm not quite sure about this.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: eclipse 3.5.2-2ubuntu4.1
ProcVersionSign
Uname: Linux 2.6.32-
Architecture: i386
Date: Fri May 28 19:14:42 2010
InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427)
PackageArchitec
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: eclipse
workspace.
xulrunner-versions: /usr/lib/
Oliver Klee (launchpad-oliverklee) wrote : | #12 |
Gabe Gorelick (gabegorelick) wrote : | #13 |
I can confirm this on Ubuntu 9.10. I can also confirm this bug when running /usr/lib/
It looks like what is going on here is that when you open a java file, the editor is not stealing focus from the package explorer, so it is not surprising that CTRL-F searches in the package explorer instead. If you start typing, you get the search box in the package explorer as well.
Changed in eclipse (Ubuntu): | |
status: | New → Confirmed |
Gabe Gorelick (gabegorelick) wrote : | #14 |
Oops, I meant Ubuntu 10.04, not 9.10.
In Eclipse bugs #312568, Eclipse-01 (eclipse-01) wrote : | #15 |
By the way, this problem does _not_ occur on the OS X version of Eclipse.
In Eclipse bugs #312568, Sanjar Akhmedov (sanjar) wrote : | #16 |
The problem persists in Eclipse 3.6.
Details: Standard Eclipse Helios distro downloaded from eclipse.org; Ubuntu 10.04 64bit; Gtk+ 2.20.1-0ubuntu2.
In Eclipse bugs #312568, Filipe Sousa (filipe-ipb) wrote : | #17 |
I have the same problem.
The only way to get editor focus is with the Project Explorer View detached
Eclipse Java EE IDE for Web Developers.
Version: Helios Release
Build id: 20100617-1415
Fedora 13 x86_64
$ java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) Server VM (build 17.0-b16, mixed mode)
In Eclipse bugs #312568, Setatum (setatum) wrote : | #18 |
I also have this issue. It's really annoying! :)
uname info: Linux statum-laptop 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010 i686 GNU/Linux
Eclipse 3.5.2 Build id: 20100218-1602
Sun JDK 1.6.20 (32-bit)
My command line:
eclipse -vm /usr/lib/
Other folks have been reporting GTK version.. here is my dpkg output:
ii libgtk2.0-0 2.20.1-0ubuntu2
Let me know if you need any info or want me to try something.
In Eclipse bugs #312568, Francis Upton (francisu) wrote : | #19 |
(In reply to comment #12)
> The problem persists in Eclipse 3.6.
>
> Details: Standard Eclipse Helios distro downloaded from eclipse.org; Ubuntu
> 10.04 64bit; Gtk+ 2.20.1-0ubuntu2.
I am running the same Eclipse version OS and don't see the problem. I'm running Gnome, are you using KDE or Gnome?
In Eclipse bugs #312568, Francis Upton (francisu) wrote : | #20 |
(In reply to comment #14)
> Other folks have been reporting GTK version.. here is my dpkg output:
> ii libgtk2.0-0 2.20.1-0ubuntu2
This works fine on Ubuntu Jaunty (10.04) with:
ii libgtk2.0-0 2.16.1-0ubuntu2
In Eclipse bugs #312568, Francis Upton (francisu) wrote : | #21 |
Everyone, please run this command to report the version of GTK you are using:
dpkg -l | grep libgtk2.0-0
In Eclipse bugs #312568, Manaster (manaster) wrote : | #22 |
ii libgtk2.0-0 2.20.0-0ubuntu4
and it's still not working for me.
In Eclipse bugs #312568, Eclipse-01 (eclipse-01) wrote : | #23 |
ii libgtk2.0-0 2.20.1-0ubuntu2
... on Kubuntu 10.04, and not working
In Eclipse bugs #312568, Filipe Sousa (filipe-ipb) wrote : | #24 |
Installed Packages
Name : gtk2
Arch : x86_64
Version : 2.20.1
Release : 1.fc13
In Eclipse bugs #312568, Francis Upton (francisu) wrote : | #25 |
Ok, seems like this is a GTK issue with GTK 2.20.
Off to SWT.
In Eclipse bugs #312568, Sanjar Akhmedov (sanjar) wrote : | #26 |
(In reply to comment #15)
> (In reply to comment #12)
> > The problem persists in Eclipse 3.6.
> >
> > Details: Standard Eclipse Helios distro downloaded from eclipse.org; Ubuntu
> > 10.04 64bit; Gtk+ 2.20.1-0ubuntu2.
> I am running the same Eclipse version OS and don't see the problem. I'm running
> Gnome, are you using KDE or Gnome?
I am using Gnome. Here is the output you requested:
[~]% dpkg -l | grep libgtk2.0-0
ii libgtk2.0-0 2.20.1-0ubuntu2
In Eclipse bugs #312568, Mseneta (mseneta) wrote : | #27 |
I'm experiencing the same issue.
In Eclipse bugs #312568, Kenjmorgan (kenjmorgan) wrote : | #28 |
Additional info: this problem does not occur when opening a file with the "Enter" key. It only seems to occur when double-clicking. Also, this problem is not limited to the opening of Java files. It seems to occur for any file type that opens an editor when double-clicked. Problem happens for me using build id M20100909-0800 on Ubuntu 10.10.
Changed in eclipse-eclipsers: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
In Eclipse bugs #312568, Pinnamur (pinnamur) wrote : | #29 |
*** Bug 331081 has been marked as a duplicate of this bug. ***
In Eclipse bugs #312568, Ivo-maixner (ivo-maixner) wrote : | #30 |
Same problem.
OpenSUSE 11.4, 64-bit.
libgtk-2_0.0, v. 2.22.1-13.15.1.
Eclipse Java EE IDE for Web Developers, Version: Indigo Release, Build id: 20110615-0604.
NOTE: double-click works correctly (transfers focus to Editor window) for .xsd files(!).
For all other files I have tried (.java, .xml, .xsl, pom.xml, etc.), double-click keeps focus in Package explorer, while Enter transfers focus to Editor window.
In Eclipse bugs #312568, skriv (ed-zwart) wrote : | #31 |
I can confirm bug for double click (unless view is detached). Enter works whether detached or not.
ii libgtk2.0-0 2.20.1-0ubuntu2.1
Ubuntu 10.04
Eclipse 3.7.1 Build id: M20110909-1335
Nguyen Anh Minh (minhna) wrote : | #32 |
I use Aptana Studio 3.0 in XUbuntu and I got this problem too.
After I used the Find and Replace function, the key board is not working anymore. I have this problem with Zend Studio 5.5.1 too.
Aptana Studio 3, build: 3.0.8.201201201658
$ dpkg -l | grep libgtk2.0-0
ii libgtk2.0-0 2.24.6-0ubuntu5 The GTK+ graphical user interface library
ii libgtk2.0-0:i386 2.24.6-0ubuntu5 The GTK+ graphical user interface library
$ uname -a
Linux minh-desktop 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 17:23:00 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
In Eclipse bugs #312568, P-bodnar (p-bodnar) wrote : | #33 |
Created attachment 221871
AutoFocusOpened
This "feature" was really driving me nuts, so I have written this simple plug-in which gives the stolen focus back to the opened / activated editor. Not the "real" solution, I guess, but at least it is working for me... :) The "autofocusopene
I hope you can find it useful until this issue / root of the issue gets really fixed...
In Eclipse bugs #312568, Markus-keller (markus-keller) wrote : | #34 |
*** Bug 394462 has been marked as a duplicate of this bug. ***
In Eclipse bugs #312568, Markus-keller (markus-keller) wrote : | #35 |
From bug 394462 comment 1:
=> Analysis of the events:
When I double-click a file in the Package Explorer, then Tree.gtk_
This is handled by org.eclipse.
But in the end, Control.
if (!shell.isDisposed ()) shell.setActive
This line is wrong. If the control really needs to be activated again on double-click, then this needs to happen before any listeners are notified.
Changed in eclipse-eclipsers: | |
importance: | Medium → High |
In Eclipse bugs #312568, Markus-keller (markus-keller) wrote : | #36 |
Here's a standalone snippet. If you double-click the tree item on Windows, the focus ends up in the Text as expected. On GTK, focus goes back to the Tree.
(In reply to comment #30)
The execution sequence in Control.
- First, the "sendMouseEvent (..., false, ...)" call *posts* a mouse down event, which is enqueued.
- Then, the "shell.
- Later, the enqueued mouse down is processed
=> The final order of the Activate, MouseDown, and DefaultSelection events is correct.
The real problem is somewhere deeper in the SWT/GTK interaction. I first thought it's just the "OS.gtk_
In Eclipse bugs #312568, Markus-keller (markus-keller) wrote : | #37 |
Created attachment 230644
Snippet312568.java
In Eclipse bugs #312568, Pdecat+eclipse (pdecat+eclipse) wrote : | #38 |
The same issue still occurs on Ubuntu 13.04 using Default, Classic and GTK themes with eclipse kepler.
Tested builds:
* 4.3RC2a (Build id: I20130526-2000)
* 4.3RC3 (Build id: I20130530-1430)
Does not happen on Windows XP SP3.
In Eclipse bugs #312568, Pdecat+eclipse (pdecat+eclipse) wrote : | #39 |
Same issue with eclipse 4.3RC4 (Build id: I20130605-2000).
In Eclipse bugs #312568, Bertrand Croq (bcroq) wrote : | #40 |
Same issue here.
Archlinux using KDE 4.11.00 but not using archlinux's Eclipse.
gtk2: 2.24.20-1
eclipse.
java.runtime.
java.runtime.
In Eclipse bugs #312568, Pwebster-ca (pwebster-ca) wrote : | #41 |
Problem still in Luna RC1.
PW
In Eclipse bugs #312568, Jw2online (jw2online) wrote : | #42 |
Kubuntu 14.04.
Eclipse 4.4.0.
So very disruptive to a workflow to open a file from the package explore and then try to find something in the file. It may not seem like much but when ctrl+f keeps searching the package explorer instead of the file, it is really, _really_ annoying.
This is prompting me to try other IDEs because this is disruptive enough. I know that this used to work. It's unfortunate that it has become a persistent bug.
In Eclipse bugs #312568, P-bodnar (p-bodnar) wrote : | #43 |
(In reply to JW from comment #37)
I can only confirm, bugs like these don't make a good name to Eclipse. Have you tried the attached plugin as a workaround for this problem? (see comment #28)
In Eclipse bugs #312568, Daniel-megert (daniel-megert) wrote : | #44 |
Arun, can you please have this investigated? Thanks.
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #45 |
Working on this.
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #46 |
I have a ~Work-in-progress~ patch here:
(NOT FULLY READY YET):
https:/
There are 2 issues:
1) 11 year workaround that steals focus that is no longer relevant. (Removed it).
see:
git show 300ace8e3eaec61
2) MouseDoubleClick event comes after DefaultSelection. Platform UI (quite logically) expects DefaultSelection to come after MouseDoubleClick.
If I manually delay this event by 50ms then all works well.
Now I'm looking for a better way to solve it than a 50ms delay.
What I have in mind at the moment is :
a. Not listen to ROW_ACTIVATION at all. Instead manually trigger defaultSelection after DoubleClick event occurred and get selection manually.
b. Write some thread-wait mechanism that slows down DefaultSelection till after Double-click event went through.
I'm researching which of those works best.
Any thoughts/
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #47 |
This also occurs on Gtk3 btw.
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #48 |
*** Bug 465984 has been marked as a duplicate of this bug. ***
In Eclipse bugs #312568, Akurtakov (akurtakov) wrote : | #49 |
(In reply to Leo Ufimtsev from comment #41)
> I have a ~Work-in-progress~ patch here:
> (NOT FULLY READY YET):
> https:/
>
> There are 2 issues:
>
> 1) 11 year workaround that steals focus that is no longer relevant. (Removed
> it).
> see:
> git show 300ace8e3eaec61
Having this removed in separate commit is good idea as this is a must do stuff while the rest is not yet decided and we can push it as soon as devel opens.
>
> 2) MouseDoubleClick event comes after DefaultSelection. Platform UI (quite
> logically) expects DefaultSelection to come after MouseDoubleClick.
> If I manually delay this event by 50ms then all works well.
>
> Now I'm looking for a better way to solve it than a 50ms delay.
> What I have in mind at the moment is :
> a. Not listen to ROW_ACTIVATION at all. Instead manually trigger
> defaultSelection after DoubleClick event occurred and get selection manually.
>
> b. Write some thread-wait mechanism that slows down DefaultSelection till
> after Double-click event went through.
>
> I'm researching which of those works best.
a) sounds better option to me
>
> Any thoughts/
In Eclipse bugs #312568, Genie (genie) wrote : | #50 |
New Gerrit change created: https:/
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #51 |
(In reply to Alexander Kurtakov from comment #44)
> (In reply to Leo Ufimtsev from comment #41)
> > I have a ~Work-in-progress~ patch here:
> > (NOT FULLY READY YET):
> > https:/
> >
> > There are 2 issues:
> >
> > 1) 11 year workaround that steals focus that is no longer relevant. (Removed
> > it).
> > see:
> > git show 300ace8e3eaec61
>
> Having this removed in separate commit is good idea as this is a must do
> stuff while the rest is not yet decided and we can push it as soon as devel
> opens.
Submitted patch part 1: (removal of old workaround)
https:/
Will work on part 2 now.
In Eclipse bugs #312568, Genie (genie) wrote : | #52 |
New Gerrit change created: https:/
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #53 |
Part 2 is finished:
https:/
Tree/Table/List now manually send the DefaultSelection after the double click event.
I also added code so that it would send it
- After a MouseDoubleClick event
- Space (no modifiers)
- Shift+space (and no other modifiers)
- Return (no modifiers
This is to preserve functionality of row-activation as per GtkDocu:
https:/
With these two patches double-clicking in package explorer now passes focus correctly to the editor. It also impacts all other tree-double click widgets, e.g double-clicking no a breakpoint now shifts focus to the code-line that the break-point is on. Etc..
Patches are ready for review.
In Eclipse bugs #312568, Qudus (qudus) wrote : | #54 |
Bug still exists on Mars.
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #55 |
(In reply to Marvin Fröhlich from comment #49)
> Bug still exists on Mars.
~Patch not yet merged into master due to code freeze. Should make it into master in a week or two.
In Eclipse bugs #312568, Sxenos (sxenos) wrote : | #56 |
With patch 2 (the one that changes event order), can someone confirm that the event order is identical between Windows and GTK?
It's probably best to keep the order consistent across platforms if possible, and probably best not to change the order if it's already consistent. I suspect the patch is probably good (and I've confirmed that the combination of both patches fixes the problem reported here) but I'd suggest we determine the event order across platforms before changing it on GTK.
In Eclipse bugs #312568, Genie (genie) wrote : | #57 |
Gerrit change https:/
Commit: http://
In Eclipse bugs #312568, Genie (genie) wrote : | #58 |
Gerrit change https:/
Commit: http://
In Eclipse bugs #312568, Akurtakov (akurtakov) wrote : | #59 |
Both patches pushed to master. It's really good to see 5 years old bug finally going out.
I don't have access to Windows box to test but this is really big usability issue so having it fixed sooner is more important in my eyes. If there is such an issue let's deal with it in separate bug.
In Eclipse bugs #312568, Akurtakov (akurtakov) wrote : | #60 |
Arun, what do you think about backporting the patches to Mars?
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #61 |
Created attachment 255028
LTEST_312568_
Snippet to test patch and print order of events.
- Order of events before patch ::
mouse down
mouse down
Tree default selection. 319987237
Mouse double
- Order of events after patch ::
mouse down
mouse down
Mouse double
Tree default selection. 320178740
Before patch:
- Double clicking on Tree/Table/List had no impact on focus
After patch :
- Upon double clicking Tree/Table/List, focus shifts to text box.
In Eclipse bugs #312568, Scela-x (scela-x) wrote : | #62 |
(In reply to Leo Ufimtsev from comment #56)
> - Order of events after patch ::
> mouse down
> mouse down
> Mouse double
> Tree default selection. 320178740
I can confirm that it is the same in Windows.
In Eclipse bugs #312568, Markus-keller (markus-keller) wrote : | #63 |
(In reply to Eclipse Genie from comment #53)
> Gerrit change https:/
> Commit:
> http://
>
The Widget#
- The standard idiom in SWT is this:
if ((keymask & (OS.GDK_MOD1_MASK | OS.GDK_SHIFT_MASK
| OS.GDK_CONTROL_MASK | OS.GDK_SUPER_MASK
| OS.GDK_META_MASK | OS.GDK_HYPER_MASK)) != 0) {
sendTreeDefau
}
Also note the position of the '{'.
The valueContainsFlag method should be removed again. If it would have been kept, the following would have had to be fixed:
- Why is the type of 'value' long and not int?
- Missing @return description.
- Typo: Convienience (please check why you didn't see an error underline from the spell checker)
In Eclipse bugs #312568, Genie (genie) wrote : | #64 |
New Gerrit change created: https:/
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #65 |
(In reply to Markus Keller from comment #58)
> (In reply to Eclipse Genie from comment #53)
> > Gerrit change https:/
> > Commit:
> > http://
> >
>
> The Widget#
> standards:
>
> - The standard idiom in SWT is this:
>
> if ((keymask & (OS.GDK_MOD1_MASK | OS.GDK_SHIFT_MASK
> | OS.GDK_CONTROL_MASK | OS.GDK_SUPER_MASK
> | OS.GDK_META_MASK | OS.GDK_HYPER_MASK)) != 0) {
> sendTreeDefault
> }
>
> Also note the position of the '{'.
Thank you for feedback. I've made the relevant refactoring and tested for functionality. (removed valueContainsFlag() method).
I added you as reviewer:
https:/
Please let me know if there's anything else.
> The valueContainsFlag method should be removed again. If it would have been
> kept, the following would have had to be fixed:
>
> - Why is the type of 'value' long and not int?
> - Missing @return description.
> - Typo: Convienience (please check why you didn't see an error underline
> from the spell checker)
To this I shall link to this tweet:
https:/
(On the side: I did have spell check turned on, but it seems by default Eclipse only picks up the first 100 spell check errors. The function being at the bottom of a 2000+ widget, Eclipse didn't get to the typo. I set my preferences to 9999 instead now)
In Eclipse bugs #312568, Genie (genie) wrote : | #66 |
Gerrit change https:/
Commit: http://
In Eclipse bugs #312568, Akurtakov (akurtakov) wrote : | #67 |
As I missed the issues in my review - I have reviewed and pushed it, all is good now.
In Eclipse bugs #312568, Qudus (qudus) wrote : | #68 |
(In reply to Alexander Kurtakov from comment #55)
> Arun, what do you think about backporting the patches to Mars?
Yes, please. This bug existed for a long time now. Would be a shame, if it was delayed till the next release.
In Eclipse bugs #312568, Markus-keller (markus-keller) wrote : | #69 |
Thanks for the cleanups and for not releasing my wrong proposal with "!= 0".
I agree this should be backported, but only after a few weeks of testing in the 4.6 stream. Reopening for 4.5.1.
In Eclipse bugs #312568, AlexHofbauer (alex-derhofbauer) wrote : | #70 |
I don't know whether this is related, but on Gnome 3.16 with Mars there's a strange issue with list views: A click doesn't seem to reach the item, i.e. set focus on it. It only selects that view.
This results in having to first focus the view and then click on an entry to get it selected. It also makes opening entries in the Navigator impossible via double click.
Double-clicking on an Navigator item while having focus on an editor window opens the currently selected entry, no matter what item was actually double-clicked.
Right clicks are also affected, e.g. showing properties for the currently selected file, not the one right clicked to get its menu.
This confuses me a lot.
Double-clicks on folders in the Navigator are not affected, single clicks (r and l) are. Folding / expanding arrows work as well.
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #71 |
(In reply to Alexander Hofbauer from comment #65)
> I don't know whether this is related, but on Gnome 3.16 with Mars there's a
> strange issue with list views: A click doesn't seem to reach the item, i.e.
> set focus on it. It only selects that view.
Hello,
I tested latest Eclipse Mars with Gtk 3.16.5 (As well as with Gtk 2.24) with the double click patch. Works well for me, the issue described does not appear on my Fedora 22 system.
(I'll attach video in a bit). May I suggest to submit a separate bug-report and post more details (e.g your OS, theme, perhaps a screen recording with gtk-recordMyDesktop to illustrate the issue?) and perhaps link to this bug as related.
If you have the means, you could try to revert the SWT patch and see if the issue occurs for you without the patch; although this may require you to rebuild the SWT bindings.
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #72 |
Created attachment 255301
Double click seems to work for me on Mars.
In Eclipse bugs #312568, AlexHofbauer (alex-derhofbauer) wrote : | #73 |
N
In Eclipse bugs #312568, AlexHofbauer (alex-derhofbauer) wrote : | #74 |
Oh, apparently a browser hiccup or something alike caused my comment to be truncated. Sorry for the noise.
Thank you for your input. I added bug 473093, trying to describe my problem further.
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #75 |
As discussed in the other bug, bug 473093 is not related to this bug.
As things stand, awating further feedback, otherwise we can probably backport it some time next week.
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #76 |
If there are no observed issues, we should consider backporting now to resolve this bug.
In Eclipse bugs #312568, Akurtakov (akurtakov) wrote : | #77 |
(In reply to Leo Ufimtsev from comment #71)
> If there are no observed issues, we should consider backporting now to
> resolve this bug.
Arun, here is my +1 for backporting it.
In Eclipse bugs #312568, Arunkumar-thondapu-i (arunkumar-thondapu-i) wrote : | #78 |
(In reply to Alexander Kurtakov from comment #72)
> (In reply to Leo Ufimtsev from comment #71)
> > If there are no observed issues, we should consider backporting now to
> > resolve this bug.
>
> Arun, here is my +1 for backporting it.
+1 from me as well, Leo, please go ahead and release the patch to R4_5_maintenance. Thanks!
In Eclipse bugs #312568, Lufimtse (lufimtse) wrote : | #79 |
(In reply to comment #73)
> (In reply to Alexander Kurtakov from comment #72)
> > (In reply to Leo Ufimtsev from comment #71)
> > > If there are no observed issues, we should consider backporting now to
> > > resolve this bug.
> >
> > Arun, here is my +1 for backporting it.
>
> +1 from me as well, Leo, please go ahead and release the patch to
> R4_5_maintenance. Thanks!
Ok, I pushed it into R4_5_maintenance. Closing for now.
Changed in eclipse-eclipsers: | |
status: | Confirmed → Fix Released |
In Eclipse bugs #312568, Sravan Kumar Lakkimsetti (sravankumarl) wrote : | #80 |
Verified on M20150826-1000 Linux x86 32bit
Does the problem persist on Eclipse 3.6M7? download. eclipse. org/eclipse/ downloads/
http://
How did you download and install Eclipse? What distribution are you on? What versions of GTK+ do you have installed?