cvfosammmm/Setzer

Main menu is cut off

SoongNoonien opened this issue · 6 comments

Hi!

I was just trying out the editor from flathub while I noticed that the main menu is cut off:
Bildschirmfoto vom 2024-03-24 10-42-47

Am I doing something wrong?

I can also reproduce that behaviour on my Fedora 39 Silverblue with Flathub Installation of Setzer

I think that's because the translated text takes up more space than was allocated to the popover.

I'm not sure it seems weird that it's cut off exactly at the window border while popovers are allowed to cross the window borders. Gtk doesn't usually have any problems with showing translated strings even if they are much longer than the original ones.
To me it looks more like the popover is correctly sized but somehow not able to draw outside the borders of the window. I suspect the English original is short enough such that the popover fits entirely inside the border? Note that in the screenshot the rounded border on the right of the popover is missing too.

This is not a Gtk Popover, but my own implementation, and it's not supposed to cross window borders (it's not itself a window).

Ok, now I understand. Does it need to be a custom widget or couldn't you just use a normal gtk popover?

Same issue here, in my case it was because I have Gnome Tweaks installed and changed both the Fonts > Interface Text size, as well as Fonts > Scaling Factor to larger, because my laptop screen is tiny, but with high resolution.

Also setting those back to default, but turning on the regular Accessibility setting for Large Text makes the menu cut off too.