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

Menus are too large in 0.3.0 #2737

Open
lnicola opened this issue Nov 1, 2023 · 8 comments
Open

Menus are too large in 0.3.0 #2737

lnicola opened this issue Nov 1, 2023 · 8 comments
Labels
A-ui Area: UI rendering and interactions C-bug Category: bug - something isn't working as it's supposed to

Comments

@lnicola
Copy link
Contributor

lnicola commented Nov 1, 2023

Lapce Version

v0.3.0

System information

Fedora 39

Describe the bug

I'm not using display scaling, but the menus seem a little too large:

Additional information

image

Different app, for comparison:

image

@lnicola lnicola added the C-bug Category: bug - something isn't working as it's supposed to label Nov 1, 2023
@lnicola lnicola changed the title Menu fonts are too large in 0.3.0 Menus are too large in 0.3.0 Nov 1, 2023
@Mforcen

This comment was marked as off-topic.

@lnicola

This comment was marked as off-topic.

@Mforcen

This comment was marked as off-topic.

@oleole39
Copy link

oleole39 commented Apr 8, 2024

Same issue on Linux Mint 21 Cinnamon with Lapce 0.3.1 (Flatpak version).

  • Also I did not manage to the the font sizes in the settings (both for UI & Editor, values were not saved, simply clicking on any other settings' section would reset the default value, and UI was never taking those new font size settings into account).
  • Installing Lapce nightly release (cb968ab, jammy-ubuntu version) I managed to reduce the font sizes to 8 from the default size of 13, making Lapce usage comfortable enough on my setup. Only the drop-down menus remain oversized.
  • However, a few minutes after, with the same nighly version (only restarting Lapce in between), I can't manage to save new font size values anymore. It is a bit different though: values appear to be saved when clicking to another settings section. But they are not taken into account by the UI, and closing the settings panel and opening it again shows they are back to the previous default I was able to change in still mysterious circumstances (font-size = 8).

@dpcat237

This comment was marked as duplicate.

@panekj
Copy link
Collaborator

panekj commented Apr 26, 2024

It wasn't fixed

@dzhou121
Copy link
Collaborator

dzhou121 commented Apr 26, 2024

The issue is because the context menu under Linux is "manually" drawn in Floem which has a fixed font size right now.

The fix would be passing the UI font size in Lapce to Floem and Floem draw the context menu with that font size.

@RustoMCSpit
Copy link

related to #3212

i think making them slightly transparent will also help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ui Area: UI rendering and interactions C-bug Category: bug - something isn't working as it's supposed to
Projects
None yet
Development

No branches or pull requests

8 participants