Bug 469028 - Kate no longer work as sudoedit editor and closes file immediately
Summary: Kate no longer work as sudoedit editor and closes file immediately
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 23.04.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-26 21:11 UTC by Marcelo Bossoni
Modified: 2023-04-27 07:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Bossoni 2023-04-26 21:11:16 UTC
SUMMARY
Since new applications, kate closes the file being edited as sudoedit before being able to edit it


STEPS TO REPRODUCE
1. Launch sudoedit with EDITOR=kate sudoedit /etc/somesystemfile

OBSERVED RESULT
Empty temp file is shown on editor instead of the file being edited and sudoedit tells file has no changes

EXPECTED RESULT
File being edited show on kate

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.2.12-1-cachyos-bore (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7A37
System Version: 1.0
Comment 1 Christoph Cullmann 2023-04-27 07:52:44 UTC
Hi, you need to start it with -b, that should solve your issue.