Bug 4563 - Crash on copying and pasting from Filtering Log
Summary: Crash on copying and pasting from Filtering Log
Status: CLOSED INVALID
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Tools (show other bugs)
Version: 3.17.8
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2022-01-11 12:37 UTC by KJP
Modified: 2022-01-11 14:09 UTC (History)
2 users (show)

See Also:


Attachments

Description KJP 2022-01-11 12:37:14 UTC
Frequently I find Claws Mail crashes on attempting to copy and paste the Filtering log text into another application, such as a text editor. Unfortunately, the crash also clears the log so it is not possible to repeat the exercise or to recover the information I intended to search.

I want to paste it into a text editor so I can search it for the message concerned to find out why it wasn't filtered as expected.

Steps to reproduce:

1. enable the Filtering log,
2. Fetch Mail
3. Open the filtering log
4. Select all and copy
5. Open another application (eg kwrite)
6. Paste into the other application

Expected result:

The log text will appear in the other application and Claws Mail will be unaffected.

Actual Result:

Claws Mail usually disappears instantly, either on the copy or on the paste. (Why on the paste? it shouldn't even receive any input at that point as it's not the application in focus.) Nothing is pasted into the other application and a new blank entry has been added to the clipboard.
On reopening Claws Mail and checking the filtering log, this is also now empty.

Running from a terminal produced:

$ claws-mail &
[1] 30378
$ Gtk-Message: 11:23:50.341: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-primary-button-warps-slider' of type `gboolean' from rc file value "((GString*) 0x2755680)" of type `gboolean'

------then, on copying...
The program 'claws-mail' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 50612 error_code 3 request_code 18 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.)
Comment 1 Michael Rasmussen 2022-01-11 12:58:16 UTC
You are running an older version of claws (latest version is 3.18) so please try latest version an see if you can replicate the bug.
Comment 2 Paul 2022-01-11 13:00:00 UTC
From what you say, it doesn't seem like a claws-mail bug, but some other part of your system.

What desktop and version are you using, what version of GTK, what version of X, etc.?
Comment 3 KJP 2022-01-11 13:34:30 UTC
@Michael Rasmussen,

Unfortunately, 3.17.8 is the only version available in PCLinuxOS. I will see what I can do about upgrading, but it might take time.

@Paul,

$ inxi -Gxx
Graphics:  Device-1: NVIDIA GT218 [GeForce 210] vendor: ASUSTeK driver: nouveau v: kernel 
           bus-ID: 01:00.0 chip-ID: 10de:0a65 
           Device-2: Generalplus type: USB driver: snd-usb-audio,uvcvideo bus-ID: 5-3:2 
           chip-ID: 1b3f:1167 
           Display: server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: nouveau,v4l 
           resolution: 1920x1080~60Hz s-dpi: 96 
           OpenGL: renderer: NVA8 v: 3.3 Mesa 21.2.3 direct render: Yes 

Operating System: PCLinuxOS 2021
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.10.52-pclos1 (64-bit)
Graphics Platform: X11
Processors: 8 × AMD FX(tm)-8350 Eight-Core Processor
Memory: 23.4 GiB of RAM
Graphics Processor: NVA8

GTK+2.0: 2.24.33
GTK+3.0: 3.24.30

Will check in XFCE as well.
Comment 4 KJP 2022-01-11 14:09:14 UTC
OK, it seems to work as expected in XFCE, so it's KDE/Plasma/PCLinuxOS-related.

Oh dear, it's one of those interactions where something's left open or not cleaned up properly and it only causes problems when a particular combination of configurations is used...

Could be Claws, could be Plasma, could be the environment, could be a theme...

I don't think Bugzilla has an option for Unresolved, probably Invalid, difficult to find out and even more difficult to locate the blame! Closed Invalid is probably the closest, but not really the whole story.

Note You need to log in before you can comment on or make changes to this bug.