Summary: | provide "don't ask me again" checkbox in the dialog asking "could not find editor for file xyz. Do you want to open it as plain-text" | ||
---|---|---|---|
Product: | [Developer tools] kdevplatform | Reporter: | Alexander <ashaduri> |
Component: | shell | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdevplatform/f1302d10b5c0904caf98a2bb0fa5f16817c198cc | Version Fixed In: | |
Sentry Crash Report: |
Description
Alexander
2009-10-05 18:56:20 UTC
First of all I don't see why an .ini file isn't setup to be handled by kate. That already looks like a bug (in your system configuration). Second I don't see why we shouldn't re-ask you wether you want to open the file as plain-text editor. We might want to introduce the "well-known" "don't ask me again" checkbox though. Last but not least the reason for you seeing it twice is a bug in sublime which is already tracked in another report. Hence I hereby make this a wish for the don't-ask-me-again checkbox so the report stays useful. > Second I don't see why we shouldn't re-ask you wether you want to open the file as plain-text editor. We might want to introduce the "well-known" "don't ask me again" checkbox though.
You see, the file is in my KDevelop session, which means that I already said "Yes" the first time.
I don't think there's any other way KDevelop could have seen that file when loading a session on startup.
Remembering the answer for the respective file type or file name would be a solution which doesn't address this problem directly, just delegates it to the user (you'd have to implement reseting that dialog, too).
Never asking about files when loading a session on startup, on the other hand, seems like a logical thing to do (at least for me). So, I'd like to stand by my original wish/bug, not the checkbox one.
Thanks
(In reply to comment #2) > > Second I don't see why we shouldn't re-ask you wether you want to open the file as plain-text editor. We might want to introduce the "well-known" "don't ask me again" checkbox though. > > You see, the file is in my KDevelop session, which means that I already said > "Yes" the first time. > I don't think there's any other way KDevelop could have seen that file when > loading a session on startup. Open files are not part of the session. > Remembering the answer for the respective file type or file name would be a > solution which doesn't address this problem directly, just delegates it to the > user (you'd have to implement reseting that dialog, too). No we don't, thats the good part. Its all done already, kde-wide. > Never asking about files when loading a session on startup, on the other hand, > seems like a logical thing to do (at least for me). So, I'd like to stand by my > original wish/bug, not the checkbox one. That would be a wontfix IMHO. But I actually am not sure wether the dialog box will stay anyway. It was implemented back when there was no open-with plugin and I think its just obsolete by now. And the openwith part will definetly gain support for storing the selected "with" per filetype and re-use that for open. Git commit f1302d10b5c0904caf98a2bb0fa5f16817c198cc by Aleix Pol. Committed on 21/11/2012 at 04:03. Pushed by apol into branch 'master'. Improve message box for missing KPart If we didn't find an editor and we have to ask the user if she wants the text editor, provide a check box so that we don't have to ask again. M +2 -1 shell/documentcontroller.cpp http://commits.kde.org/kdevplatform/f1302d10b5c0904caf98a2bb0fa5f16817c198cc |