denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no interaction print view to main window on linux


From: Richard Shann
Subject: Re: no interaction print view to main window on linux
Date: Sat, 03 Oct 2020 16:28:47 +0100

On Sat, 2020-10-03 at 17:11 +0200, Ramon Dor wrote:
> Yes, I see your point.
> I have, however, tried this both with version 2.4.0 and 2.4.3, so
> would think this has something to do with my os. 
> some incompatibility / version conflict / permissions that will block
> what would normally be working.
> might it have something to do with installing the app?

Eventually it may be a question the the version of libevince installed
on your machine. (In fact you could test 
http://www.denemo.org/~rshann/denemo_2.4.x.AppImage
which has a libevince built in)

But to narrow it down I would run

gdb denemo


b action_for_link

r

and then try clicking on a link in the Print View.

(I'm guessing you are familiar with gdb? If not ask!)

Richard



>  
>  
> 
> On Sat, 3 Oct 2020 at 17:04, Richard Shann <richard@rshann.plus.com>
> wrote:
> > On Sat, 2020-10-03 at 16:48 +0200, Ramon Dor wrote:
> > > tooltip appears on hover after waiting a few seconds. it contains
> > > what I would suspect is a valid link from the pdf tag with a
> > format:
> > > textedit:///tmp/Denemo/..... ..... /DenemoprintB.ly:19:12:13,
> > where
> > > each note gets a unique xx:xx;xx at the end. 
> > > so this seems to work just fine. I think, however, that there is
> > a
> > > lack of communication between the print view and the rest of the
> > > application.
> > 
> > yes, the Evince library is supposed to emit a signal when you click
> > on
> > a link, and Denemo has a signal handler connected for it
> > 
> >   g_signal_connect (G_OBJECT (Denemo.printarea), "external-link",
> > G_CALLBACK (action_for_link), NULL);
> > 
> > at  printview.c:2779
> > 
> > so breaking gdb on the function action_for_link would establish
> > that
> > the signal is not being emitted (assuming line 2779 was executed!).
> > 
> > Richard
> > 
> > 
> > > 
> > > On Sat, 3 Oct 2020 at 16:40, Richard Shann <richard@rshann.plus.c
> > om>
> > > wrote:
> > > > On Sat, 2020-10-03 at 16:17 +0200, Ramon Dor wrote:
> > > > > hi Richard, thanks for your quick reply!
> > > > > started from the terminal.
> > > > > left clicking on a note in the print view window (when the
> > hand-
> > > > > pointer is showing on hover) has no effect at all.
> > > > > terminal prints no errors / warnings, in fact, nothing at all
> > > > beyond
> > > > > the line:
> > > > > "Log level set to 287"
> > > > > Lilypond window is not affected either. 
> > > > > do the terminal messages on startup have anything to do with
> > it?
> > > > (I
> > > > > assume they have to do only with Alsa / Jack) 
> > > > > "Cannot connect to server socket err = No such file or
> > directory"
> > > > > "Cannot connect to server request channel"
> > > > yes, I'm afraid those are normal, the portaudio library tries
> > > > various
> > > > things and reports about it.
> > > > 
> > > > You didn't mention whether the tooltip pops up when you have
> > moved
> > > > the
> > > > arrow pointer to a note (the "hand" pointer appears) and waited
> > a
> > > > few
> > > > seconds. This tooltip is a feature of the Evince library and
> > the
> > > > failure of it to appear would imply that the links are not
> > being
> > > > emitted. In fact, if you use the PDF button in the Print View
> > to
> > > > create
> > > > a pdf file and open that in a viewer it should be the case that
> > the
> > > > notes still have a link attached to them - again (depending on
> > the
> > > > pdf
> > > > viewer used, I have atril) there may be a tooltip and it should
> > > > throw
> > > > an error when you try to click the link. (Because it doesn't
> > know
> > > > what
> > > > the protocol textedit: of the link means, it being internal to
> > > > Denemo).
> > > > 
> > > > Some other tests (with a terminal)
> > > > 
> > > > A right-click on a note should emit this:
> > > > 
> > > > Looking at target Note on grob #fwith tag #f ok?
> > > > 
> > > > and, if you insert a rehearsal mark (Fn9) then right click on
> > the
> > > > "A"
> > > > that appears in the typeset should report
> > > > 
> > > > Looking at target Object on grob RehearsalMarkwith tag
> > > > RehearsalMark
> > > > ok?
> > > > 
> > > > Richard
> > > > 
> > > > 
> > > > 
> > > > 
> > 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]