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

[Bug]: vscode doesn't scale properly #1926

Open
Zardexd opened this issue Oct 14, 2024 · 6 comments
Open

[Bug]: vscode doesn't scale properly #1926

Zardexd opened this issue Oct 14, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@Zardexd
Copy link

Zardexd commented Oct 14, 2024

Bug Report

Description

Doesn't scale properly on second monitor. It scales the window, not the image of it, so the empty areas are responding to clicks etc.
image

Steps to Reproduce

Go to hyprland.conf, scale down the monitor.

Expected Behavior

Scaling like any other window.

Actual Behavior

Doesn't scale the image.

Environment

image

[Please add any other relevant information about the bug and remove the unnecessary lines.]

e.g.,

  • Linux archlinux 6.11.3-lqx1-1-lqx #1 ZEN SMP PREEMPT Thu, 10 Oct 2024 14:22:48 +0000 x86_64 GNU/Linux
  • Date: Wed Oct 9 12:54:39 2024
    Tag: v0.44.1, commits: 5309 , built against aquamarine 0.4.2```
    
  • Installation Environment: Laptop

In hyprdots.conf

xwayland {
    force_zero_scaling = true
} 

False or True , doesn't affect the outcome.

Might be affected by #1315 , will fix and check soon.

@Zardexd Zardexd added the bug Something isn't working label Oct 14, 2024
@kRHYME7
Copy link
Collaborator

kRHYME7 commented Oct 14, 2024

Send screenshot of vscode after you run this code --ozone-platform=wayland --ozone-platform-hint=auto Note you should kill other vscode instances.

Also check if your vscode is actually running over "xwayland". hyprctl clients vscode should return false under xwayand

image

@Zardexd
Copy link
Author

Zardexd commented Oct 14, 2024

Yea, that was the first thing i wanted to test (the issue mentioned), just a bit in a hurry, i'll check in like 5-10min

@Zardexd
Copy link
Author

Zardexd commented Oct 14, 2024

Send screenshot of vscode after you run this code --ozone-platform=wayland --ozone-platform-hint=auto Note you should kill other vscode instances.

Also check if your vscode is actually running over "xwayland". hyprctl clients vscode should return false under xwayand
image
image

Might be something with the way i configured displays, it's totally normal when i move it to my second display. And honestly can't tell if it's just FullHD on 27 inch display being blurry or something is wrong. Everything seems a little blurry, and its normal again when scaled to 1.

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Oct 14, 2024

I think It's the monitor. Try to reboot first then check.

Check if it's a monitor issue or the specific application.

@Zardexd
Copy link
Author

Zardexd commented Oct 14, 2024

I think It's the monitor. Try to reboot first then check.

No just vscode. Also being blurry only when re-scaled, so for sure not monitor.

Here is my full config.
https://gist.github.com/Zardexd/277b2107fbce3c579e8724398a77e614

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Oct 15, 2024

Try to install hyprland-git and confirm if the issue is not being fixed yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants