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
Lxqt-Panel hiding is broken with i3 #4529
Comments
This comment has been minimized.
This comment has been minimized.
Are logs really necessary in this case? |
I don't see why not. They'll provide information on the exact sequence of events and what the client (and i3) is doing. For the record, the statement by the devs is of course somewhat ridiculous — i3 also has no code specific for lxqt-panel, that doesn't mean that it's clearly not i3's fault. It's not like toolkits like Qt never have had any bugs, and the X world is a bit more complicated than that, for example window managers aren't required to support all protocols. The bottom line is that we need to know what exactly the client is wanting to do here on X level and what state it is in at that point. For example, what exactly does "hiding" here mean: unmapping the window? Logs are one way of doing that. |
That said, this is likely a duplicate of #4153, but we'll treat them as separate until that is proven. |
Ok. |
Done! |
Since this file spans 12 minutes and 35,000+ lines, can you either generate one with a minimal amount of runtime and/or annotate timestamps of when you did what (specifically the timestamp at which the panel is hidden)? That would help identifying the relevant parts. I'm also seeing some messages for unknown atoms from lxqt-panel, your output of |
Done! |
Here is the output of xlsatoms: |
Thanks! I don't see any requests made by the client that would make me believe any space should be free'd up, it just requests to be reconfigured to the same geometry several times (each time on the bottom with a height of 32px). The requests with unknown atoms are for If I had to guess I would say that lxqt-panel is probably using Whether the client chooses to have fallback behavior or not is of course entirely their decision. If lxqt-panel insists on support for this atom for panel hiding to work, they should (IMO) check for support of the atom before offering that option. In any case the client should not stop rendering, but who to blame for this depends on what (presumably) causes picom to give it an opacity of 0. Your picom config would be relevant at this point as well. Perhaps you have configuration that makes all windows with |
A useful piece of information could be to figure out which Qt (or whatever toolkit) methods lxqt-panel is using when hiding the panel, as that should allow us to just look up directly (in the toolkit) what is supposed to happen (as opposed to guessing what I think might be happening, since I can of course be wrong). I don't really want to dig into lxqt-panel's source code, however, so either someone else would have to do this or ask the developers for that information. |
FWIW, if my theory is correct, then i3 behaves entirely the way I would expect it to. Not only do we not support |
Yes. Something that I must mention is that once picom is started, lxqt-panel becomes transparent(invisible), but if i right click or press anywhere a button is supposed to be, it is clicked(for example the start menu) |
Once transparent, it never becomes visible again. |
Output of xprop -id 0x1e00007: https://pastebin.com/NiHubU5j |
Picom config (I took it from the internet, used just for testing): https://pastebin.com/fphRHu1X |
That's why the panel is invisible. I don't know who sets this (i3 definitely does not), that is something to clarify with picom and/or lxqt-panel. But that'd only fix the panel being invisible. For the actual hiding we'd have to figure out what lxqt-panel is actually doing to confirm my theory or figure out what is happening instead. From the i3 logs everything appears to be OK. |
I have asked one of the LXQt developers this question and here is the answer: lxqt/lxqt-panel#1663 (comment) |
I'm submitting a…
Current Behavior
In lxqt there is an option of hiding the panel. While using i3 and picom as the compositor and trying to enable this feature, the panel was hidden, but the space was not reclaimed. Here is a screenshot to exemplify the issue:
Expected Behavior
i3 should reclaim the space when lxqt-panel is hidden.
Reproduction Instructions
Use LXQt with i3 as the WM.
Enable hiding in the lxqt-panel settings. Disable reserve space option if enabled.
The panel is hidden but the space is not reclaimed by i3.
The corresponding lxqt issue is: lxqt/lxqt-panel#1663 (comment)
Note that one of the LXQt deveopers that answered me said this:
Environment
Output of
i3 --moreversion 2>&-
:Config file
The text was updated successfully, but these errors were encountered: