20
849
Fork
You've already forked fuzzel
83

--anchor=center doesn't work on KWin #330

Closed
opened 2024年04月15日 11:50:07 +02:00 by adamantgarth · 3 comments

Launching fuzzel 1.10.1 (or 1.10.0) on KWin 6.0.3 with an --anchor=center flag or without any flags makes the window pop up in the top left corner of the screen. Every other --anchor value works as expected, .e.g. with --anchor=bottom the window pops up in the bottom-center of the screen.

I'm not sure if this is a KWin bug or a fuzzel bug, because on Sway --anchor=center works as expected, but on the other hand fuzzel 1.9 opens in the center on KWin, so the compositor can do it.

Steps to reproduce:
Launch fuzzel --anchor=center on KWin

What hapens:
fuzzel window pops up in the top left corner of the screen

What I expected:
fuzzel window pops up in the center of the screen

Launching fuzzel `1.10.1` (or `1.10.0`) on KWin `6.0.3` with an `--anchor=center` flag or without any flags makes the window pop up in the top left corner of the screen. Every other `--anchor` value works as expected, .e.g. with `--anchor=bottom` the window pops up in the bottom-center of the screen. I'm not sure if this is a KWin bug or a fuzzel bug, because on Sway `--anchor=center` works as expected, but on the other hand fuzzel `1.9` opens in the center on KWin, so the compositor can do it. **Steps to reproduce**: Launch `fuzzel --anchor=center` on KWin **What hapens**: fuzzel window pops up in the top left corner of the screen **What I expected**: fuzzel window pops up in the center of the screen
Owner
Copy link

I believe this should be treated as a fuzzel bug. According to the layer shell specification, an application should set the anchor points to "none" (I.e the value 0) to center the surface.

We're currently setting all anchor points when (trying to) center it.

I believe this should be treated as a fuzzel bug. According to the layer shell specification, an application should set the anchor points to "none" (I.e the value `0`) to center the surface. We're currently setting **all** anchor points when (trying to) center it.
Owner
Copy link

#332 should fix this.

https://codeberg.org/dnkl/fuzzel/pulls/332 should fix this.

It does, thanks!

It does, thanks!
Sign in to join this conversation.
No Branch/Tag specified
master
gnome-support
releases/1.14
issue-319-window-switching
issue-561-nord-theme-only
resvg-filtering-take-2
resvg-filtering
releases/1.13
rehanzo-dont-ignore-execute-648
keybinds-overwrite
issue-561-refresh-theme
ci-automated-testing
reenable-legacy-icons
releases/1.12
test-coverage-for-fzf-caching
releases/1.11
releases/1.10
releases/1.9
releases/1.8
releases/1.7
releases/1.6
releases/1.5
releases/1.4
releases/1.3
releases/1.2
releases/1.1
releases/1.0
1.14.1
1.14.0
1.13.1
1.13.0
1.12.0
1.11.1
1.11.0
1.10.2
1.10.1
1.10.0
1.9.2
1.9.1
1.9.0
1.8.2
1.8.1
1.8.0
1.7.0
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.1.0
1.0.1
1.0.0
0.9.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dnkl/fuzzel#330
Reference in a new issue
dnkl/fuzzel
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?