Bug 490618

Summary: Backward search does not work always
Product: [Applications] kile Reporter: Enrique Artal <artal>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED DUPLICATE    
Severity: normal CC: foss, mfroeb, nicolas.fella
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Enrique Artal 2024-07-21 18:56:36 UTC
SUMMARY
Backward search from okular does not work in some cases. Basically if one starts from okular and kile is open. 

STEPS TO REPRODUCE
1. Start okular with some pdf file produced by pdflatex and start kile.
2. Backward search from okular (configured to go to kile)

OBSERVED RESULT
It goes to the right source file in kile but not to the right line.

EXPECTED RESULT
Go to the right file and line.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Fedora 40 with KDE
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0 
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Backward search works with kate, kwrite, and texstudio. It also works if kile is not open.
Comment 1 Enrique Artal 2024-07-21 20:39:25 UTC
Actually it works also with the Document Viewer.
Comment 2 Enrique Artal 2024-08-20 15:39:57 UTC
If it helps, when I try backward search from okular and kile is open, the tex file is open in kile if it wasn't but it does not go to right line. The following is shown in the terminal where kile was opened:

qt.dbus.integration: QDBusConnection: couldn't handle call to setLine, no slot matched
qt.dbus.integration: QDBusConnection: couldn't handle call to setLine, no slot matched
qt.dbus.integration: Could not find slot MainAdaptor::setLine

If kile was not open, it works fine and those lines do not appear.
Comment 3 mfroeb 2025-10-25 17:20:42 UTC

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