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

Desktop scaling only scales visual size, not physical size of GUI elements #9238

Closed
1 task done
rgambord opened this issue May 17, 2024 · 2 comments
Closed
1 task done
Labels
bug desktop Desktop Application upstream An issue with a dependency that needs to get addressed upstream

Comments

@rgambord
Copy link

Steps To Reproduce

Set desktop scaling to something other than 100% and run the bitwarden desktop client

Expected Result

GUI elements scale visually and physically

Actual Result

GUI elements visually scale, but element positioning and mouse events are based on unscaled sizes.

Screenshots or Videos

bug.mp4

Additional Context

In the example video, desktop scaling is set to 80% on KDE 6.0.4-1.

Operating System

Linux

Operating System Version

6.8.9-arch1-2

Installation method

Other

Build Version

2024.4.3

Issue Tracking Info

  • I understand that work is tracked outside of GitHub. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@rgambord rgambord added bug desktop Desktop Application labels May 17, 2024
@Greenderella
Copy link
Member

Hi there,

I attempted to reproduce your issue and was unable to do so. In order to scale the GUI elements, you must use the "Zoom in" and "Zoom out" options from the View tab (or the corresponding shortcuts):

image

We use GitHub issues as a place to track bugs and other development related issues. If your issue persists, please write us back using our “Contact support” form located on our Help Center (https://bitwarden.com/help/).

You can include a link to this issue in the message content.

Alternatively, you can also search for an answer in our help documentation or get help from other Bitwarden users on our community forums (https://community.bitwarden.com/c/support/).

The issue here will be closed.

Thanks!

@Greenderella Greenderella closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2024
@rgambord
Copy link
Author

rgambord commented May 29, 2024

I think there is a misunderstanding here. The issue is with how BitWarden scales its GUI elements when the desktop scaling for a display manager is not set to 100% (for example, HiDPI screens). The elements are visually scaled to match the desktop's scaling settings, but the Bitwarden app is positioning them and registering mouse events based on their original, unscaled sizes.

Perhaps this issue is specific to Wayland, not X11?

Edit: Appears to be an electron issue. Related: electron/electron#42200

@djsmith85 djsmith85 added the upstream An issue with a dependency that needs to get addressed upstream label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug desktop Desktop Application upstream An issue with a dependency that needs to get addressed upstream
Projects
None yet
Development

No branches or pull requests

3 participants