Bug 443492 - Krunner and panel editing tool are not centered on the screen
Summary: Krunner and panel editing tool are not centered on the screen
Status: RESOLVED NOT A BUG
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-08 18:56 UTC by Kalzi
Modified: 2021-10-18 03:20 UTC (History)
2 users (show)

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


Attachments
Krunner not centered to the screen (3.11 MB, image/png)
2021-10-08 18:56 UTC, Kalzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kalzi 2021-10-08 18:56:52 UTC
Created attachment 142260 [details]
Krunner not centered to the screen

SUMMARY
Krunner and panel editing tool are not centered on the screen. Krunner has only two settings, "top" and "center", and they both only move it vertically to the top or the middle of the screen, nothing horizontal.

STEPS TO REPRODUCE
1. Open Krunner or right click on the panel and click "edit panel", you will see that both krunner and the editing tool on the top sit to the right of the screen, not centered
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT
Both Krunner and panel editing tool should be center to the window when invoked

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon User Edition
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
I do have PLASMA_USE_QT_SCALING=1 enabled because I have a 4k screen, and without that line, things would look out of place. Especially menus icons and the panel. The panel would be too small that I have to scale it to 114 to have it a nice size.
Comment 1 Nate Graham 2021-10-18 01:48:31 UTC
Does it work in the Plasma Wayland session?

Also, does it work on either X11 or Wayland in Plasma 5.23?
Comment 2 Kalzi 2021-10-18 03:04:26 UTC
(In reply to Nate Graham from comment #1)
> Does it work in the Plasma Wayland session?
> 
> Also, does it work on either X11 or Wayland in Plasma 5.23?

I have found out why it was happening. I had my resolution set to 1800 instead of 2160. There is only one resolution on wayland, so I couldn't tell you. I still think krunner and the panel editing menu should adjust based on the resolution of the screen.
Comment 3 Nate Graham 2021-10-18 03:05:48 UTC
It does, but you'll only get the right visual results if the resolution you choose matches the physical resolution of the screen. :)
Comment 4 Kalzi 2021-10-18 03:12:17 UTC
(In reply to Nate Graham from comment #3)
> It does, but you'll only get the right visual results if the resolution you
> choose matches the physical resolution of the screen. :)

Well, then we have no beef. lol
I am back to 4k resolution after your recommendation, and you were right, the battery life is the same. Thank you
Comment 5 Nate Graham 2021-10-18 03:20:33 UTC
You're welcome!