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

Various Resize/DPI improvements with the user interface and the cursor #110

Open
ehfd opened this issue Oct 12, 2023 · 6 comments
Open

Various Resize/DPI improvements with the user interface and the cursor #110

ehfd opened this issue Oct 12, 2023 · 6 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request help wanted External contribution is required interface OS input, display, or audio interfaces web Web components including gst-web

Comments

@ehfd
Copy link
Member

ehfd commented Oct 12, 2023

  • When the size of the screen gets resized to become larger than what we traditionally worked with (over QHD/4K), the DPI behavior of desktop environments becomes strange, where the interfaces become much smaller than comfort and only applications are in the intended size.

Example (from #99):
image

While this issue is, of course, a problem with the DPI scaling of the Xfce desktop environment, we would still need to identify closely how the interface can be made better in higher resolutions.

  • While dynamic cursor size has been implemented earlier on, we frequently see issues where the client cursor shows the intended cursor size, but when remote cursor mode is activated using full screen or Ctrl+Shift+LeftClick, the cursor size becomes much smaller. This means that the remote host is not honoring the cursor size that we want.

image

The remote cursor size is about 1.5 to 2 times smaller than the client cursor.

Moreover, we need to also consider resolution scaling when Scale to fit window is used.

Need to investigate both Selkies and the desktop environments (KDE, Xfce).

@ehfd ehfd added bug Something isn't working enhancement New feature or request interface OS input, display, or audio interfaces labels Oct 12, 2023
@ehfd ehfd assigned danisla and ehfd Oct 12, 2023
@ehfd ehfd added the web Web components including gst-web label Oct 12, 2023
@PMohanJ
Copy link
Contributor

PMohanJ commented Nov 10, 2023

According to the https://wiki.archlinux.org/title/HiDPI#Xfce, by setting up the following two properties and leaving the DPI to default value(96) seems to set everything to their aspect ratios except the window title

$ xfconf-query -c xsettings -p /Gdk/WindowScalingFactor -s 2
$ xfconf-query -c xfwm4 -p /general/theme -s Default-xhdpi

Screenshot 2023-11-10 at 9 58 56 AM

@ehfd ehfd added the help wanted External contribution is required label Nov 10, 2023
@ehfd
Copy link
Member Author

ehfd commented Jan 1, 2024

This needs to be done on a case-by-case basis per desktop environment. https://wiki.archlinux.org/title/HiDPI explains a lot.

Similar phenomenon with the tray exists in KDE as well.

@ehfd
Copy link
Member Author

ehfd commented Jan 6, 2024

@ehfd ehfd mentioned this issue Mar 24, 2024
26 tasks
@ehfd
Copy link
Member Author

ehfd commented Apr 11, 2024

It's pretty okay in Xfce nowadays in main.

@ehfd ehfd removed the bug Something isn't working label Apr 11, 2024
@ehfd ehfd changed the title Various Resize/DPI issues with the user interface and the cursor while resizing the display Various Resize/DPI improvements with the user interface and the cursor Apr 11, 2024
@ehfd ehfd added the bug Something isn't working label Apr 17, 2024
@ehfd
Copy link
Member Author

ehfd commented Apr 17, 2024

Strange cursor size issue was fixed in #142. DPI issue is yet to go.

@ehfd
Copy link
Member Author

ehfd commented Apr 26, 2024

XDummy might be a solution to this problem.

https://github.com/Xpra-org/xpra/blob/master/docs/Usage/Xdummy.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted External contribution is required interface OS input, display, or audio interfaces web Web components including gst-web
Projects
None yet
Development

No branches or pull requests

3 participants