Summary: | Spectacle logs user out of the system when user clicks Export image > Share > Save as | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio | Reporter: | ruudolfs.strazdins |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ruudolfs.strazdins |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kio/aafa5b7bbc89301c478f8089d6738a4c5896bcac | Version Fixed In: |
Description
ruudolfs.strazdins
2017-04-22 20:07:29 UTC
This bug is so mind-bogglingly bizarre, I can only recommend that you use the normal Save As button (click the little arrow beside Save & Exit), instead of going through the Export menu. And it gets even more bizarre because sometimes the SDDM screen is windowed with the system title bar visible. I could resize the window, move it around, etc. And there's a notification in the system tray widget that reads Copying data:[,,,]. Here's the image that I tried to screenshot: http://i.imgur.com/Wv7RqyU.png?1 And here's the very long error window: http://i.imgur.com/GifQhpw.jpg And here's the error itself: http://i.imgur.com/Mw0lEoC.gifv Maybe the option to save the image from Export > Share > Save as should be removed since the image can already be saved. Aleix, Hope you don't mind, I'm reassigning this to you. The GIF gives a clue to the problem - it's apparently setting the whole data uri of the image as the filename. This is a behavior of KIO: $ kdecp5 "data:,Hello%2C%20World!" . $ ls -ltr -rw-r--r-- 1 apol apol 13 mai 31 03:10 ',Hello, World!' Git commit d14d86f2d6ae290740c825622cc38feca7e885bb by Aleix Pol. Committed on 31/05/2017 at 02:15. Pushed by apol into branch 'master'. Workaround for data: URIs Enforce "data" as name, rather than letting KIO come up with a name M +41 -9 src/plugins/saveas/saveasplugin.cpp https://commits.kde.org/purpose/d14d86f2d6ae290740c825622cc38feca7e885bb Git commit aafa5b7bbc89301c478f8089d6738a4c5896bcac by David Faure. Committed on 03/06/2017 at 20:17. Pushed by dfaure into branch 'master'. Use "data" as filename when copying data urls M +13 -0 autotests/jobtest.cpp M +1 -0 autotests/jobtest.h M +2 -1 src/core/copyjob.cpp https://commits.kde.org/kio/aafa5b7bbc89301c478f8089d6738a4c5896bcac |