Bug 401500 - Slightly increase notification pop up's distance from the screen edge
Summary: Slightly increase notification pop up's distance from the screen edge
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.14.4
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2018-11-28 12:27 UTC by apache
Modified: 2019-10-20 17:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.17.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description apache 2018-11-28 12:27:19 UTC
Allow custom position of notification pop-up either by editing configuration files (for example: set position in pixels values: TopRight minus 10 pixels down) or by moving pop-up with mouse (which is the best solution). As far as I remember in Plasma 4 it was possible to move pop-ups with mouse.

Now position is defined as for example as: TopLeft, TopRight, which gives very limited scope of customisation. 

As you can see with my setting it hovers over window title and minimise, close buttons:
https://i.imgur.com/tdL9cmH.png
Comment 1 Nate Graham 2018-11-28 19:42:46 UTC
I have the same problem with my top right positioning (I moved it there because the default bottom left positioning interfered with chat clients).

Having such a granular user interface settings for this is probably overkill though. Instead, let's just adjust the default margin to be a little bit bigger.
Comment 2 Nate Graham 2019-08-19 03:36:02 UTC
Patch: https://phabricator.kde.org/D23253
Comment 3 Nate Graham 2019-08-29 15:38:54 UTC
Git commit cf931ee1b4033dec9812bde1467e1329cd9d8628 by Nate Graham.
Committed on 29/08/2019 at 15:38.
Pushed by ngraham into branch 'master'.

[Notifications] Don't allow popup to obscure things in corners

Summary:
One thing that has been bugging me a bit with notifications is how close the pop-up is
to the screen corners/edges. It's so close that it obscures various things that live very
close to screen edges, such as windows' titlebars and the text input field in chat apps.
The latter case is really annoying in particular because if you have multiple chat apps
running, notifications from the app that's in the background will obscure what you're
typing in the text input field of the foreground chat app.

This patch fixes these types of issues by doing the following:
- Adjusting the popup positioning algorithm make popups that are in a corner equidistant from both adjacent screen edges, rather than only one
- Doubling the defualt distance from the nearest corner/edge

The combination of these changes allows pop-ups to no longer obscure window titlebars
and chat windows' input fields.
FIXED-IN: 5.16.5

Test Plan:
Top corner popup position no longer obscures window titlebar text and buttons: {F7259424}
Bottom corner popup position no longer obscures chat app's text input field: {F7259425}

Reviewers: broulik, #plasma, #vdg

Reviewed By: broulik, #plasma

Subscribers: cblack, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D23253

M  +2    -2    applets/notifications/package/contents/ui/global/Globals.qml

https://commits.kde.org/plasma-workspace/cf931ee1b4033dec9812bde1467e1329cd9d8628
Comment 4 apache 2019-10-20 17:30:35 UTC
I still have it on 5.16.5 
with button size big and window title font size 12.

https://imgur.com/sxyknrV

Operating System: Manjaro Linux 
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.13.1
Kernel Version: 4.19.79-1-MANJARO
OS Type: 64-bit
Comment 5 Nate Graham 2019-10-20 17:47:32 UTC
This change is only in Plasma 5.17, not 5.16.5.