Skip to content

HiDPI Resolution Issues#863

Merged
danthony06 merged 1 commit intoswri-robotics:ros2-develfrom
laelliott:lelliott/fixing-resolution
Dec 18, 2025
Merged

HiDPI Resolution Issues#863
danthony06 merged 1 commit intoswri-robotics:ros2-develfrom
laelliott:lelliott/fixing-resolution

Conversation

@laelliott
Copy link
Contributor

I tend to run on 200% resolution since the way 4k renders on my monitors makes the text too small
Screenshot from 2025-12-15 13-43-13

This results in Mapviz only rendering in the bottom corner
Screenshot from 2025-12-15 13-40-32

It's apparently a known issue when people run monitors with a >100% scaling factor that the QT render only renders in the bottom left corner

https://qt-project.atlassian.net/browse/QTBUG-59956
https://doc.qt.io/archives/qt-5.15/highdpi.html

With the update line it now renders properly. I tested in both 100 and 200% resolution
Screenshot from 2025-12-15 13-39-03

@laelliott
Copy link
Contributor Author

Additionally, I'm working on a port from QGLWidget to QOpenGLWidget to solve more of these compatibility issues here: https://github.com/laelliott/mapviz/tree/lelliott/port-to-widget

@matt-attack
Copy link
Contributor

Additionally, I'm working on a port from QGLWidget to QOpenGLWidget to solve more of these compatibility issues here: https://github.com/laelliott/mapviz/tree/lelliott/port-to-widget

Guess the GL just wasn't open enough.

@danthony06 danthony06 merged commit 6ba353e into swri-robotics:ros2-devel Dec 18, 2025
9 checks passed
danthony06 pushed a commit to danthony06/mapviz that referenced this pull request Jan 13, 2026
Fixes issues related with HiDPI scaling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants