Opened 11 years ago

Last modified 10 years ago

#5401 new defect

No check for invalid path in pref.xml

Reported by: gfnord Owned by: deryni
Milestone: Component: pidgin (gtk)
Version: 2.4.1 Keywords:


First of all, sorry for probably not following all of the rules for bug reporting, but this is a rather simple issue, I think.

I migrated Pidgin settings from one Windows machine onto the other. Copied the entire .purple folder and everything seemed fine. However, when I clicked on my avatar in order to change it (in the buddy list), the "Buddy Icon" window opened and hanged, caused entire Pidgin to became unusable.

After some investigation, I found that in pref.xml, 'last_icon_folder' had value of a path from the old machine, non existing on the new machine. I erased the path i.e. left the value field empty and the problem was gone.

The conclusion is that Pidgin does not check for the validity of the path stated in the pref.xml. This probably means that some other values/paths are not checked as well.

Change History (7)

comment:1 Changed 10 years ago by bernmeister

Is this still an issue in Pidgin 2.5.8?

Can you test this by (first closing Pidgin) then edit the prefs.xml file and put in an invalid (but legal) path in 'last_icon_folder' and then start Pidgin?

comment:2 Changed 10 years ago by darkrain42

  • Status changed from new to pending

comment:3 Changed 10 years ago by darkrain42

Please follow the instructions to get a debug log and attach it to this ticket.

comment:4 Changed 10 years ago by gfnord

  • Status changed from pending to new

As of 2.5.8, the problem is no longer there.

Pidgin now responds with the error message:

The folder contents could not be displayed Error stating file 'C:\Temp\Folder': No such file or directory

After clicking OK, "Buddy Icon" file browser becomes operational and I can browse to find a new icon.

However, it still does not work exactly as it should, I guess, because this error message appears behind the "Buddy Icon" file browser window.

comment:5 Changed 10 years ago by darkrain42

  • Owner set to deryni

I think that's a Windows issue. deryni knows way more about that than I do (when you get a chance, please comment :) )

comment:6 Changed 10 years ago by deryni

  • Status changed from new to pending

Both of those dialogs should be being created by GTK+ and I would hope would be created with the right information for them to get placed correctly. In a quick test just now the error dialog appears in front of the browse dialog for me.

What version of Windows are you using? What version of GTK+?

comment:7 Changed 10 years ago by gfnord

  • Status changed from pending to new

I am using Pidgin 2.5.8 on Windows XP SP3, with the GTK+ updated to the version that came with Pidgin 2.5.8 (Pidgin Help->About says GTK+ Runtime: 2.14.7). I do not use any other GTK+ application.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!