Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu bug #944

Closed
LedAlex opened this issue Nov 6, 2020 · 6 comments
Closed

Menu bug #944

LedAlex opened this issue Nov 6, 2020 · 6 comments
Labels
Milestone

Comments

@LedAlex
Copy link

LedAlex commented Nov 6, 2020

Shotcut version 20.10.31 Windows

With two monitors which have different DPI and scale some menus have monster size of elements.
2020-11-06 0002+

@ddennedy
Copy link
Member

ddennedy commented Nov 6, 2020

OK, this seems related to what is being reported on the forum:
https://forum.shotcut.org/t/ver-20-10-31-right-click-mouse-menu-not-working/22275/21

https://forum.shotcut.org/t/display-a-menu-of-additional-actions-doesnt-open/22314

@LedAlex
Copy link
Author

LedAlex commented Nov 6, 2020

I know that I can move application on other monitor and everything will be fine. (See attached screen)
The problem is that one monitor 2K and the other 1280x1024.
I can't make same scale (or change) on them, that leads to unreadable fonts on one of them. Too small on one or too big on other.
In previous versions of Shotcut everything was fine on any monitor at any scale.
2020-11-06 0003

@LedAlex
Copy link
Author

LedAlex commented Nov 6, 2020

Shotcut version 20.09.27.
I can drag it from one monitor to other as I want.
2020-11-06 0007

@ddennedy
Copy link
Member

ddennedy commented Nov 6, 2020

This is related to a change in Qt, which we are required to upgrade. I think it may be due to QT_SCALE_FACTOR_ROUNDING_POLICY added recently as documented here. I will do some experiments with multiple monitors and this option. Qt does not very well support fractional scaling (125, 150, or 175) on Windows, and its default is Round.

@LedAlex
Copy link
Author

LedAlex commented Nov 6, 2020

I thought so, about QT. Now in my situation it definitely takes scale 200% for menu from 2K monitor, which is primary.

@ddennedy
Copy link
Member

The menus were rewritten in b755e9e to use a new API as they were using old, deprecated API to fix the menu opening bug in forum links above. It fixes this issue too (but not when using 150% with RoundPreferFloor policy, which is not fixable).

@ddennedy ddennedy added this to the v20.11 milestone Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants