[squeak-dev] The Inbox: Morphic-ct.1659.mcz
marcel.taeumel at hpi.de
Sat Jun 6 13:17:18 UTC 2020
> isn't this situation comparable to the items in the docking bar?
Those look like a menu already. System window buttons do not.
Am 17.05.2020 15:40:41 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:
isn't this situation comparable to the items in the docking bar? The centered "changeset" button looks exactly the same as the menu items on the left. But the menu items react on mouseDown, whereas the changeset button reacts on mouseUp only.
I was rather thinking of this rule: All *leaf* buttons that actually raise an action should behave in the same fashion. However, the menu box is only a "branch" button, so it does not actually invoke an action. If we have it react only on mouseUp only, it costs the user an extra click to actually select an action from the menu.
Can you understand me? :-)
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel
Gesendet: Sonntag, 17. Mai 2020 14:37:35
An: gettimothy via Squeak-dev
Betreff: Re: [squeak-dev] The Inbox: Morphic-ct.1659.mcz
For the user, it is just a button. All buttons should behave in a similar fashion.
Am 16.05.2020 20:49:10 schrieb commits at source.squeak.org <commits at source.squeak.org>:
Christoph Thiede uploaded a new version of Morphic to project The Inbox:
==================== Summary ====================
Time: 16 May 2020, 8:48:50.198708 pm
Proposal: Have windows' menu box act on mouseDown rather than on mouseUp like the other boxes. This saves you another click and is more consistent to the usual menu flow in Squeak.
=============== Diff against Morphic-nice.1658 ===============
Item was changed:
----- Method: SystemWindow>>createMenuBox (in category 'initialization') -----
^ (self createBox: self class menuBoxImage)
+ setBalloonText: 'window menu' translated;
+ actWhen: #buttonDown;
- setBalloonText: 'window menu' translated!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev