[GH-ISSUE #185] File drag & drop does not work correctly if the path has a plus (+) sign in it. #75

Open
opened 2026-05-05 03:38:01 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @ismail-yilmaz on GitHub (Jan 20, 2024).
Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/185

This happens on Linux + GTK, with the latest builds.

Here is an example:

Expected: /home/user/upp/.config/u++/umk/GCC.bm

Actual result: /home/user/upp/.config/u /umk/GCC.bm

See: CtrlCore/GtkClip.cpp:370

Originally created by @ismail-yilmaz on GitHub (Jan 20, 2024). Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/185 This happens on Linux + GTK, with the latest builds. Here is an example: Expected: `/home/user/upp/.config/u++/umk/GCC.bm` Actual result: `/home/user/upp/.config/u /umk/GCC.bm` See: `CtrlCore/GtkClip.cpp:370`
Author
Owner

@mirek-fidler commented on GitHub (Jan 26, 2024):

Looks like it is not urlencoded after all... Decoding removed.

<!-- gh-comment-id:1911707921 --> @mirek-fidler commented on GitHub (Jan 26, 2024): Looks like it is not urlencoded after all... Decoding removed.
Author
Owner

@ismail-yilmaz commented on GitHub (Feb 5, 2024):

Works fine. Thanks.

<!-- gh-comment-id:1928250522 --> @ismail-yilmaz commented on GitHub (Feb 5, 2024): Works fine. Thanks.
Author
Owner

@ismail-yilmaz commented on GitHub (Aug 18, 2024):

I'm afraid I have to reopen this issue.

It seems that Gnome/GTK does encode and decode url's with (non ASCII) unicode code points. It only doesn't encode/decode the plus sign in paths (I don't know why). And this -naturally- appears to be a problem only with GetClipFiles() and GetFiles() functions.

<!-- gh-comment-id:2295352414 --> @ismail-yilmaz commented on GitHub (Aug 18, 2024): I'm afraid I have to reopen this issue. It seems that Gnome/GTK **does** encode and decode url's with (non ASCII) unicode code points. It only doesn't encode/decode the plus sign in paths (I don't know why). And this -naturally- appears to be a problem only with `GetClipFiles()` and `GetFiles()` functions.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/ultimatepp#75
No description provided.