FS#66738 - [openbox] 3.6.1-6 *toggled_hover.xbm bitmaps are not loaded

Attached to Project: Community Packages
Opened by Eduard Manta (edisile) - Friday, 22 May 2020, 11:45 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Sunday, 24 May 2020, 11:49 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Chih-Hsuan Yen (yan12125)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Any Openbox theme using bitmaps for toggled_hover or pressed button states are broken because the WM does not load these bitmaps. The bug has been reported upstream since 2015-06-20 (https://bugzilla.icculus.org/show_bug.cgi?id=6395) but it has never been solved; in 2018 the Debian team has merged a patch that fixes the issue (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887908) and I've had success applying it myself.

Additional info:
* Package version: 3.6.0+
* Latest upstream report of the bug: https://bugzilla.icculus.org/show_bug.cgi?id=6488
* Patch that fixes the bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=887908;filename=load_button_toggled_masks-2.patch;msg=10
* See attachment for current vs expected behaviour

Steps to reproduce:
1. Set an openbox theme that makes use of toggled_hover button states (e.g. https://www.box-look.org/p/1017288/)
2. Enable a button that supports these states (e.g. maximize)
3. Maximize the window and hover above the button, its bitmap won't change
   test.png (27.9 KiB)
This task depends upon

Closed by  Chih-Hsuan Yen (yan12125)
Sunday, 24 May 2020, 11:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  openbox 3.6.1-7
Comment by Chih-Hsuan Yen (yan12125) - Sunday, 24 May 2020, 03:01 GMT
Added the patch from Debian to community-testing/openbox 3.6.1-7. Could you try it out?
Comment by Eduard Manta (edisile) - Sunday, 24 May 2020, 11:18 GMT
I've tested it, the issue is solved. Proof in attachment.
Comment by Chih-Hsuan Yen (yan12125) - Sunday, 24 May 2020, 11:49 GMT
Great, thanks!

Loading...