! 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 !
Background "Spanning screens" option does not work
Status:
RESOLVED: MOVED
Product:
Xfdesktop
Component:
General

Comments

Description Alistair Buxton 2018-11-12 14:42:19 CET
Created attachment 8103 
screenshot showing the bug

Not really much to say here. The "spanning screens" option doesn't work. The image is scaled to fit the primary monitor and the other monitors continue to show whatever background is set for them. See screenshot.
Comment 1 Andre Miranda editbugs 2019-05-14 03:13:12 CEST
It works here.
I've pushed a couple of fixes related to backdrop, can you try with git master?
Comment 2 Theo Linkspfeifer editbugs 2019-07-09 14:56:35 CEST
I can confirm this bug after assigning the 'primary' status to my second monitor.
Comment 3 Theo Linkspfeifer editbugs 2019-07-09 17:11:44 CEST
The "Spanning screens" menu entry is visible for the primary monitor, but it only works for the monitor which was the primary one during xfdesktop launch.
Comment 4 Theo Linkspfeifer editbugs 2019-07-12 18:00:04 CEST
Created attachment 8763 
quick diff
Comment 5 Andre Miranda editbugs 2019-10-08 22:32:03 CEST
Created attachment 9097 
dual-monitor-screenshot.png

Sorry for the late reply, I'm running xfdesktop 4.14.1 and it works for me (see screenshot). Am I missing something?
Comment 6 Theo Linkspfeifer editbugs 2020-01-07 13:02:50 CET
Look at the Desktop Settings window for each monitor and check which one allows you to set the "Spanning screens" style. Then change the primary monitor and check again.
Comment 7 Alistair Buxton 2020-02-21 21:00:14 CET
Confirming that xfdesktop doesn't know when the primary monitor changed.

Steps to reproduce:

1. Have background spanning working.
2. Open displays and change the primary display. (Nothing happens yet.)
3. killall xfdesktop (it will restart, and now spanning won't work.)
4. Change the primary desktop back to what it originally was. (Again, nothing happens yet.)
5. killall xfdesktop (it will restart, and now spanning works again.)

There seems to be a race condition during login if your chosen primary monitor is not the default. Sometimes xfsettings will change the primary after xfdesktop has initialized, and then your background settings are invalid and spanning doesn't work right.
Comment 8 Alistair Buxton 2020-02-21 21:02:58 CET
So we can make xfdesktop smarter about primary monitor changes and that is probably a good thing but... why does it matter what the primary monitor is? It should not care. It should stretch the wallpaper over all monitors regardless of which one is primary.
Comment 9 Theo Linkspfeifer editbugs 2020-03-04 14:14:09 CET
Comment on attachment 8763 
quick diff

I agree that the option should be a global one.

After testing my patch again I noticed that it does not work 100% properly, so I will mark it as obsolete.
Comment 10 Andre Miranda editbugs 2020-03-11 17:38:54 CET
Thanks for the clarification, now I can reproduce the bug. I also agree that "spanning screens" should be independent of the primary monitor, although I'm not sure how the UI should be changed, maybe move this option to a checkbox.
Comment 11 Git Bot editbugs 2020-05-26 00:31:41 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfdesktop/-/issues/41.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14868

Reported by:
Alistair Buxton
Reported on: 2018-11-12
Last modified on: 2020-05-26

People

Assignee:
Eric Koegel
CC List:
2 users

Version

Version:
4.13.2

Attachments

screenshot showing the bug (728.59 KB, image/jpeg)
2018-11-12 14:42 CET , Alistair Buxton
no flags
quick diff (5.59 KB, patch)
2019-07-12 18:00 CEST , Theo Linkspfeifer
no flags
dual-monitor-screenshot.png (995.71 KB, patch)
2019-10-08 22:32 CEST , Andre Miranda
no flags

Additional information