Bug 66733

Summary: add option to show passive popups always in the lower right corner
Product: [Unmaintained] kdelibs Reporter: MaxAuthority <stubenschrott>
Component: knotifyAssignee: Carsten Pfeiffer <pfeiffer>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: always shows passive popups in a corner
updated patch for cvs version of 20/07/2004
updated patch for current cvs version (as of oct, 1st 2004)

Description MaxAuthority 2003-10-28 02:55:16 UTC
Version:           unknown (using KDE 3.1.92 (CVS >= 20031019), Gentoo)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
OS:          Linux (i686) release 2.6.0-test8

I really love the idea of passive popups, but they keep poping out next to the window, they were sent from, which looks very bad I think (espepcially if you are on another workspace and don't see the source window).

Therefore my suggestion to pop them out relative to the lower right corner (or another corner, maybe configurable). And if there comes out another popup simulatneously, just show it above the first one (Like Windows Longhorn, or popups from the miranda instant messenger for windows).
This way it looks much better and is not so "disturbing".

Here is a mockup of what I mean (hopefully the ascii art is not mixed up by the html formatting):
____________________
|                                |
|                                |
|                                |
|                                |
|                  -----------|
|                  | popup2 | 
|                  -----------|
|                  | popup1 |
---------------------------
Comment 1 MaxAuthority 2003-10-28 02:58:21 UTC
Unfortunately, the ascii art was mixed up by the html formatting :(

I hope it is clear what I mean, otherwise please ask.
BTW: I mean they should popup to the lower right corner of the screen, not the source application.
Comment 2 MaxAuthority 2004-05-13 18:17:00 UTC
Created attachment 5980 [details]
always shows passive popups in a corner

Finally, the positioning of passive popups annoyed me so much, that I made a
quick patch for it.
It scans the ~/.kde/share/config/knotifyrc file for the "AlignInCorner" string
in the "[Misc]" section, and if present always moves the passive popup in the
user defined corner (TopLeft, TopRight, BottomLeft or BottomRight).

Currently the popups cover the taskbar since the "WorkArea" function of
NETRootInfo did not work as expected.
Also my proposed feature of stacking multiple popups is not implemented yet,
since it would require deeper changes in the knotifyclient code I think to keep
track of instances.

My patch patches only the kdelibs/kdeui/kpassivepopup.cpp file, and please bear
in mind, that this is my first patch, so there may be some errors, but I hope
that it get's accepted anyway.
I didn't write a GUI to configure this setting yet, since I don't know if the
patch gets accepted, but if it does, I could to that as well, if you wish.
Comment 3 MaxAuthority 2004-07-19 23:59:13 UTC
Created attachment 6742 [details]
updated patch for cvs version of 20/07/2004

now works without problems with current cvs version.
Also now followed the correct style for patches as of:
http://dot.kde.org/994996315/994997805/995039283/
Comment 4 MaxAuthority 2004-10-01 20:17:23 UTC
Created attachment 7749 [details]
updated patch for current cvs version (as of oct, 1st 2004)
Comment 5 Andreas Schallenberg 2005-02-08 17:02:32 UTC
Related to wish #98844
Comment 6 Waldo Bastian 2005-02-08 18:28:21 UTC

*** This bug has been marked as a duplicate of 98844 ***