Bug 482666 - KRunner not horizontally centered on X11
Summary: KRunner not horizontally centered on X11
Status: RESOLVED DOWNSTREAM
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-07 09:06 UTC by András Manţia
Modified: 2024-03-10 20:19 UTC (History)
4 users (show)

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


Attachments
KRunner on Top (2.05 MB, image/png)
2024-03-08 09:55 UTC, András Manţia
Details
Krunner in Center (2.04 MB, image/png)
2024-03-08 09:56 UTC, András Manţia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description András Manţia 2024-03-07 09:06:17 UTC
SUMMARY
Alt-F2 shows Krunner slightly to the left on the top and even if moved to the middle the position is not remembered.

STEPS TO REPRODUCE
1.  Alt-F2
2.  See screenshot: it is not in the middle of the screen
3.  Move with Alt+drag 
4. Close
5. Open again: it is in the same position as in 2.
Comment 1 Nate Graham 2024-03-07 19:42:44 UTC
KRunner's window isn't designed to be moved like that. You can do it, but as you've discovered it's not guaranteed to work the way you expect. If you'd like it to be free-floating, there's a supported option for that in KRunner's config window.
Comment 2 András Manţia 2024-03-08 08:01:35 UTC
The main bug is that it doesn't appear in the middle as it used to.
Comment 3 András Manţia 2024-03-08 08:03:54 UTC
By testing more:
- if set to appear on Top, it appears as in my screenshot. On top, but not horizontally centered
- if set to appear in the Center it appears somewhere on the screen, definitely not in the center.
Comment 4 Marco Martin 2024-03-08 09:49:12 UTC
(In reply to András Manţia from comment #3)
> By testing more:
> - if set to appear on Top, it appears as in my screenshot. On top, but not
> horizontally centered

can you attache the screenshot?
Comment 5 Marco Martin 2024-03-08 09:50:17 UTC
so, there are 2 things here:

* not remembering the position if dragged: as said by Nate, this is not supported by purpose
* not appearing exactly at the center: this is indeed a valid bug
Comment 6 András Manţia 2024-03-08 09:55:32 UTC
Created attachment 166693 [details]
KRunner on Top
Comment 7 András Manţia 2024-03-08 09:56:16 UTC
Created attachment 166694 [details]
Krunner in Center
Comment 8 András Manţia 2024-03-08 09:58:28 UTC
I use 3 monitors with X11, scaling is 150%. The relative position is the same on all screens.
Comment 9 Nate Graham 2024-03-08 21:12:48 UTC
Ok, yeah, this is an X11-only bug. Does it happen for you with only one screen?
Comment 10 Nate Graham 2024-03-10 20:00:55 UTC
Did I understand you in the other bug report that you managed to fix this by removing some obsolete packages?
Comment 11 András Manţia 2024-03-10 20:17:09 UTC
Exactly. I removed kcmutils-imports, kcmutils-devel and after restarting krunner it appears where it should.
Comment 12 Nate Graham 2024-03-10 20:19:47 UTC
Great!