[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: How to stop edge of Plasma::Dialog to Change
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2011-07-22 12:39:47
Message-ID: 3168130.8OcSdfO5mI () freedom
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Friday, July 22, 2011 18:04:19 Weng Xuetian wrote:
> Hi Plasma world,
> Plasma dialog will be extend to the edge of panel or screen, this is a
> good feature for popup window. But not suitable for my case. Is there
> any way to stop this?
no.
if you are wondering why, the reason is simple: consistency and API
simplicity.
every time we give developers the ability to choose such behaviour, the
decison made will be a poor decision for a significant % of the cases and the
user suffers with a less consistent experience. which usually results in us
getting bug reports ;)
> Currently I need a window themed by plasma and keep it on the top of
> screen, Plasma::Dialog seems to be suitable with some window attribute
> set, in spite of the edge changing, because this window will move and
> resize frequently. Or should I use some other class?
may i ask why the screen-edge hugging is a bad thing for your use case? or,
one step back from that, what is your exact use case?
--
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
["signature.asc" (application/pgp-signature)]
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic