[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdebase/workspace/plasma/containmentactions
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2009-08-26 10:12:18
Message-ID: 200908260412.22143.aseigo () kde ! org
[Download RAW message or body]


On Tuesday 25 August 2009, Chani wrote:
> On August 25, 2009 09:14:49 Aaron J. Seigo wrote:
> > SVN commit 1015485 by aseigo:
> >
> > menus should show on press, not release (though the paste plugin is
> > correct in activating on release)
>
> I can never keep track of what's supposed to be on press and what's
> supposed to be on release... is there any logic to this?

yes :) actions should allow for cancellation and/or refinement of positioning, 
which is often achieved with the mouse-up-must-be-in-the-same-hit-zone-as-the-
mouse-down approach. so things like pasting should happen on mouse up, since 
paste is the action. 

menus, however, are not actions themselves but present actions. so they  
appear on mouse press to allow actions to be accomplished in one mouse 
press/release with press->move to action->release

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic