Bug 402609 - [PATCH] Kate doesn't load remote .kateconfig files.
Summary: [PATCH] Kate doesn't load remote .kateconfig files.
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.51.0
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-27 15:24 UTC by Alex Hermann
Modified: 2022-02-07 04:37 UTC (History)
2 users (show)

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


Attachments
Read .kateconfig on remote locations (kio) (4.58 KB, patch)
2019-01-07 18:19 UTC, Alex Hermann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Hermann 2018-12-27 15:24:01 UTC
SUMMARY

Kate doesn't load remote .kateconfig files. For local projects there seems to be no problem, a .kateconfig file is found several directories upwards of the edited file and the settings are applied. If I move that entire project including the .kateconfig file to  a remote machine and access it via kio_sftp, the settings in the .kateconfig are not read or ignored.

STEPS TO REPRODUCE
1. Place a .kateconfig file in a remote location
2. Open a remote file under the location from step 1, for example via kio_sftp

OBSERVED RESULT

Settings in the .kateconfig file are ignored / not applied

EXPECTED RESULT

Settings in the .kateconfig file are applied.


SOFTWARE/OS VERSIONS

Kate version: 18.08.0
Editor component version : 5.51.0
Linux/KDE Plasma: 
(available in About System) - Not sure where to find that option
KDE Plasma Version: 
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Comment 1 Alex Hermann 2019-01-07 18:19:17 UTC
Created attachment 117336 [details]
Read .kateconfig on remote locations (kio)

This patch does the trick for me.
Comment 2 Christoph Feck 2019-01-27 13:03:41 UTC
Alex, thanks for the patch. Please add it to https://phabricator.kde.org/differential/diff/create/
Comment 3 Christoph Cullmann 2019-05-24 14:04:22 UTC
Actually, I would only like to have this optional and per default off. Otherwise that is a nice thing to have.
Comment 4 Christoph Cullmann 2022-01-08 22:14:39 UTC
Hi, if this is still wanted, please provide some patch with an option to trigger this.
I think this should if we want it be default off, as extensive remote access isn't wanted per default.

We use now GitLab, here some hints how to provide a contribution

https://kate-editor.org/post/2020/2020-07-18-contributing-via-gitlab-merge-requests/
Comment 5 Bug Janitor Service 2022-01-23 04:37:31 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 6 Bug Janitor Service 2022-02-07 04:37:13 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!