Summary: | Kate 5 saving with another encoding is missing | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Ongun Kanat <ongun.kanat> |
Component: | application | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | christoph, firew4lker, hein, ongun.kanat, pejakm, simonandric5, wulf.richartz |
Priority: | VHI | ||
Version: | 5.0.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/ktexteditor/d9eeed19cefe87e7b2d7345c12177bf89d90ff3c | Version Fixed In: | |
Sentry Crash Report: |
Description
Ongun Kanat
2015-01-25 00:10:34 UTC
*** Bug 343312 has been marked as a duplicate of this bug. *** Looks like commit below caused problem: http://quickgit.kde.org/?p=ktexteditor.git&a=blobdiff&h=95c81d5d014ab2d1412320697de6fdc44e017d79&hp=cd8e8e672afc6e727d490c56efc22519fda2ddd4&hb=6e57274917f146ac233f50fcb902e8f2569bbbd2&f=src%2Fdocument%2Fkatedocument.cpp I've run into this problem as well. Question is: Is it possible to have such an encoding dialog also on other platforms? If no, then there is no portable way Kate could implement this inside the dialog. We could use the KEncodingDialog again I suppose, but then we'll loose the "nativeness" again. It's still available in KIO: http://api.kde.org/frameworks-api/frameworks5-apidocs/kio/html/classKEncodingFileDialog.html Any suggestions? PS: Other applications such as Kile solve this by having a Menu entry "File > Covert To > ..." with basically all encodings listed there then. Would also be an option, but the dialog was definitely better imho. It may possible. However I can say there are many differences in dialogs between different versions of OSes like MS Windows. Thus there are many applications (e.g Adobe's Creative Cloud) implement their own dialogs. I don't know how things work at Mac OS X side. Anyway, Qt looks excellently native on both OSes above and I think using a custom dialog will not make user feel alienated (imho). PS: @Dominik I agree with you having a field in dialog looks better instead of having a menu (which feels like hiding a feature rather than exposing it directly) Any comments, or suggestions? Are KDE/Kate devs planning something else? An interim solution would be an "Save as with Encoding" Menu, as actually no, the filedialog with an extra widget looks like an alien on Windows or Mac and misses a lot of the features the native dialogs have there. But yes, the feature must come back, that was a fault made by me, didn't think about that as changing the encoding reloads the file there is ATM no real way to convert :( I want to know what is the last situation of the bug? Is it planned to solve it? Git commit d9eeed19cefe87e7b2d7345c12177bf89d90ff3c by David Rosca. Committed on 08/05/2015 at 09:15. Pushed by drosca into branch 'master'. Bring back use of KEncodingFileDialog This reverts commits 6e57274917f146ac233f50fcb902e8f2569bbbd2 and 4ef4063a34314480287540a0a4f58127bd6523f2 REVIEW: 123677 M +1 -0 src/CMakeLists.txt M +46 -15 src/document/katedocument.cpp http://commits.kde.org/ktexteditor/d9eeed19cefe87e7b2d7345c12177bf89d90ff3c Ktexteditor 5.16.0, encoding menu on file save dialog is missing again. |