rkward --reuse also broken?

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Fri Sep 16 06:59:32 UTC 2016


Hi,

On Thu, 15 Sep 2016 23:32:19 +0200
meik michalke <meik.michalke at uni-duesseldorf.de> wrote:
> Am Donnerstag, 15. September 2016, 22:10:50 CEST schrieb Thomas 
> Friedrichsmeier:
> > > now i guess there's only the output file update issue open. was
> > > the message of my screenshot helpful for generating an hypothesis?
> > 
> > sort of slipped by, sorry. No, I don't think that message helps us.
> > Is the problem affecting the KDE 4 version, only, or also KF5?
> 
> both have the same problem. i'll try booting the stick on a real
> system to see if it's an issue with virtualbox.
> 
> > Do you intend to put both on the stick?
> 
> with the latest fixes, i think i'll got for the KF5 version.

Ok, I'll focus on the KF5 version, then.

The interesting thing is that file change notification does seem to
work, in general. For instance, when opening a script file, and
touching that, externally, you do get the file modified on disk warning.

I now tried to mimick ktexteditor's way of watching files, more
closely. Actually, I don't see how it could make a difference (seems to
apply for symlinks, only), but who knows. I also added a bunch of
debug diagnostics around this, in case it still does not work.

Running at --debug-level 4, some of the things you should be seeing in
the logs is:
  setting default ouput file to /home/thomas/.rkward/rk_out.html
     (/home/thomas/.rkward//rk_out.html), from
  starting to watch /home/thomas/.rkward/rk_out.html for changes,
     KDirWatch method 1

and, hopefully:
  changed /home/thomas/.rkward/rk_out.html, window (nil)
  Navigation request to file:///home/thomas/.rkward/rk_out.html

Sorry, I'm not up to speed on how to update the rkward inside the
image, and a bit short on time. Could you test?

BTW, about that "KDirWatch method", KDirWatch supports several
backends, depending on what is installed. The enum is "Method { FAM,
INotify, Stat, QFSWatch }". So, on my system "inotify" appears to be
used (second index, counting from 0). Perhaps toy with installing some
related packages on the VM.

If all else fails, we'll set up some dirty temporary workaround to
simply trigger a refresh after every .rk.cat.output() or something.

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20160916/e5488377/attachment.sig>


More information about the rkward-devel mailing list