After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 55072 - contextual menu button should activate object
contextual menu button should activate object
Status: VERIFIED NOTABUG
Product: dia
Classification: Other
Component: general
CVS head
Other Linux
: Normal enhancement
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2001-05-22 20:47 UTC by Hubert Figuiere (:hub)
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hubert Figuiere (:hub) 2001-05-22 20:47:55 UTC
contextual menu button (2 or 3 depending on the menu bar state) should
activate object before providing the contextual menu. Otherwise it is
inconsistent.
Comment 1 Hans Breuer 2002-04-26 21:16:46 UTC
Please _don't_. IMO the context menu should not select objects
because the user defines the context (maybe there should be a 
menu for nothing selected. Context := Diagram).

If the context menu would select something it should definitely
check if there already was something selected. And it _must_
not change it, because the user always should know better ... 
Comment 2 James Henstridge 2002-05-02 01:26:00 UTC
Mass reassign of bugs to dia-maint@bugzilla.gnome.org.
Comment 3 Lars Clausen 2002-05-02 02:53:47 UTC
I agree with Hans on this.  Several context menus use the mouse point to place new corners and such.  Mixing this with selecting other objects would be confusing.  Allowing a select when there's nothing selecting would lead to a confusing inconsistency in the behaviour.
Comment 4 Hubert Figuiere (:hub) 2002-05-08 16:38:24 UTC
Usually, pointing and clicking with the mouse selects something.
The contextual menu is *contextual*. It depends of the context, and
the context is set by pointing and clicking.
I user would expect that, when he ask for the contextual menu, the 
context be consitent with what is under the mouse. That is why clicking
with the button the raise contextual menu should set the context 
(= selection) the same way.

Oh and yes, there should be a context for nothing selected. This way
the context is the whole diagram.
Comment 5 Hans Breuer 2002-05-20 13:19:03 UTC
Maybe I should have gone into more detail the first time.
Often selcting objects isn't a simple task. (That's why
there are so many options in the Select menu :-)
If a user has finished such a task it would be _highly_
annoying if some smart programmer would say 'Hey I don't
care, you just right clicked not within the current 
selcetion. I create a new one.'
Please try it yourself with a complex diagram.
BTW: The _left_ mouse button is used to select something.
Neither the middle nor the right one. Dia behaves consistently
with any other program I know (Try rigth-clicking in your
favourite word processor, browser, drawing program, ...)

Setting to NOTABUG.

Comment 6 Hubert Figuiere (:hub) 2003-07-17 08:47:06 UTC
agreed