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

Invalid xdg_positioner behavior with chromium wayland #6150

Closed
Akira-uestc opened this issue May 19, 2024 · 1 comment
Closed

Invalid xdg_positioner behavior with chromium wayland #6150

Akira-uestc opened this issue May 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Akira-uestc
Copy link

Hyprland Version

System/Version info
❯ hyprctl systeminfo
Hyprland, built from branch main at commit f8857e6072bd85b95393499688872aaf7f088b5b  (input: find surface pos correctly when mouse drag is active).
Date: Sun May 19 04:20:01 2024
Tag: v0.40.0-113-gf8857e60, commits: 4719

flags: (if any)


System Information:
System name: Linux
Node name: Akira
Release: 6.9.1-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Fri, 17 May 2024 16:56:18 +0000


GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 03) (prog-if 00 [VGA controller])


os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo


plugins:```

</details>

### Bug or Regression?

Bug

### Description

Chrome side bar can only display in the right of  the window,and goes out of screen when chrome maxmize.

commit 0cfdde3 is found using git bisect

`--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --gtk-version=4` is passed to chrome

scale:`monitor=,1920x1080@60,0x0,1.25`

normal case(121d3a7):
![736](https://github.com/hyprwm/Hyprland/assets/124018024/43c7211f-5eee-4f78-ae2b-e0301986a89d)

commits after 0cfdde3:
![647](https://github.com/hyprwm/Hyprland/assets/124018024/194c42b4-609d-489b-92e1-de05519f6295)
![835](https://github.com/hyprwm/Hyprland/assets/124018024/7e798abf-8ef1-44da-917b-99bd8ebfaa55)


### How to reproduce

go to commits after 0cfdde3
launch chrome

### Crash reports, logs, images, videos

_No response_
@Akira-uestc Akira-uestc added the bug Something isn't working label May 19, 2024
@Akira-uestc
Copy link
Author

Sorry description failed to upload:

Chrome side bar can only display in the right of the window,and goes out of screen when chrome maxmize.

commit 0cfdde3 is found using git bisect

--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --gtk-version=4 is passed to chrome

scale:monitor=,1920x1080@60,0x0,1.25

normal case(121d3a7):
736

commits after 0cfdde3:
647
835

Reproduce:
go to commits after 0cfdde3
launch chrome

@vaxerski vaxerski changed the title Chrome side bar goes out of screen Invalid xdg_positioner behavior with chromium wayland May 19, 2024
The-Briel-Deal pushed a commit to The-Briel-Deal/Hyprland that referenced this issue May 25, 2024
if sliding and resizing, include the slide in the resize to avoid off-screen surfaces.

fixes hyprwm#6150
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

1 participant