[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: linux gtk - multiple selection setting

Grant Gayed wrote:

short story:
THANKS!!!!!!!!!!

long story:
on ubuntu where the behavior was the expected one I could not find the gtk-demo


on RHEL5 where the unexpected occurred, the gtk-demo you mention behaves exactly like eclipse did - needed to hit shift-ctrl-click instaed of ctrl-click
the puzzling thing was that the nautilus file explorer never displayed the odd behavior,


however, running gtk-demo I noticed that hitting ctrl was causing the selection to lose its color, e.g. the window was not in focus anymore.
the reason: the mouse preference to highlight the cursor position when ctrl was pressed (why this never happened with nautilus I don't know)!


now gtk and eclipse behavior is the expected one.
cheers

If you run gtk-demo on the linux distro with the unexpected behaviour, which
selection behaviour do you see in its Tree View > Tree Store page?
SWT/JFace do not do anything to change native behaviours like this.  I don't
know if it's configurable in the OS, I haven't heard of a varation like this
before.

Grant


"Edoardo Comar" <ecomar@xxxxxxxxxx> wrote in message news:fhc1s3$irk$1@xxxxxxxxxxxxxxxxxxxx
to perform a multiple selection in eclipse treeviewers and table viewers

on red hat I have to use ctrl-shift-click
on ubuntu I just use ctrl-click (like in windows)

nautilus (gnome's file explorer) always uses plain ctrl-click

what setting controls the different swt(jface?) behavior on the two
distros?
is it user-tweakable ?