Bug 424489 - systray panels open in wrong corner
Summary: systray panels open in wrong corner
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 5.19.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-20 23:23 UTC by Gabor
Modified: 2020-10-04 12:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
systray wrong corner (deleted)
2020-07-24 08:50 UTC, Gabor
Details
click on kde connect opens in top left (3.71 MB, image/png)
2020-07-24 20:00 UTC, Gabor
Details
systray panel opens in wrong corner (3.71 MB, image/png)
2020-08-14 13:05 UTC, Gabor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor 2020-07-20 23:23:23 UTC
SUMMARY
After latest upgrade:

I have my systray on the top right corner.
When i click on network or bluetooth or anything the panel opens in the top left, when I click other icon it comes to the right place (where it should open) to the right.
So it gets to the right place only when switching and it always opens left.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72
Qt Version: 5.15.0
Comment 1 David Edmundson 2020-07-20 23:47:25 UTC
Can you include some screenshots please.
Comment 2 Nate Graham 2020-07-23 18:52:34 UTC
(screenshots please)
Comment 3 Gabor 2020-07-24 08:50:41 UTC
Created attachment 130360 [details]
systray wrong corner

Maybe the problem is, that I have two panels at the top, I switched from my custom theme so you can see the line on the task switcher's left. The screenshot was taken on dual monitor, but the issue is the same on one display setup (I cropped the left display later because of the attach size limit).
Tried to move the left one, stretch the right to full width, the result is the same.
Comment 4 Gabor 2020-07-24 08:57:12 UTC
Can you please delete the attachment, I accidentally left my ip on the screenshot, and I can't delete it.
Comment 5 Ben Cooksley 2020-07-24 17:53:48 UTC
The content of attachment 130360 [details] has been deleted for the following reason:

Deleted at request of uploader
Comment 6 Gabor 2020-07-24 20:00:23 UTC
Created attachment 130377 [details]
click on kde connect opens in top left
Comment 7 Gabor 2020-07-30 09:54:41 UTC
I just noticed, that my calendar widget (org.kde.plasma.calendar.wl) also opens the calendar on the left, while the clock widget opens on the right place on the right.
Comment 8 Gabor 2020-07-30 10:00:09 UTC
(In reply to Gabor from comment #7)
> I just noticed, that my calendar widget (org.kde.plasma.calendar.wl) also
> opens the calendar on the left, while the clock widget opens on the right
> place on the right.

And now it's not. My widgets are in vertical order but it seems the opening panels try to go from left to right.

And I can't reproduce the state when the clock opened in right.
Comment 9 Bug Janitor Service 2020-08-14 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Gabor 2020-08-14 13:05:12 UTC
Created attachment 130866 [details]
systray panel opens in wrong corner
Comment 11 Christoph Feck 2020-08-26 18:01:22 UTC
New information was added with recent comments; changing status for inspection.
Comment 12 Konrad Materka 2020-10-03 18:31:08 UTC
It is hard to tell what happened, can't reproduce...

Are you using Wayland or X.org?
I see that your desktop is customized, maybe it is a problem with broken configuration? Can you check on fresh user? Just create new user, no need to delete existing configuration.
Comment 13 Gabor 2020-10-04 12:57:18 UTC
I was thinking it will affect more user after that upgrade, but it is obvious now, it was only me. 
I was not able to reproduce it either, with a new user with the same custom panel settings, so I went to my .config dir as you suggested searching for broken config. And I found it.

It turned out, kwinrulesrc had two rules, which I added as a workaround, to achive that newly opened window always open on the primary display. (one rule for all window, and the other for systray panels)
I use a laptop so my display settings changes frequently between dual and single display and I use the external as primary when connected. The workaround worked well before that upgrade.

I hope new kde version handle newly opened window placement better in my case :)

Thanks