! 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 !
Crash if data with unknown format is dragged over directory view
Status:
RESOLVED: DUPLICATE
Severity:
critical

Comments

Description Mathias Brodala 2010-02-08 21:00:54 CET
Created attachment 2834 
Fix suggested by Karl Blammo

Dragging data like text over Thunar’s directory crashes Thunar. No backtrace possible but an error on terminal:

> The program 'Thunar' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadAtom (invalid Atom parameter)'.
>   (Details: serial 5257 error_code 5 request_code 24 minor_code 0)
>   (Note to programmers: normally, X errors are reported asynchronously;
>    that is, you will receive the error a while after causing it.
>    To debug your program, run it with the --sync command line
>    option to change this behavior. You can then get a meaningful
>    backtrace from your debugger if you break on the gdk_x_error() function.)

This was already mentioned once on thunar-dev and a patch was provided for this. But since there never was a report for this it seems to have been missed:

http://www.mail-archive.com/thunar-dev@xfce.org/msg03850.html

Patch is also attached to this report to prevent it from getting lost.
Comment 1 Lionel Le Folgoc 2011-10-21 14:15:56 CEST

*** This bug has been marked as a duplicate of bug 5771 ***

Bug #6218

Reported by:
Mathias Brodala
Reported on: 2010-02-08
Last modified on: 2011-10-21

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Attachments

Fix suggested by Karl Blammo (565 bytes, patch)
2010-02-08 21:00 CET , Mathias Brodala
no flags

Additional information