Trying to add several images at once crashes Drapes

Bug #157918 reported by missingno
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Desktop Drapes
New
Undecided
Unassigned
Nominated for 0.5 by Satti
Nominated for Trunk by Satti

Bug Description

If I try to select too many files at once to add, or add a whole directory, Drapes will crash. Furthermore, this brings up the bug where Drapes usually loses all my pictures after a crash, but now every time I open preferences it tries to load the large folder of pictures I had tried loading before, and Drapes always crashes, preventing me from using it anymore.

Revision history for this message
missingno (nintendorulez1337) wrote :

In case it matters, I'm running Ubuntu 7.10, standard install.

Revision history for this message
Oliver Charles (oliver-charles) wrote :

I can somewhat verify this behavior. If I add all my wallpapers (81) and scroll fast up and down the list drapes will crash. I don't get the unlaunchable behavior you get afterwards however, but I think this may be a bug with the automatic directory scanning for some reason.

How many wallpapers are in your wallpapers directory? If you clear your preferences for drapes and re-add these pictures, does it crash if you don't touch the GUI?

Revision history for this message
Vincas Dargis (talkless) wrote :

I think I got it - try adding wallpaper with file name that has "%" in it, for example "Abstract%2004.jpg". Multiple image adding is not the case - it's something wrong with file name processing.

Default Ubuntu 8.10.

Revision history for this message
OttifantSir (ottifantsir) wrote :

This may be the same behaviour or not.

Ubuntu 9.04 Drapes 0.5.2-1ubuntu2

I tried adding my entire home folder for monitoring of backgrounds and Drapes locked up. I xkill-ed it.

After purging and reinstalling it twice, it won't start anymore.

Revision history for this message
Satti (satya-461) wrote :

I am able to reproduce this bug on Ubuntu jaunty 9.04. I was trying to add a folder which has 500 wallpapers and drapes crashes.
when I restart it doesn't show any files which it added before crash.

Revision history for this message
Satti (satya-461) wrote :

As Vincas said, I think it is crashing when the file has '%' character. So this is a parsing problem

Revision history for this message
Satti (satya-461) wrote :

I meant 'file name' when I said 'file' in the above comment.

Revision history for this message
Andrew Sam (mailandrewsam) wrote :

Yep I can confirm having special characters like % and # crashes the app. I had one file name with # in it and one with % in it and it crashed. Excluded them from the list and I could add 80 odd images at one. And I can add the same files after renaming them. now it's working fine.

I guess it's more of a parsing error.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.