https://bugs.kde.org/show_bug.cgi?id=134854

Kevin Funk <kf...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|154897                      |
   Version Fixed In|                            |5.0.0
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Kevin Funk <kf...@kde.org> ---
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 <cytadel...@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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to