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

Discord and Steam only receive mouse inputs below the bottom third of monitor #391

Open
EpyonProjects opened this issue Jun 10, 2024 · 4 comments

Comments

@EpyonProjects
Copy link

EpyonProjects commented Jun 10, 2024

No other applications has this issue, it's just Discord.
Steam also has this issue

PXL_20240610_181348947.mp4

I had an issue prior with Discord's content (minus title bar) disappearing when scrolling, but was told to get popdev:master, which fixed that.

Hardware:
OS: Pop!_OS 22.04
CPU: Intel i7-12700K
GPU: MSI RTX 3080 12G
GPU driver: popdev:nvidia-555
Ram: 32 GB
Motherboard(?): ASUS TUF Gaming Z690-PLUS WIFI

@wiiznokes
Copy link
Contributor

probably the same of pop-os/cosmic-comp#397

@EpyonProjects EpyonProjects changed the title Discord only receives mouse inputs below the bottom third of monitor Discord and Steam only receive mouse inputs below the bottom third of monitor Jun 10, 2024
@Drakulix
Copy link
Member

You're output is at a negative position, I am pretty sure Xwayland doesn't support that.

Given the coordinate is -1080 on the y-axis and your resolution has 1440 pixels, that matches roughtly the lower third of the display.

We should sanitize positions in cosmic-comp to always start at (0, 0) and offset configurations automatically that extend into negative space. Thanks for the video, I am not sure I would've catched that detail otherwise!

@EpyonProjects
Copy link
Author

PXL_20240620_152947349.mp4

Following up, this is the screen configuration, where I'm looking at my 1080p monitor and the displays are bottom aligned. I was seeing an issue where I couldn't touch anything on Discord when they were top aligned, so the negative offset sounds accurate!

@EpyonProjects
Copy link
Author

Additional information, this is what the X server sees for these two configurations
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants