! 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 !
xfdesktop crashes/disappears when notebook display is turned off (xrandr)
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Ali Akcaagac 2017-03-31 11:36:19 CEST
Created attachment 7066 
testcase script

Following situation:

I run XFCE from Fedora (Packages for the upcoming Fedora 26) and detected an issue with xfdesktop 4.12.3 (... that has last seen an update around 20 months ago but received a lot of updates that I couldn't tested yet. So the issue might have been fixed - but might have not).

I don't run any screensavers or things like that!

Sometimes there are programs running under XFCE, that prevents the display of the notebook to turn off (after some minutes (powersaver). Playing videos with mplayer or downloading files (with Google-Chrome) always keep the monitor on. Mplayer has an option to work around the "keep monitor on" issue. But that's not the point of this report.

In previous times I used "xset force dmps off" to turn the notebook monitor off (when I intend to sleep - but the monitor descides to stay on - and not turning off as described in the powersaver). Unfortunately xset always turns the monitor on again.

On some pages it was advised to properly run xrandr for this...

... and here goes the issue ...

Using xrandr for turning off the notebook monitor will cause xfdesktop to crash/disappear (don't really know what it exactly does and it only happes if you redo the steps a few times. Sometimes it catches it on the first time, sometimes you need to redo it a few times).

When waking up the notebook monitor again, xfdesktop is gone. Leaving a gray display. No icons, no right or middle mb actions. Nothing.

I have to open a terminal and reforce "xfdesktop -R" to come up again.

What I would like to see is: xfdesktop not to disappear or crash, if the internal notebook monitor is turned off with xrandr.

Please find attached an exaple test script that I use on my display.

At evenings I run that script... It outputs "press return ..." waits 5 seconds, turns the notebook display off... At the next morning I press return and it turns the display on again. Sometimes I have to do this, because google-chrome downloads stuff during night or I have a video with mplayer paused...

In case this issue has been fixed: May I ask for an updated tar.bz2 file of xfdesktop ? Maybe a 4.12.4 version or something like that, since it covers a lot of bugfixes over the past 20 months.

Thanks!
Comment 1 Theo Linkspfeifer editbugs 2019-05-05 12:06:17 CEST
Sorry for the late reply. Was this crash resolved after upgrading to a newer Fedora release?
Comment 2 Andre Miranda editbugs 2019-05-19 18:31:16 CEST
Probably related to Bug 14844.
Comment 3 Andre Miranda editbugs 2019-06-27 16:49:58 CEST
There were recent fixes in 4.13 (soon to be release as 4.14) for memory leaks and crashes, probably they solve the problem for you, if not please reopen.

Bug #13469

Reported by:
Ali Akcaagac
Reported on: 2017-03-31
Last modified on: 2019-06-27

People

Assignee:
Eric Koegel
CC List:
2 users

Version

Version:
4.12.3

Attachments

testcase script (245 bytes, application/x-shellscript)
2017-03-31 11:36 CEST , Ali Akcaagac
no flags

Additional information