ArduPilot / ArduPilot/MethodicConfigurator

Vehicle template selection does not render correctly on linux HiDPI displays when not using a uv created venv

Open
#544 22 comments 0 reactions 1 assignee Claimed by @amilcarlucas View on GitHub
Dominant language
Python
Stars
157
Forks
71
Avg merge
21h 26m
Merged PRs (30d)
55

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Description of the bug

My monitor is 4K, with 3840x2160 resolution. I use 200% scaling in Cinnamon (so Linux Mint users with HiDPI monitors will likely also be affected). GUI doesn't render fonts in some selector windows correctly.

### Steps To Reproduce

1. Buy 4K monitor
2. Set HiDPI/scaling to suit the tiny pixels and make everything readable and pretty
3. Run `ardupilot_methodic_configurator`
4. Click "Skip FC connection.."
5. Click selector under "Source Template directory:"
6. Observe incorrectly spaced text and obscured text

If I set display scaling back to 100% (which makes everything look tiny), then that selector renders correctly.

### Expected behavior

Ideally `ardupilot_methodic_configurator` would play nice with HiDPI/Scaled displays. I realise this may not be easy with the chosen GUI software.

### Screenshots / Logs

Fonts in the template selection screen look like this:

![Image](https://github.com/user-attachments/assets/f024981d-fe31-4765-a439-5b55ba3652bb)

### Software information

- Operating system: Debian GNU/Linux 12 (bookworm) x86_64 with Cinnamon desktop environment
- arduPilot Methodic Configuration version: 1.4.8

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.