shell icon indicating copy to clipboard operation
shell copied to clipboard

HiDpi problems

Open PoisonousJohn opened this issue 6 years ago • 7 comments

  • Cursor is too small
  • After I trigger bottom left hot corner and select window, it becomes oversized
  • Window header is too small and I almost don't see minimize/close buttons
  • Terminal font is too small (But I guess it's not related to shell)

image

PoisonousJohn avatar Oct 03 '17 05:10 PoisonousJohn

If you are running with xcb the cursor is not rendered by the shell.

plfiorini avatar Oct 03 '17 09:10 plfiorini

@plfiorini ok, but strange thing is that cursors changes its size when it's inside the shell window

PoisonousJohn avatar Oct 03 '17 09:10 PoisonousJohn

Ok, I don't see scaling problems if I launch from GDM. But I see problems when I launch Google Chrome. All interface fonts are blurry and of low quality.

PoisonousJohn avatar Oct 05 '17 13:10 PoisonousJohn

It seems that all Xorg apps have low dpi interface, including icons, fonts, etc.

PoisonousJohn avatar Oct 06 '17 13:10 PoisonousJohn

@PoisonousJohn Cursor size is set to 16x16 (see https://github.com/lirios/shell/blob/develop/src/compositor/main.cpp#L72) which works on kms and I tested it on a macBook 13" too.

However X11 uses the same environment variables, my guess is that the size changes for that reason.

plfiorini avatar Oct 12 '17 20:10 plfiorini

With the last commit on Terminal I've got perfect results in both weston and Liri. Will update packages tomorrow.

plfiorini avatar Oct 12 '17 20:10 plfiorini

Decorations seems fixed too although they screw up badly on maximize, but that might be a QtWayland bug. I need to check what's going on there.

plfiorini avatar Oct 12 '17 20:10 plfiorini