Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » shift/control + click on tree views(Linux/GTK: Tree views collapse/expand on shift/control + click instead of selecting multiple items)
shift/control + click on tree views [message #488736] Tue, 29 September 2009 23:02 Go to next message
Yuriy Malchenko is currently offline Yuriy Malchenko
Messages: 7
Registered: July 2009
Junior Member
Hi!

In the latest release of Eclipse (3.5.1) every time I control-click or shift-click on a tree view I get this tree collapse or expand some of its nodes (usually the first one). The expected behavior is to select a range of items (with shift+click) or select/de-select an item (with control+click). I used to use Eclipse under windows before - this kind of things never happened there; under Linux/GTK I have experienced this behavior from time to time (it was quite annoying, but after a few clicks I was getting it to work). But after updating to SR1 it happens all the time, no matter how or where I click.

Is this an intended behavior or is it a bug and should it be reported?

Thanks!
Re: shift/control + click on tree views [message #488813 is a reply to message #488736] Wed, 30 September 2009 06:41 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Yuriy Malchenko wrote:
> Hi!
>
> In the latest release of Eclipse (3.5.1) every time I control-click or
> shift-click on a tree view I get this tree collapse or expand some of
> its nodes (usually the first one). The expected behavior is to select
> a range of items (with shift+click) or select/de-select an item (with
> control+click). I used to use Eclipse under windows before - this kind
> of things never happened there; under Linux/GTK I have experienced
> this behavior from time to time (it was quite annoying, but after a
> few clicks I was getting it to work). But after updating to SR1 it
> happens all the time, no matter how or where I click.
>
> Is this an intended behavior or is it a bug and should it be reported?
Are you sure you don't click twice on the node (this does
expand/collapse). Another cause could be a defective mouse. If that's
not the case then please file a bug report with steps to reproduce.

Dani
>
> Thanks!
Re: shift/control + click on tree views [message #488823 is a reply to message #488813] Wed, 30 September 2009 08:26 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan Herrmann
Messages: 977
Registered: July 2009
Senior Member
Hi,

I frequently see this behavior on Linux/GTK too (started maybe around
3.5.0 or around my latest Kubuntu upgrade, not sure).

I have no more details on how to reproduce than:
1. select on element in any tree view
2. ctrl-click or shift-click on any other element in the same tree

However, I have a workaround to avoid that annoying collapsing:
When you do ctrl-click first press ctrl, then move the mouse just
a little (while holding ctrl) and only then click.

Do you still see the collapsing with a little motion in between?

Stephan
Re: shift/control + click on tree views [message #488849 is a reply to message #488823] Wed, 30 September 2009 09:45 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

It seems to show up when using GTK+ 2.14
https://bugs.eclipse.org/bugs/show_bug.cgi?id=255126


Re: shift/control + click on tree views [message #488953 is a reply to message #488823] Wed, 30 September 2009 16:21 Go to previous message
Yuriy Malchenko is currently offline Yuriy Malchenko
Messages: 7
Registered: July 2009
Junior Member
Stephan Herrmann wrote on Wed, 30 September 2009 08:26

Do you still see the collapsing with a little motion in between?



Actually no, if I move the mouse a little - it works. Thanks for this workaround!
Previous Topic:Concurrency help (modifying the workspace)
Next Topic:How To Determine Whether A Folder is Linked
Goto Forum:
  


Current Time: Thu Jul 24 04:40:36 EDT 2014

Powered by FUDForum. Page generated in 0.01583 seconds