Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Re: Deselecting a table item on second selection
Re: Deselecting a table item on second selection [message #558394] Sun, 12 September 2010 09:20
Roland Tepp is currently offline Roland TeppFriend
Messages: 336
Registered: July 2009
Senior Member
Actually,

This type of select/deselect behavior is not entirely uncommon.

Although I generally do agree with you on not trying to "outsmart"
native widget behavior, sometimes there is no other way.

For example - our application needs exactly this behavior because it is
expected to be used in touch-only devices which do not have a notion of
Ctrl key modifier.

Ability to select and then de-select a table item by "toggling" it needs
to be provided explicitly and native widget set should not try to fight
my decision to do so.

From my POV the behavior where explicitly de-selected item gets
magically re-selected later without explicit user- or programmer
intervention is a bug of the platform.

I've filed a bug report to SWT for this issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=325033

13.03.2009 20:30, Carolyn MacLeod kirjutas:
> In addition, you will need to think about what to do if the user
> drag-selects through a selected item? What if they select with the right
> mouse button? What if they want to open a context menu with the right mouse
> button after selecting? What if they select and then they select again to
> start a drag and drop operation? What if they use the keyboard to select -
> will you deselect if they select with the arrow keys and then press space?
> (Currently, on Windows and GTK but not on Mac, pressing control+space will
> deselect). So what I am trying to say is that the native controls have many


--
Roland Tepp
Previous Topic:Copy and paste problems in ToolBar Text widget
Next Topic:ScrollBar.setIncrement() no effect on Linux?
Goto Forum:
  


Current Time: Sat Dec 16 22:44:44 GMT 2017

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

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