Bug 277351 - x11/xfce4-screensaver: Screenlocker exposes workspace when the compositor gets re-enabled.
Summary: x11/xfce4-screensaver: Screenlocker exposes workspace when the compositor get...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-xfce (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-27 13:06 UTC by Alexander Vereeken
Modified: 2024-03-04 20:04 UTC (History)
1 user (show)

See Also:
madpilot: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Vereeken 2024-02-27 13:06:33 UTC
Hello,

when the screen gets black when it getting locked and if the compositor gets enabled then it exposes the workspace while the screen is still locked.

How to reproduce:

Disable the compositor with xfconf-query -c xfwm4 -p /general/use_compositing -s false or in the xfce4-settings-manager.

Then do create an shell script file with:

sleep 7
xfconf-query -c xfwm4 -p /general/use_compositing -s true.

When you execute it, lock the sceen and wait till it happens.
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2024-02-27 14:22:54 UTC
Hi,

Thanks for the report. This was not easy to spot.

This is clearly not what should happen with a screen locker, although the combination of operations you list is relatively convoluted and difficult to exploit. I am also unsure if anyone without root or not already logged in the machine as the locking user can make this happen.

Anyway there is not much that can be done about this in the port. This needs to be fixed by the developers.

You should report this upstream, please file an issue describing the problem at [1].

Please link to the issue once you have done it so it can be tracked.

It would help if you could also test if the same issue happen also on Linux.

[1] https://gitlab.xfce.org/apps/xfce4-screensaver
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2024-03-04 13:07:39 UTC
Hi,

A new version of xfce4-screensaver has been released. I'm going to update the port soon.

This new release includes a bugfix that could also fix your issue according to the description:

https://gitlab.xfce.org/apps/xfce4-screensaver/-/commit/4800b77d8144a5155f92abb6e17f6314cd7c3928


Once I update the port, could you test and see if your issue is solved by the upgrade?


I'll post here once I have updated the port. The package in the latest branch should be available a few days later at most.
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2024-03-04 20:04:03 UTC
Update to latest version just committed in [1].

Please verify if this update fixes the issue. If this is confirmed I can merge this to quarterly.

Thanks!


[1] https://cgit.freebsd.org/ports/commit/?id=d15e8791e425adaacdfdf4c13b52c149d28a3f7b