wojtryb / Shortcut-Composer

Krita plugin for creating complex keyboard shortcuts
GNU General Public License v3.0
261 stars 9 forks source link

Pie menu sliding away during editing #51

Closed tcql closed 1 year ago

tcql commented 1 year ago

General info

Bug description When working on my tablet display, if I try to edit pie menu items, the pie... uhh... runs away? when an item is hovered over it.

I'm attaching a quick video:

https://github.com/wojtryb/Shortcut-Composer/assets/348805/2d4437c3-241d-4a82-b4d2-239f08af2276

Other relevant info: my tablet is a Huion Kamvas Pro 13. I originally had it set up as a separate display, when this behavior was observed. If I clone my primary monitor so the tablet and monitor are mirroring eachother, the behavior no longer occurs.

wojtryb commented 1 year ago

Hi, thank you for reporting!

The bug is very likely related to the multi display setup. I admit that the plugin was never tested with more than one monitor.

I'll try to recreate this setup, but can't really guarantee I'll be able to trace it and fix it.

Things I'd like to know:

Also - I see another multi display related bug here - the labels in ScrollArea are too small - as if the settings were displayed in the other screen (which I assume - has a different resolution)

tcql commented 1 year ago

@wojtryb Sorry for the delay responding. The issue does still occur in 5.2, but I found the cause!

All my monitors / tablet display are the same resolution (1920x1080) but since the tablet is a smaller physical size, Windows automatically applied scaling so text would be less tiny

image

If I set scaling to 100%, the pie menus don't slide away, however the app text and UI elements are quite small so it would be nice if there's a way for the plugin to work still even with scaling applied. Even if there isn't a reasonable fix for this, thanks for the plugin and for looking at this 🙇

wojtryb commented 1 year ago

I'm glad you found the cause.

Sadly it's not much I can do about that. If it is a bug in Qt which krita uses to display windows - let's hope it gets fixed someday. I won't be able to work around it.

wojtryb commented 10 months ago

It looks like I accidentally found a workaround for this issue while working on another bug. Please update to 1.4.2