Discussion:
[Bug 1801911] [NEW] No notification (or automatic reload) when file changed on disk
André Nichterlein
2018-11-06 10:57:14 UTC
Permalink
Public bug reported:

The following unwanted behaviour in kile 3 (in ubuntu 18.04) was apparently resolved by patching okular:
(see also https://bugs.kde.org/show_bug.cgi?id=400190)

"When changing a file on disk, kile behaves oddly (no notification,
sometimes a reload)

STEPS TO REPRODUCE
1. Open a document in kile and in kate (or other text editor)
2. Change something in kate and save (change file on disk)
3. Go to kile
4. Change something in kate and save
5. Go to kile
6. Go to step 4

OBSERVED RESULT
In step 3, Kile reloaded the file and the changes made in kate are displayed.
When
In step 5, nothing happened (also after repeating steps 4 and 5 a couple of times.)

EXPECTED RESULT
Changes in files should always be notified"


The bugfix suggested in the KDE bugtracker works for me and involves some change in okular.
Robert Bredereck created a backport of the upstream patch for the current okular version in ubuntu lts (18.04):
https://launchpad.net/~rbredereck/+archive/ubuntu/okular-patched-for-kile3

Can this backport be included in ubuntu lts (18.04)?

** Affects: okular (Ubuntu)
Importance: Undecided
Status: Confirmed
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to okular in Ubuntu.
https://bugs.launchpad.net/bugs/1801911

Title:
No notification (or automatic reload) when file changed on disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/okular/+bug/1801911/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.u
Launchpad Bug Tracker
2018-11-06 11:01:21 UTC
Permalink
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: okular (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to okular in Ubuntu.
https://bugs.launchpad.net/bugs/1801911

Title:
No notification (or automatic reload) when file changed on disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/okular/+bug/1801911/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.
Robert Bredereck
2018-11-12 10:16:44 UTC
Permalink
As you can see here, the patch is relatively simple and it should be
relatively safe to apply it.

** Patch added: "99-kile3-filechange-refresh.patch"
https://bugs.launchpad.net/ubuntu/+source/okular/+bug/1801911/+attachment/5211731/+files/99-kile3-filechange-refresh.patch
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to okular in Ubuntu.
https://bugs.launchpad.net/bugs/1801911

Title:
No notification (or automatic reload) when file changed on disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/okular/+bug/1801911/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/
Ubuntu Foundations Team Bug Bot
2018-11-12 12:23:32 UTC
Permalink
The attachment "99-kile3-filechange-refresh.patch" seems to be a patch.
If it isn't, please remove the "patch" flag from the attachment, remove
the "patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to okular in Ubuntu.
https://bugs.launchpad.net/bugs/1801911

Title:
No notification (or automatic reload) when file changed on disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/okular/+bug/1801911/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
Loading...