Bug 435040 - Sometimes KRunner launches at top left edge instead of specified location (center or top)
Summary: Sometimes KRunner launches at top left edge instead of specified location (ce...
Status: RESOLVED WORKSFORME
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.23.90
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-28 00:36 UTC by Felipe Kinoshita
Modified: 2023-12-08 15:59 UTC (History)
4 users (show)

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


Attachments
image showing observed result (2.48 MB, image/png)
2021-03-28 00:36 UTC, Felipe Kinoshita
Details
Updates list from APT history (34.26 KB, text/plain)
2023-12-08 09:54 UTC, Félim Whiteley
Details
APT update that fixed the issue (21.52 KB, text/plain)
2023-12-08 15:45 UTC, Félim Whiteley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felipe Kinoshita 2021-03-28 00:36:16 UTC
Created attachment 137117 [details]
image showing observed result

Sometimes (not common but not rare) KRunner launches at the top left edge instead of specified location (center or top).

STEPS TO REPRODUCE
1. Launch KRunner as usual.

OBSERVED RESULT
KRunner launches at top left edge.

EXPECTED RESULT
KRunner should only launches at center or top.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-03-31 04:24:59 UTC
I have very occasionally seen this myself, but have not figured out how to reproduce it.

Are you using display scaling at all? If so, do you have the PLASMA_USE_QT_SCALING environment variable manually set to 1?
Comment 2 Felipe Kinoshita 2021-03-31 12:30:00 UTC
I'm not using any type of display scaling.
Comment 3 Nate Graham 2021-03-31 14:10:42 UTC
OK thanks.
Comment 4 Alexander Lohnau 2021-05-21 10:42:20 UTC
I can reproduce this very rarely, it only happens once every few days.
Comment 5 Fabian Vogt 2022-01-20 12:21:55 UTC
The issue is still present in 5.23.90:
https://openqa.opensuse.org/tests/2147526#step/updates_packagekit_kde/27

In openQA it happens more frequently, I'd say about once every two test runs.
Comment 6 Alexander Lohnau 2022-01-20 13:39:25 UTC
Maybe Plasma gives a wrong value for the "availableScreenRect"? If a DBus error occurs, we fall back to "shownOnScreen->availableGeometry();"

Are there useful logs for the plasmashell Process, which indicate that sth. is wrong?
Comment 7 Félim Whiteley 2023-12-08 09:54:44 UTC Comment hidden (spam)
Comment 8 Félim Whiteley 2023-12-08 09:57:21 UTC Comment hidden (spam)
Comment 9 Félim Whiteley 2023-12-08 14:47:03 UTC Comment hidden (spam)
Comment 10 Félim Whiteley 2023-12-08 15:41:13 UTC Comment hidden (spam)
Comment 11 Félim Whiteley 2023-12-08 15:45:17 UTC Comment hidden (spam)
Comment 12 Nate Graham 2023-12-08 15:48:17 UTC Comment hidden (spam)
Comment 13 Nate Graham 2023-12-08 15:49:54 UTC
Fabian or Felipe, are either of you (or your openQA system) still able to reproduce this in Plasma 6?
Comment 14 Fabian Vogt 2023-12-08 15:56:24 UTC
(In reply to Nate Graham from comment #13)
> Fabian or Felipe, are either of you (or your openQA system) still able to
> reproduce this in Plasma 6?

I haven't seen it recently, but I can't tell for sure as openQA works around this automatically when it happens. Some cherry picked test runs didn't show the issue at least.

Closing as WORKSFORME (for now).
Comment 15 Nate Graham 2023-12-08 15:59:21 UTC
Thanks a lot for checking!