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]: weird resizing on Wayland/labwc #2045

Open
wastlnd opened this issue Sep 24, 2024 · 9 comments
Open

[Bug]: weird resizing on Wayland/labwc #2045

wastlnd opened this issue Sep 24, 2024 · 9 comments
Labels
bug related to incorrect existing implementation of some functionality display: wayland related to Wayland backend env: xwayland only present when XWayland is used

Comments

@wastlnd
Copy link

wastlnd commented Sep 24, 2024

What happened?

Running labwc, I have the sfwbar as taskbar. When I kill the taskbar the conky window resizes to a small square in the middle of the screen, just showing the top output. The only way to fix this is to set "own_window_type = override", but this means that the output text will overlap with any other window that I will open.

Version

1.21.6

Which OS/distro are you seeing the problem on?

Arch Linux

Conky config

No response

Stack trace

No response

Relevant log output

No response

@wastlnd wastlnd added bug related to incorrect existing implementation of some functionality triage issue that hasn't been verified, categorized or acknowledged yet labels Sep 24, 2024
@Caellian Caellian added this to the Wayland Support milestone Sep 29, 2024
@Caellian Caellian added display: wayland related to Wayland backend and removed triage issue that hasn't been verified, categorized or acknowledged yet labels Sep 29, 2024
@Bluey26
Copy link

Bluey26 commented Oct 11, 2024

Hi, i do not use sfwbar but it also happens when i kill my panel(lxqt-panel).

To fix this, you can kill and re-start conky, i use the following in a .desktop to do it:

Exec=bash -c 'pkill conky && conky &>/dev/null'

I'm in labwc too.

@Consolatis
Copy link

As own_window_type changes the behavior, this is likely an issue with the xwayland implementation in labwc in combination with the X11 backend of conky. So this doesn't look like a conky wayland backend issue.

@Caellian Caellian added the env: xwayland only present when XWayland is used label Nov 22, 2024
@wastlnd
Copy link
Author

wastlnd commented Nov 29, 2024

@Consolatis yet I tried conky on sway and I had a similar issue, the window could not resize itself property.

@Bluey26
Copy link

Bluey26 commented Dec 7, 2024

When using the wayland backend (after #1960 fix), the issue seems to be fixed, no more middle-screen box with conky information when the lxqt-panel is restarted.

@wastlnd
Copy link
Author

wastlnd commented Dec 11, 2024

I updated to the latest commit, now the window is unaffected by the taskbar, but I have a new issue: borders show up though they are disabled, and above all the entries get more and more messy, as if words were overlapping
IMG_20241211_235944_HDR

@Bluey26
Copy link

Bluey26 commented Dec 12, 2024

I suspect that the word overlap is 2 conky instances running at the same time. Try pkill conky && conky

@wastlnd
Copy link
Author

wastlnd commented Dec 12, 2024

@Bluey26 that's what I suspected too but after killing and restarting I get the same behavior. What's really weird is that after a few seconds the issue gets worse, I end up having white bars instead of words.

@Caellian
Copy link
Collaborator

Caellian commented Dec 12, 2024

I updated to the latest commit, now the window is unaffected by the taskbar, but I have a new issue: borders show up though they are disabled, and above all the entries get more and more messy, as if words were overlapping !

Thanks for reporting this, I believe I broke it in #2105 by changing cairo operator. The borders I did notice while developing, but I won't have time to fix it until next week. The borders aren't properly handled, they were hidden previously due to the bug that the PR fixes (as well as non-text graphics).

Changing CAIRO_OPERATOR_CLEAR to CAIRO_OPERATOR_SOURCE will likely fix overdraw.

@wastlnd
Copy link
Author

wastlnd commented Dec 27, 2024

Thanks to you @Caellian , I'll wait for the fix and report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug related to incorrect existing implementation of some functionality display: wayland related to Wayland backend env: xwayland only present when XWayland is used
Projects
None yet
Development

No branches or pull requests

4 participants