Battery plasmoid auto hide
Aaron J. Seigo
aseigo at kde.org
Wed Jul 27 10:53:20 UTC 2011
On Wednesday, July 27, 2011 22:23:19 Ben Cooksley wrote:
> Technically that behaviour is correct, just doesn't look too nice.
technically that behaviour is a bug :)
note how when this happens that the show/hide arrow in the tray remains in the
(wrong) "hide icons" state.
this is something that could and should be fixed. there are a couple of ways
to accomplish this (all ways i can think of, no discretion on goodness
applied):
a) the icons hide and the popup appears as originating from the system tray. i
don't like this because it then become hard to close it (one could perhaps
suggest clicking on the hide/show arrow, but that means overloading the
purpose of that arrow to mean both "show/hide the hiden icons display" as well
as "hide the display of a popup from the hidden icons"
b) the icon that has the popup shown is migrated to the shown area of the
tray. not great because it means moving the items around in the tray more than
necessary and entries moving all about in the UI. meh.
c) keeping the hidden icons popup shown until the PopupApplet's popup is
hidden. probably best so far as it follows the "least surprise" principle:
nothing you didn't ask for has happened automatically behind your back.
with (c), the question becomes where to position the popup: at the top of the
listing, near the icon, or even to move the icon.
imho what would be optimal is for the popup to appear _to the side_ of the
entry (rather than on top of the entire display of hidden icons) aligned with
the bottom of the icon (or top, if coming from the top of the screen or if
there isn't vertical room due to being in e.g. a vertical panel near the top
of the screen).
iow, much like a traditional popup menu, Q/KMenu-style.
any takers for improving this particular bit of behaviour?
--
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 Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20110727/d487599e/attachment.sig
More information about the Plasma-devel
mailing list