Bug 386669

Summary: Wait for loading to finish before going to line
Product: [Applications] kate Reporter: Safa Alfulaij <safa1996alfulaij>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cullmann
Priority: NOR    
Version: 17.08.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Safa Alfulaij 2017-11-09 05:50:42 UTC
When I use Kate from a command line to open a remote file, and tells it to go to a specifc line (-line bla), it doesn't, since the document didn't load yet.

It should go the that line/column once the document get loaded.
Comment 1 Safa Alfulaij 2018-01-11 16:59:08 UTC
Same thing with the “Go to line” bar.
If you open it while the document being loaded/downloaded, it will have a max value of 1. When the document is ready that maximum value doesn't change and stay as it is. The bar must be closed and opened again to call KateGotoBar::updateData again.
Comment 2 Christoph Cullmann 2018-08-17 20:32:19 UTC
Valid issue, patches welcome.

*** This bug has been marked as a duplicate of bug 335608 ***