Summary: | Klipper doesn't preserve "application/x-kde-suggestedfilename" | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | TraceyC <kdedev> |
Component: | Clipboard widget & pop-up | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, nate, nilskemail+kde, postix, qydwhotmail |
Priority: | NOR | Keywords: | regression |
Version: | git-stable-Plasma/6.1 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=470131 https://bugs.kde.org/show_bug.cgi?id=492005 https://bugs.kde.org/show_bug.cgi?id=492006 |
||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/c4c47a5cde045a49e8b3b315f81d0bb9fc855aba | Version Fixed In: | 6.3 |
Sentry Crash Report: |
Description
TraceyC
2024-08-21 00:36:34 UTC
> The name field is blank Klipper doesn't preserve the "application/x-kde-suggestedfilename" hint used by MR 391 after Spectacle is closed, so this is a Klipper bug. > The Data type is "application/x-kde-onlyReplaceEmpty" > Nothing is pasted to the folder in Dolphin You have to manually pick an image format using the format combobox. This is an issue with Klipper and/or KIO. - Klipper puts "application/x-kde-onlyReplaceEmpty" before the other formats when it would probably be better to ensure it goes last. - KIO should probably ignore custom mimetypes that are only used as hints. Nothing is pasted when you keep the format as "application/x-kde-onlyReplaceEmpty" because that hint doesn't actually hold any data. This is working for me with git master of Plasma, KWin, Dolphin, and Spectacle. Are you able to reproduce it, Noah? (In reply to Nate Graham from comment #2) > This is working for me with git master of Plasma, KWin, Dolphin, and > Spectacle. Are you able to reproduce it, Noah? Yes, but it's not a spectacle bug. Ok, then can you move it to the correct place where it should be fixed? (In reply to Nate Graham from comment #4) > Ok, then can you move it to the correct place where it should be fixed? There are 3 issues here, so we'll need 3 bug reports: 1. Klipper doesn't preserve "application/x-kde-suggestedfilename". 2. Klipper puts "application/x-kde-onlyReplaceEmpty" first when it should be near the end of the mimetype list. 3. KIO's paste dialog shouldn't offer custom KDE mimetypes that are only used as hints. Do I mark this as Not A Bug? I'll keep this report for the first bug and move it to the right place. I'll open two other bugs for the two other issues. I found an older bug 470131 that describes much the same behavior, not sure if this is a duplicate (In reply to TraceyC from comment #7) > I found an older bug 470131 that describes much the same behavior, not sure > if this is a duplicate Since you changed the title of this report, this report (bug 491961) is now about issue 1. The bug you are referencing (bug 470131) is issue 2. Just noting, I found that if you have Spectacle set to auto save screenshots to a file, the bug cannot be reproduced With that setting unchecked, the bug happens. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4636 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4664 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4992 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4992 Git commit 52844b51e821a490c6e5194fb34bb00abae3933c by Fushan Wen. Committed on 10/12/2024 at 02:21. Pushed by fusionfuture into branch 'master'. appiumtests: reload config through D-Bus to speed up clipboardtest There is no need to restart the widget to take effect. M +1 -1 appiumtests/applets/CMakeLists.txt M +157 -223 appiumtests/applets/clipboardtest.py M +1 -0 klipper/declarative/qml/ClipboardItemDelegate.qml M +3 -0 klipper/declarative/qml/TextItemDelegate.qml M +2 -0 klipper/declarative/qml/UrlItemDelegate.qml M +17 -11 klipper/klipper.cpp M +9 -4 klipper/klipper.h https://invent.kde.org/plasma/plasma-workspace/-/commit/52844b51e821a490c6e5194fb34bb00abae3933c Git commit 72722fc4e8eaafbb7a18f58dca6a1be859fbf950 by Fushan Wen. Committed on 10/12/2024 at 03:20. Pushed by fusionfuture into branch 'master'. appiumtests: add test for saving multiple mime types The test case tries to put a content provider with multiple mimetypes into the clipboard and test if the history can remember them. M +77 -0 appiumtests/applets/clipboardtest.py https://invent.kde.org/plasma/plasma-workspace/-/commit/72722fc4e8eaafbb7a18f58dca6a1be859fbf950 |