-
Notifications
You must be signed in to change notification settings - Fork 41
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
rc.xml-section <mouse> in local config makes window headers unresponsive #23
Comments
I realized that the issue didn't show up at the time when upgrading LXQt to version 2.0.0 (and thus switching from Qt5 to Qt6). It was already present when LXQt was on version 1.4.0 (using Qt5). Therefore the issue is not related to Qt6. On postmarketOS v23.12 (based on Alpine Linux v3.19) the issue is not present. Whereas on postmarketOS v24.06 (based on Alpine Linux v3.20) the issue is there. Comparing the two situations, I noticed that (after changing the theme) the In postmarketOS/Alpine LXQt changing the openbox theme is done by GUI I'll try to investigate further how the file |
A first cognition is that I implemented a partial rc.xml in postmarketOS under the wrong assumption that several partial rc.xml files could cumulatively sum up to one complete rc.xml file. That's not the case. In obt/xml.c function obt_xml_load_config_file() openbox does go through the xdg_paths... ... but in function load_file() the for-loop stops... ... as soon as one rc.xml file with content was found, picking that file. In postmarketOS currently a partial rc.xml with the following content gets installed to path /etc/xdg/lxqt-tablet/openbox/rc.xml. The environment variable XDG_CONFIG_DIRS gets changed to prepone that file over the default /etc/xdg/openbox/rc.xml. While I assumed they get collected one after the other, it turned out that the first one gets picked and applied. So instead of being an intended partial rc.xml file, the following became the full rc.xml file.
One of the reasons I thought several partial rc.xml files would cumulate to one complete rc.xml was that in practice the above snippet actually works as a stand-alone rc.xml. It seems it's in openbox/config.c where obt_xml_node_contains() checks if there is a value and else "default" gets chosen, but I don't know exactly how it works. Next I'll look into ObConf and ObConf-Qt how they act on an incomplete "partial" rc.xml file. |
LXQt upgraded from Qt5 to Qt6 by version 2.0.0. Since then, choosing a new Openbox theme makes the window headers "unresponsive".
Having a closer look, choosing a new theme adds a section
<mouse></mouse>
to ~/.config/openbox/rc.xml. Removing that section restores responsivity of the window headers.Testing further it turns out that the defined mouse double-click action DOES work on the "unresponsive" window headers. But somehow this prevents the regular single-click behavior.
The text was updated successfully, but these errors were encountered: