Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xscreensaver users - need bug confirmation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
redblade7
n00b
n00b


Joined: 11 Jan 2018
Posts: 31

PostPosted: Wed Oct 09, 2019 9:23 pm    Post subject: xscreensaver users - need bug confirmation Reply with quote

Hi,

I have attempted to file a bug regarding xscreensaver, but for some reason bugzilla people are way too dismiss-happy lately and refuse to allow a proper confirmation period. In this case, the Bugzilla person, incredibly rude, decided the problem happens randomly after "confirming" using the wrong software (xfce-screensaver) and assuming xscreensaver would be the same way.

He ignored my report of three computers acting a certain way, when using the actual software mentioned in the bug (xscreensaver) rather than his own (xfce-screensaver), as the situation of only one person, refusing to leave the bug open for further confirmations.

This being the third or fourth time something like this has happened to me over the past few months, I decided that in the future, before I would file bug reports, I would start discussions on the forum to gain a series of confirmations and then post a bug with a link to the forum.

The bug in question, 696156, regards xscreensaver and its interaction with Plasma.

The behavior I have always had, 100% on 3 computers, during my 2 years of using Gentoo, under Xorg is that if xscreensaver is already running, Plasma's screenlocker does not run.

Under Wayland, which I use currently on one computer, Plasma's screenlocker runs anyway.

After testing with the wrong software, the Bugzilla people decided it was "random" and closed the bug. So I need confirmation from other people that this is how it works for them.

1. Set xscreensaver to start in 5 minutes, and Plasma screenlocker settings for 10 minutes.
2. When using Xorg, Plasma's screenlocker won't lock the screen if xscreensaver is already running.
3. When using Wayland, Plasma's screenlocker will lock the screen anyway.

Please confirm that this is the behavior you have. If not, mention it here. Be sure to use the correct software (xscreensaver). I will do things this way in the future before reporting bugs on Bugzilla.

Thank you!
Back to top
View user's profile Send private message
redblade7
n00b
n00b


Joined: 11 Jan 2018
Posts: 31

PostPosted: Wed Oct 09, 2019 10:14 pm    Post subject: Reply with quote

Mods, please move this to "Desktop Environments" thank you!

[Moderator response: Moved. -Hu]
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5961

PostPosted: Wed Oct 09, 2019 10:17 pm    Post subject: Reply with quote

Seems entirely reasonable behaviour to not invoke the real screen locker when a fullscreen app is running, and quarantined X apps under Wayland don't have the authority to override compositor-level security.
Back to top
View user's profile Send private message
redblade7
n00b
n00b


Joined: 11 Jan 2018
Posts: 31

PostPosted: Wed Oct 09, 2019 10:57 pm    Post subject: Reply with quote

Ant P. wrote:
Seems entirely reasonable behaviour to not invoke the real screen locker when a fullscreen app is running


This is how xscreensaver acts for me under Plasma Xorg.
Does xscreensaver act this way for you too under Xorg?
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1662
Location: Frankfurt, Germany

PostPosted: Wed Oct 09, 2019 11:20 pm    Post subject: Reply with quote

redblade7 wrote:
Expected Results:
Plasma Wayland should not lock the screen when xscreensaver's screensaver is running, which is the behavior with Plasma Xorg.

redblade7, I am sorry, but I think that you are wrong.

Please try to understand what Wayland is and how a Wayland compositor works. I'm sure you will realize how stupid it is to run a X screensaver when your display is managed by a Wayland compositor. It just doesn't make sense.
Back to top
View user's profile Send private message
redblade7
n00b
n00b


Joined: 11 Jan 2018
Posts: 31

PostPosted: Wed Oct 09, 2019 11:51 pm    Post subject: Reply with quote

mike155 wrote:
Please try to understand what Wayland is and how a Wayland compositor works. I'm sure you will realize how stupid it is to run a X screensaver when your display is managed by a Wayland compositor. It just doesn't make sense.


Can you please explain? I'm using sddm to log into Plasma Wayland as I do with Plasma Xorg. I know that certain things don't work due to the enhanced security (e.g. "sudo gvim") but xscreensaver is run under the same user. I know xscreensaver cannot lock the screen under Wayland (in the bug report I filed, someone found this in the xscreensaver source code) due to these security protections. But can you explain why running xscreensaver or any other screensaver is "stupid" under Wayland?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7195

PostPosted: Thu Oct 10, 2019 11:17 am    Post subject: Re: xscreensaver users - need bug confirmation Reply with quote

Sorry, you don't need any bug confirmation
First because it's not a bug, the case is properly handle by xscreensaver, and then, the expect result never randomly change.
And second, because you don't need anyone to test to confirm it.

All this has been given to you in comment #1 in the bug
Code:
  if (!si->locking_disabled_p && getenv ("WAYLAND_DISPLAY"))

if xscreensaver find the env set, it will disable locking : you don't need lot of people to test that this will always happen
Back to top
View user's profile Send private message
redblade7
n00b
n00b


Joined: 11 Jan 2018
Posts: 31

PostPosted: Thu Oct 10, 2019 11:30 am    Post subject: Re: xscreensaver users - need bug confirmation Reply with quote

krinn wrote:
And second, because you don't need anyone to test to confirm it.

All this has been given to you in comment #1 in the bug
Code:
  if (!si->locking_disabled_p && getenv ("WAYLAND_DISPLAY"))

if xscreensaver find the env set, it will disable locking : you don't need lot of people to test that this will always happen


That refers to xscreensaver's locking feature, not xscreensaver as a whole. I was talking about Plasma's locking feature, you must have misunderstood.

xscreensaver otherwise runs with no problems on Wayland.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7195

PostPosted: Thu Oct 10, 2019 2:44 pm    Post subject: Re: xscreensaver users - need bug confirmation Reply with quote

redblade7 wrote:
That refers to xscreensaver's locking feature, not xscreensaver as a whole. I was talking about Plasma's locking feature, you must have misunderstood.

xscreensaver otherwise runs with no problems on Wayland.


Plasma Wayland:

1. After starting Plasma Xorg, start the xscreensaver daemon by running: xscreensaver -nosplash &
2. Wait 5 minutes. xscreensaver will take effect. -> but xscreensaver locking feature is disable
3. Wait another 5 minutes. Plasma will lock the screen while the screensaver is -> because nobody is locking the screen

Clearer?
Back to top
View user's profile Send private message
redblade7
n00b
n00b


Joined: 11 Jan 2018
Posts: 31

PostPosted: Thu Oct 10, 2019 2:56 pm    Post subject: Re: xscreensaver users - need bug confirmation Reply with quote

krinn wrote:
redblade7 wrote:
That refers to xscreensaver's locking feature, not xscreensaver as a whole. I was talking about Plasma's locking feature, you must have misunderstood.

xscreensaver otherwise runs with no problems on Wayland.


Plasma Wayland:

1. After starting Plasma Xorg, start the xscreensaver daemon by running: xscreensaver -nosplash &
2. Wait 5 minutes. xscreensaver will take effect. -> but xscreensaver locking feature is disable
3. Wait another 5 minutes. Plasma will lock the screen while the screensaver is -> because nobody is locking the screen

Clearer?


When following those steps under the configuration you described (5 minute xscreensaver without lock, 10 minute plasma lock), #3 only occurs when using Wayland.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum