Bug 490618 - Backward search does not work always
Summary: Backward search does not work always
Status: REPORTED
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-21 18:56 UTC by Enrique Artal
Modified: 2024-08-20 15:39 UTC (History)
2 users (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 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.