! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfce panel opacity setting for 90% "Leave" is getting reset to 100% after reb...
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Matthew Manges 2019-12-22 19:38:13 CET
Created attachment 9327 
neofetch

I am seeing the same issue as reported in https://forum.xfce.org/viewtopic.php?id=13321 I am using compton as well.  Attached is a neofetch of my system.
Comment 1 Andre Miranda editbugs 2020-01-05 21:12:06 CET
Can you reproduce this with a simple "xfce4-panel -r" instead of a hard reboot?
Comment 2 Matthew Manges 2020-01-05 21:21:28 CET
(In reply to Andre Miranda from comment #1)
> Can you reproduce this with a simple "xfce4-panel -r" instead of a hard
> reboot?

I did the "xfce4-panel -r" and ""xfce4-panel" to make the panel reappear.  I could not reproduce like hard reboot.  Worked as intended with "xfce4-panel -r".
Comment 3 Andre Miranda editbugs 2020-01-05 21:38:42 CET
Well, worked for me after reboot.

xfce4-panel 4.14.1
xfce4-session 4.14.0
xfconf 4.14.1
xfce4-settings 4.14.1
Comment 4 Matthew Manges 2020-01-05 22:01:33 CET
(In reply to Andre Miranda from comment #3)
> Well, worked for me after reboot.
> 
> xfce4-panel 4.14.1
> xfce4-session 4.14.0
> xfconf 4.14.1
> xfce4-settings 4.14.1

I even tried save session and it didn't work.  I have the same packages that you have listed and still have the issue.  I am also not alone as reported in original link by another person...
Comment 5 haarp 2020-01-14 11:21:51 CET
Can confirm. I set the panels "enter and "leave" opacity to 90. "Leave" opacity keeps getting reset to 100 incessantly. I think it might happen when you disable/enable Xfwm4's compositor.
Comment 6 haarp 2020-01-14 11:23:30 CET
I'm using panel 4.14.3 btw. 4.14.2 had this in its changelog: "plugins: Fix enter/leave opacity w/o compositing (Bug #14577)", but it seems to have been unrelated.
Comment 7 haarp 2020-01-14 12:53:19 CET
Got a repro.

1. Enable compositor in Xfwm4
2. Set 90/90 for enter/leave opacity, close panel config dialog
3. Disable compositor, reopen panel config dialog
-> Now the panel internally uses 90/90 but shows 90/100 in the settings
4. Restart panel with xfce4-panel -r
-> Now the panel shows 90/90 in the settings
5. Enable compositor
-> 90/100 becomes active, settings show 90/100 again
Comment 8 Simon Steinbeiss editbugs 2020-02-03 14:33:21 CET
Indeed, it seems that the panel sets the leave_opacity to 100% (only internally in the panel object, not in xfconf) when compositing is disabled and since all properties are bound directly to the UI you can also see that in the settings.

I'll see if I can redo that part without touching the leave_opacity value at all...
Comment 9 Simon Steinbeiss editbugs 2020-02-03 14:44:45 CET
Created attachment 9422 
Patch that ensures the leave_opacity value remains intact

Wfm but please test - thanks!
Comment 10 Git Bot editbugs 2020-02-05 23:36:53 CET
Simon Steinbeiss referenced this bugreport in commit 563c1647f1917f6390397dd0998d99d067e98e63

panel: Don't tamper with leave_opacity value (Bug #16296)

https://git.xfce.org/xfce/xfce4-panel/commit?id=563c1647f1917f6390397dd0998d99d067e98e63
Comment 11 haarp 2020-02-06 16:31:34 CET
Seems fixed with the patch, or at least I couldn't reproduce it anymore. Thanks!

Bug #16296

Reported by:
Matthew Manges
Reported on: 2019-12-22
Last modified on: 2020-02-06

People

Assignee:
Simon Steinbeiss
CC List:
3 users

Version

Version:
4.14.0

Attachments

neofetch (158.28 KB, image/png)
2019-12-22 19:38 CET , Matthew Manges
no flags
Patch that ensures the leave_opacity value remains intact (2.25 KB, patch)
2020-02-03 14:44 CET , Simon Steinbeiss
no flags

Additional information