Version: 3.3.4 (using KDE KDE 3.4.3KDE 1.2) Installed from: Compiled From SourcesCompiled From Sources It would be useful if a different icon were used for read only files in the "File List" and on editor tabs. In particular, this would facilitate working with Rational Clearcase, where 'checked in` files are read only. Currently the only way to tell from kdevelop, is to try and save and then get an error dialog.
Same here with KDevelop 4.2.3 I have a lot of Read-Only Tabs open. When I want to make a change to a file, the only way of knowing if it is Read-Only is focus the editor and try to type something. There is no icon on the tab for indication. This is a major annoyance since I toggle Read-Only on/off a lot.
Note: This has been just implemented in Kate: https://bugs.kde.org/show_bug.cgi?id=154897
*** Bug 310757 has been marked as a duplicate of this bug. ***
*** Bug 294243 has been marked as a duplicate of this bug. ***
Still not implemented. Should be super trivial to do a similar patch as in https://bugs.kde.org/show_bug.cgi?id=154897 for KDevelop. -> Junior job.
Steps to reproduce: - Open a file - Tools -> [x] Read Only Mode What happens: - No indicator Should happen: - [read only] in KDevelop caption
Fixed. Note that the KTextEditor bug is *still* not resolved. I.e. the read-only state of a file is not deduced from its access rights represented on disk. You still have to mark a file as "read only" yourself. -> KTextEditor issue, though. commit abfa9b80fb61e74cd604473b7ec5810feb7ed5ff Author: Artur Puzio <cytadela88@gmail.com> Date: Tue Jan 19 22:12:50 2016 +0100 MainWindow: Add indicator for read-only files Summary: This fixes the [[ https://bugs.kde.org/show_bug.cgi?id=134854 | Bug 134854 ]] If current file is read-only (checked with `ReadWritePart::isReadWrite()`) the window title changes - "(read only)" is added. To check if the read-only status changed `KTextEditor::Document::readWriteChanged` signal is used. Note: chmod-ing a file won't make in read only for `ReadWritePart::isReadWrite()`. Test Plan: Seams to work fine. BUG: 134854 Reviewers: kfunk Reviewed By: kfunk Subscribers: kdevelop-devel Differential Revision: https://phabricator.kde.org/D794