How to stop edge of Plasma::Dialog to Change

Aaron J. Seigo aseigo at kde.org
Fri Jul 22 12:39:47 UTC 2011


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
-------------- 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/20110722/55327742/attachment.sig 


More information about the Plasma-devel mailing list