[frameworks-ktexteditor] [Bug 372638] "the file was created by another program"

2022-01-08 Thread RJVB
https://bugs.kde.org/show_bug.cgi?id=372638

--- Comment #6 from RJVB  ---
Ah, the diplomatic approach ... and now we wait for someone to complain that
s/he doesn't know what a disk is? ;)

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

[frameworks-ktexteditor] [Bug 372638] "the file was created by another program"

2022-01-08 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=372638

Christoph Cullmann  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/fram
   ||eworks/ktexteditor/commit/1
   ||d696d7571196e12c4c81981aa43
   ||1a6a7d957b47
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Christoph Cullmann  ---
Git commit 1d696d7571196e12c4c81981aa431a6a7d957b47 by Christoph Cullmann.
Committed on 08/01/2022 at 22:04.
Pushed by cullmann into branch 'master'.

improve wording for modified on disk warnings

M  +3-3src/document/katedocument.cpp
M  +3-3src/include/ktexteditor/modificationinterface.h
M  +1-1src/view/katestatusbar.cpp
M  +1-1src/vimode/appcommands.cpp

https://invent.kde.org/frameworks/ktexteditor/commit/1d696d7571196e12c4c81981aa431a6a7d957b47

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

[frameworks-ktexteditor] [Bug 372638] "the file was created by another program"

2019-05-26 Thread Lothar
https://bugs.kde.org/show_bug.cgi?id=372638

--- Comment #4 from Lothar  ---
I have already lost some changes due to this warning, so it's not only "a minor
inconvenience"

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

[frameworks-ktexteditor] [Bug 372638] "the file was created by another program"

2019-05-26 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=372638

Christoph Cullmann  changed:

   What|Removed |Added

 CC||cullm...@kde.org

--- Comment #3 from Christoph Cullmann  ---
This are the strings we use ATM:


switch (m_modOnHdReason) {
case OnDiskModified:
return i18n("The file '%1' was modified by another program.", str);
break;
case OnDiskCreated:
return i18n("The file '%1' was created by another program.", str);
break;
case OnDiskDeleted:
return i18n("The file '%1' was deleted by another program.", str);
break;
default:
return QString();
}

We can improve on that easily, beside that I think this is overkill for such a
minor inconvenience.

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

[frameworks-ktexteditor] [Bug 372638] "the file was created by another program"

2019-05-25 Thread Lothar
https://bugs.kde.org/show_bug.cgi?id=372638

Lothar  changed:

   What|Removed |Added

 CC||loh@googlemail.com

--- Comment #2 from Lothar  ---
I'm also annoyed by this warning when I have some file in more that one
instance of Kate open. But no idea how to fix that. Some communication may
needed in that case.

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

[frameworks-ktexteditor] [Bug 372638] "the file was created by another program"

2019-05-25 Thread Edward Kigwana
https://bugs.kde.org/show_bug.cgi?id=372638

Edward Kigwana  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1
 CC||edwardw...@gmail.com

--- Comment #1 from Edward Kigwana  ---
This one is a little tricky. Open file that is not on disk then use some other
process to create the file e.g. touch  and you'll find that the current
code makes sense. Perhaps if a file exists and is open generate a modified
event instead. If the file did not exist on disk when opening generate created
event.

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