Bug 66733 - add option to show passive popups always in the lower right corner
Summary: add option to show passive popups always in the lower right corner
Status: RESOLVED DUPLICATE of bug 98844
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: knotify (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Carsten Pfeiffer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-28 02:55 UTC by MaxAuthority
Modified: 2005-02-08 18:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
always shows passive popups in a corner (3.06 KB, patch)
2004-05-13 18:17 UTC, MaxAuthority
Details
updated patch for cvs version of 20/07/2004 (3.23 KB, patch)
2004-07-19 23:59 UTC, MaxAuthority
Details
updated patch for current cvs version (as of oct, 1st 2004) (3.18 KB, patch)
2004-10-01 20:17 UTC, MaxAuthority
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***