The system activity manager opens partially off-screen. I have a multi-monitor setup with 3 screens. The two left and right screens are smaller and centered off the middle screen. The default screen is the middle screen. The system activity manager opens partially visible on the left screen. After it is moved and closed, it does not remember the previous position (and kwin rules to that affect do not work).
Steps to Reproduce:
1. Open System Activity
Displays partially off-screen
Should display completely on-screen
This installation is upgraded from KDE4.
Gentoo, Plasma 5.8.3
I have a dual screen setup, systemmonitor always opens up on a secondary screen, seems to be related bug?
In my case offending line is geometry setting in KSystemActivityDialog::slotInit that disregards that geometry can have x1,y1 > 0 for multi screen setups
Still happens in 5.7.5, QT 5.6.1.
Still happening on Plasma 5.8.4, QT 5.6.2.
(In reply to Valeriy Malov from comment #1)
> I have a dual screen setup, systemmonitor always opens up on a secondary
> screen, seems to be related bug?
I think it is the same issue. If the screen opened on my main center monitor, it would be the correct size and position within that monitor. However, it opens on the wrong monitor.
It seems as if KDE is using the correct monitor to calculate the window's size and x,y position (relative to that monitor), but then actually placing the window on the wrong monitor.
Please also run "xprop" from a terminal and click on the window.
Then reset the bug status to unconfirmed.
Created attachment 102735 [details]
Screenshot of window just after it opens via ksnapshot. Note its location on the left monitor, which is smaller than the center and right monitors.
Created attachment 102736 [details]
Output of xprop
Output of xprop attached.
Git commit ad5b9e98b1f255a83d04dfb5dbc8b31d32e91d53 by Valeriy Malov.
Committed on 11/03/2018 at 14:36.
Pushed by valeriymalov into branch 'master'.
Center systemmonitor window properly on multi-screen setup
Do not force geometry or window hints when opening systemmonitor
This should let it position properly on a multi-monitor setup and reduce interference with user-set KWin preferences
Related: bug 368158
Reviewers: #plasma_workspaces, aacid, mart
Reviewed By: mart
Subscribers: davidedmundson, sebas, aacid, graesslin, plasma-devel
Differential Revision: https://phabricator.kde.org/D3484
M +8 -42 systemmonitor/ksystemactivitydialog.cpp
M +2 -3 systemmonitor/ksystemactivitydialog.h