Bug 416117 - Unusable split screen after modified file
Summary: Unusable split screen after modified file
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: application (other bugs)
Version First Reported In: 19.08.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-11 15:21 UTC by Larry
Modified: 2021-12-18 22:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Kate with file modification option enabled with saved file (124.37 KB, image/png)
2020-01-11 15:21 UTC, Larry
Details
IMage of problem when file has been modified (139.44 KB, image/png)
2020-01-11 15:22 UTC, Larry
Details
Kate window before ececuting "date >> /tmp/Msg.txt" (83.61 KB, image/png)
2020-10-30 12:05 UTC, Larry
Details
Same Kate window after executing "date >> /tmp/Msg.txt" and moving resulting dialog box lower (139.19 KB, image/png)
2020-10-30 12:07 UTC, Larry
Details
Video (403.03 KB, video/mp4)
2020-11-13 06:17 UTC, Justin Zobel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Larry 2020-01-11 15:21:17 UTC
Created attachment 125028 [details]
Kate with file modification option enabled with saved file

SUMMARY When a file open in Kate is modified by a foreign process, Kate appears as an unusable split screen without any menu.  Unmodified file content cannot be saved.


STEPS TO REPRODUCE
1. Open Kate.
2. Enable monitoring for file changes outside of Kate.
3. Save the file to disk. (KateModifiedFileIssueImage1.png)
4. Modify the file outside of Kate.

OBSERVED RESULT
Kate becomes unusable (see KateModifiedFileIssueImage2.png attachment)

EXPECTED RESULT
Previous versions of Kate displayed a dialog box for the user to select appropriate action.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 31 with 5.4.7-200.fc31.x86_64 kernel
(available in About System)
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2-1.fc31.x86_64

ADDITIONAL INFORMATION
Problem has been occurring since fresh install of Fedora 31 KDE spin
Comment 1 Larry 2020-01-11 15:22:24 UTC
Created attachment 125029 [details]
IMage of problem when file has been modified
Comment 2 Larry 2020-01-11 15:32:33 UTC
Tested with Kate launched from konsole.  The following is output "Ignore changes" is selected but not when the other buttons are selected.
Comment 3 Larry 2020-03-17 13:17:30 UTC
The same problem does NOT occur with kwrite.
Comment 4 Justin Zobel 2020-10-30 02:21:51 UTC
Larry can you please expand on what you mean by kate becomes unusable?

I've just echo'd a line "Test" into an existing document and it prompts me with the reload/overwrite/etc but it is still usable.
Comment 5 Larry 2020-10-30 12:05:53 UTC
Created attachment 132888 [details]
Kate window before ececuting "date >> /tmp/Msg.txt"
Comment 6 Larry 2020-10-30 12:07:07 UTC
Created attachment 132889 [details]
Same Kate window after executing "date >> /tmp/Msg.txt" and moving resulting dialog box lower
Comment 7 Larry 2020-10-30 12:08:52 UTC
I reproduced the issue, moving the dialog box lower to help illustrate the symptom.  Please see attachments.

A vertically split screen condition is created that cannot be unsplit without closing Kate and all documents.  Closing documents does not rectify the situation.
Comment 8 Christoph Feck 2020-11-09 23:41:29 UTC
Requested information was added with comment 6; changing status for inspection.
Comment 9 Justin Zobel 2020-11-13 06:17:33 UTC
Created attachment 133284 [details]
Video
Comment 10 Justin Zobel 2020-11-13 06:17:50 UTC
Larry can you please review the video I attached and confirm that's what you're trying to do?
Comment 11 Larry 2020-11-13 15:29:51 UTC
Unfortunately not.  Please view the image uploaded 2020-10-30 12:07 UTC and note that the menu bar has disappeared.  Pressing "Ctrl-M" does not restore it and pressing "Ctrl-Shift-R" does not remove the split condition.  I have found no way to resume editing without closing Kate.

I am a developer and may have many files open including JSON or log files.  Testing an application change without closing any files that might be modified (user-error, perhaps) forces me to close all open files.  I may have to save unsaved files to /tmp if I don't know what changes have been made and not saved because I can't see the contents and then open each, identify the original file and diff them.

The problem does not seem to be related to the number of open files.

What OS did you test with?  I have had this problem since Fedora 25 with fresh OS installs and updates.

I just tried to recreate the sympton on a Fedora 31 server and Kate behaved as expected, prompting me for action and no split window.  This server has very little customization in KDE, Plasma or Kate.  Could some "preference" setting be a contributor?  If you identify configuration files that may affect this feature, I can scrub and attach them to the case for your review to ascertain the cause(s).
Comment 12 Bug Janitor Service 2020-11-28 04:33:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Larry 2020-11-28 14:23:35 UTC
Information provided
Comment 14 Christoph Cullmann 2021-12-18 19:06:09 UTC
Hi, does this happen in some Wayland session or X11?
Comment 15 Larry 2021-12-18 19:55:24 UTC
 just installed Fedora 35 and this problem no longer occurs.
Comment 16 Christoph Cullmann 2021-12-18 22:00:01 UTC
Thanks for testing a new version and good that it is solved!