Drag and Drop issues running Gramps on KDE

Hello!

I’m not sure if this is a GtK, Wayland, or app-specific issue, but I thought I’d post here for a bit more guidance. I have an open issue in the Gramps genealogy program where dragging and dropping an object leads to an error on my Fedora 40 KDE machine, but not other users machines. I think I’ve narrowed the issue down to a list of drag context targets that is returned in an reversed order, but it’s not clear to me why the targets would be in a reversed order on KDE as opposed to other platforms.

Does anyone know any differences between GtK apps on KDE , Windows, and other linux distributions that could be causing this issue? Thanks!

Hi! Typically with issues like that, it’ll be easiest to start with what you’re specifically observing, then work up from there to see if it’s a broader issue, or is something specific to a narrow situation.

Could you let folks here know:

What specific task are you trying to perform when you’re getting an error message?

What error message are you receiving?

What’s your current system information? (Easiest to get from the Info Center app, using the Copy Details button up in the corner)

Thanks!

My bad, I had more details in the issue I posted in the Gramps bug tracker but I couldn’t post the link to it in this post.

Essentially, I am trying to drag an object in Gramps to the Gramps clipboard, but when I do I get a UnicodeDecodeError in Python. I traced the error to an issue in how Gramps expects objects to return drag and drop information to the clipboard - for some reason, the list of targets the object could map to is an reversed order in my system, which causes Gramps to interpret the type of object it recieved incorrectly.

My apologies if that explanation isn’t super clear, I tried to limit the extraneous details that are in the issue link. Here is my system info, if it helps isolate the problem:

Operating System: Fedora Linux 40
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.7.2
Kernel Version: 6.8.5-301.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon 780M Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040Series)
System Version: A7