! 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 wallpaper list chooses the comment at the top at random
Status:
RESOLVED: WONTFIX
Product:
Xfdesktop
Component:
General

Comments

Description Joe Drago 2004-10-12 21:12:25 CEST
When using xfdesktop's window list function, sometimes it will fail to load an
image named ''. After checking into it, I realized that although the code checks
to see that it is a valid window list (by seeing the comment at the top), it
still counts that line in the text file as a valid choice for a random image.

I'll leave it up to the developer what the smartest choice of action would be,
but it seems like the simplest way would be to never choose the zero index
returned from get_list_from_file (common/backdrop.c), and the other approach
would be to strip that entry inside of the function before returning. 

If this is fixed in 4.1.90 already, I'll shut up now. :-)
Comment 1 Brian J. Tarricone (not reading bugmail) 2004-10-12 22:22:02 CEST
actually, it's most likely trying to read a blank line at the bottom of the
file.  at any rate, this works fine in 4.1.90.  i'm not really interested in
4.0.x bugs, unless they're accompanied by a patch.

Bug #393

Reported by:
Joe Drago
Reported on: 2004-10-12
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Attachments

Additional information