ripose-jp / Memento

An mpv-based video player for studying Japanese
https://ripose-jp.github.io/Memento/
GNU General Public License v2.0
434 stars 21 forks source link

Pop-up dictionary window abnormaly small #187

Open Letiliel opened 7 months ago

Letiliel commented 7 months ago

I installed the Flatpack version on Linux Mint 21.1. Here's what it looks like: Screenshot from 2023-11-25 20-46-35

I can't find any way to resize it, so I assume it's a bug.

ripose-jp commented 7 months ago

What's is your display resolution? What are your DPI scaling settings?

Letiliel commented 7 months ago

Ah that's it indeed! I'm using a 4k res at 175%. If I turn the scaling off, the contents of the pop-up are all there.

ripose-jp commented 7 months ago

That's not surprising, but I'd like to fix this on my end if I can. What video drivers are you using? Nvidia, nouveau, Intel, AMD?

Letiliel commented 7 months ago

It"s the Nvidia drivers. I'd be very grateful if you can fix it, thanks for looking into it!

Letiliel commented 7 months ago

What about just making the pop-up resizable?

ripose-jp commented 7 months ago

The amount of work required to do so isn't something I would describe as "just".

Letiliel commented 7 months ago

:smiling_face_with_tear:

ripose-jp commented 7 months ago

It's a fair feature request, but I'm more interested in fixing this specific bug at the moment.

ripose-jp commented 7 months ago

After some research and testing I've determined that it's like a Cinnamon specific issue. I can't reproduce it with any DPI scaling settings on Plasma or Gnome. I'd recommend doing some research into scaling problems with Qt on Cinnamon and trying some of the suggested solutions. I'll try to spin up a Mint VM sometime, but this is mostly something that isn't easily fixed in code. In all likelihood it's either a flaw in DPI scaling on Cinnamon or a lack of interest in testing with Cinnamon by the Qt developers.

Letiliel commented 7 months ago

Ah well, thank you for trying! Don't bother yourself more with that. I plan to buy a bigger screen soon, I'll take something that doesn't require DPI scaling.