inochi-session icon indicating copy to clipboard operation
inochi-session copied to clipboard

[BUG] UI does not respect system scaling (makes it unusable on high DPI monitor)

Open Phoenix616 opened this issue 1 year ago • 2 comments

Validations

  • [X] I have checked for similar bug reports and could not find any.
  • [X] I have tested and confirmed that this is an issue in an official branded build.

Describe the bug

When running the program on a monitor with a high DPI it will not respect the system UI scaling options so the UI gets displayed really small

image

Reproduction

  1. (Optionally) Get a high DPI monitor
  2. Set system window scaling to some none 100% value (e.g. 150%)
  3. Notice the scale of the UI elements in Inochi Session doesn't change

System Architecture

x86_64

Operating System

Linux

Version

0.8.3

Logs

Nothing special really

Full log
[INFO] Inochi Session v0.8.3, args=[]
[INFO] Lua support initialized. (Statically linked for now)
[INFO] Scanning plugins at /home/themoep/.config/inochi-session/plugins...
[ERR ] webcam: Unexpected end of input when converting from type string to type uint
[INFO] Found zone webcam
[ERR ] Could not start texture sharing, it will be disabled. Is the library missing?
[INFO] Saving Virtual Space...
[INFO] Saving Zone webcam...

Additional Context

Running on Pop!_OS 22.04 LTS with the default Window Manager (so GNOME 42 based).

Ideally it would use the scaling of the system to set the UIScale option.

Phoenix616 avatar Jan 24 '24 21:01 Phoenix616

Just noticed that there is a UIScale option in the settings.json. That at least makes it usable but should probably follow the system UI scale still. Adjusted the issue description accordingly.

Phoenix616 avatar Jan 24 '24 21:01 Phoenix616

Planning to fic with Inochi Session 0.9 with it's UI being entirely rewritten

LunaTheFoxgirl avatar Jan 25 '24 03:01 LunaTheFoxgirl