| Summary: | Kate looking for a remote location without reason | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Marie Kalouguine <marie.kalouguine> |
| Component: | application | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | christoph, justin.zobel |
| Priority: | NOR | ||
| Version First Reported In: | 20.08.1 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Error screenshot | ||
Marie I've tried to reproduce this but cannot. I've done 1. Open sftp://ip/home/justin/blahdocument via Dolphin in Kate 2. Closed Kate 3. Disconnected myself from the network 4. Opened Kate But no warning or issues occurred, I was presented with an Untitled(unsaved blank) document. Can you please confirm this is still occurring for you. The issue is still occurring every time I launch Kate. I am not sure these steps are the only ones I did to get this bug, since I used it with a remote for a very long time and don't remember everything, sorry. I tried to look for the name of the remote with a recursive grep from $HOME, and only found these lines in $HOME/.local/share/kate/anonymous.katesession: [Plugin:katefilebrowserplugin:MainWindow:0] Allow Expansion=false Decoration position=2 Show Inline Previews=true Show Preview=false Show hidden files=false Sort by=Name Sort directories first=true Sort reversed=false View Style=DetailTree auto sync folder=false filter history= location=sftp://username@remote_ip/home/username/my/workspace The file is generated automatically on startup, so removing it didn't change a thing. Maybe I did something in the past to make it remember the location somehow ? Requested information was added with comment 2; changing status for inspection. That is the location for the file browser plugin (the toolview normally on the left that let's you browse directories). The last used directory is remembered, does it show that directory for you? It should remember an other one, if you browse to some other location. You were right, I did not understand at first but when opening the "Filesystem Browser" tab, it showed me the remote filesystem. Apparently the location doesn't update itself, so it just remembered the last time I set it manually. Moving to $HOME fixed the problem. Thank you ! I still wonder, though, where was this configuration stored if not in a plain text config file ? The idea that the name of the remote device is still somewhere on my computer is not exactly thrilling... Hi, hmm, I thought it was the config file for the session below $HOME/.local/share/kate/anonymous.katesession with the location=... line. Beside that, some config might linger in other sessions in that folder or in $HOME/.config/katerc I consider this fixed now. |
Created attachment 131613 [details] Error screenshot SUMMARY STEPS TO REPRODUCE 1. Use Kate through sftp with remote files 2. Disconnect the remote computer (by being on another network for example) 3. Launch Kate I am not sure though that this is really reproducible, since I used it with sftp for over a month, so there may be a config file that was written automatically. OBSERVED RESULT An error occurs after some time (~one minute), saying "Timeout connecting to [Remote name]". If closed, it appears again, periodically. See screenshot. EXPECTED RESULT No errors, Kate is not supposed to be trying to connect to this remote computer. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.73.0 Qt Version: 5.15.0 Linux Kernel: 5.8.7-arch1-1 ADDITIONAL INFORMATION