This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Notification custom position

Tags: None
(comma "," separated)
apache
Registered Member
Posts
302
Karma
0
OS

Notification custom position

Sun Nov 25, 2018 6:01 pm
There is this setting:
https://i.imgur.com/rDzCiJM.png

but what if I want to move notification a few pixels up or down? Is it possible?
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Notification custom position

Mon Nov 26, 2018 7:35 am
apache wrote:There is this setting:
https://i.imgur.com/rDzCiJM.png

but what if I want to move notification a few pixels up or down? Is it possible?


Well ;) the sources are available.

The notification widget is a Qt Quick (https://doc.qt.io/qt-5/qtquick-index.html) application: There are the Qml script part and the C++ plugin part. The notification position is calculated in the C++ plugin.

The KDE is releasing the plasma notification as part of the plasma-workspace (https://cgit.kde.org/plasma-workspace.git/).
Probably this: void NotificationsHelper::repositionPopups() : https://cgit.kde.org/plasma-workspace.g ... r.cpp#n278
apache
Registered Member
Posts
302
Karma
0
OS

Re: Notification custom position

Wed Nov 28, 2018 7:55 pm
Just for reference for those interested, I filed a bug report for this:
Slightly increase notification pop up's distance from the screen edge
https://bugs.kde.org/show_bug.cgi?id=401500


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]