Skip to main content


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] Wed, 30 September 2009 03:02 Go to next message
Yuriy Malchenko is currently offline Yuriy MalchenkoFriend
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 10:41 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
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 12:26 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
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 13:45 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
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 20:21 Go to previous message
Yuriy Malchenko is currently offline Yuriy MalchenkoFriend
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: Tue Mar 19 10:53:42 GMT 2024

Powered by FUDForum. Page generated in 0.02162 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top