On Saturday, October 23, 2021 2:04:55 P.M. ADT Richard Shann wrote: > On Sat, 2021-10-23 at 19:07 +0300, Lib Lists wrote: > > On Sat, 23 Oct 2021 at 18:16, Richard Shann <rich...@rshann.plus.com> > > > > wrote: > > > On Sat, 2021-10-23 at 17:02 +0300, Lib Lists wrote: > > > > On Sat, 23 Oct 2021 at 16:31, Richard Shann <rich...@rshann.plus. > > > > com> > > > > > > > > wrote: > > > > > On Sat, 2021-10-23 at 15:07 +0300, Lib Lists wrote: > > > > > > On Sat, 23 Oct 2021 at 14:42, Richard Shann <richard@rshann.p > > > > > > lus. > > > > > > com> > > > > > > > > > > > > wrote: > > > > > > > On Sat, 2021-10-23 at 13:45 +0300, Lib Lists wrote: > > > > > > > > On Sat, 23 Oct 2021 at 11:37, Richard Shann <richard@rsha > > > > > > > > nn.p > > > > > > > > lus. > > > > > > > > com> > > > > > > > > > > > > > > > > wrote: > > > > > > > > > On Fri, 2021-10-22 at 15:44 -0300, Robert Lewis wrote: > > > > > > > > > > Hello Richard - > > > > > > > > > > > > > > > > > > > > On Friday, October 22, 2021 5:39:06 A.M. ADT you > > > > > > > > > > > > > > > > > > > > wrote: > > > > > > > > > > > On Thu, 2021-10-21 at 16:47 -0300, Robert Lewis > > > > > > > > > > > > > > > > > > > > > > wrote: > > > > > > > > > > > > Hello - > > > > > > > > > > > > > > > > > > > > > > > > OS: Linux; Debian Bullseye > > > > > > > > > > > > Denemo Version: 2.5.0 from the Debian repository > > > > > > > > > > > > > > > > > > > > > > > > In this version I am unable to tweak Textual > > > > > > > > > > > > Annotations, > > > > > > > > > > > > Dynamics, > > > > > > > > > > > > Rehearsal > > > > > > > > > > > > Numbers, etc. in the Print View window. A right- > > > > > > > > > > > > click > > > > > > > > > > > > gives > > > > > > > > > > > > me > > > > > > > > > > > > the > > > > > > > > > > > > context > > > > > > > > > > > > menu (Help for Tweaks, Red dots and crosses, > > > > > > > > > > > > Score > > > > > > > > > > > > size), > > > > > > > > > > > > but > > > > > > > > > > > > there > > > > > > > > > > > > are no > > > > > > > > > > > > prompts when I left-click > > > > > > > > > > > > > > > > > > > > > > left-click starts playback from the object left- > > > > > > > > > > > clicked > > > > > > > > > > > on. > > > > > > > > > > > Right- > > > > > > > > > > > click > > > > > > > > > > > gives you a menu - if you are off any object it is > > > > > > > > > > > the > > > > > > > > > > > (Help > > > > > > > > > > > for > > > > > > > > > > > Tweaks, Red dots and crosses, Score size) menu > > > > > > > > > > > whereas > > > > > > > > > > > if > > > > > > > > > > > you > > > > > > > > > > > are > > > > > > > > > > > on an > > > > > > > > > > > object (hand pointer) it gives you the context > > > > > > > > > > > sensitive > > > > > > > > > > > menu > > > > > > > > > > > for > > > > > > > > > > > tweaking. > > > > > > > > > > > > > > > > > > > > That is what happened when I was using v. 2.4.0 > > > > > > > > > > (Andreas > > > > > > > > > > Schneider's > > > > > > > > > > .deb > > > > > > > > > > packages) in Debian Stretch, but not with v. 2.5.0 > > > > > > > > > > from > > > > > > > > > > the > > > > > > > > > > Debian > > > > > > > > > > repository > > > > > > > > > > for Bullseye, nor with v. 2.4.3 from Andreas > > > > > > > > > > Schneider's > > > > > > > > > > Bullseye > > > > > > > > > > .deb > > > > > > > > > > packages. > > > > > > > > > > > > > > > > > > > > Right-clicking does give me the the menu you > > > > > > > > > > described, > > > > > > > > > > but > > > > > > > > > > that > > > > > > > > > > is > > > > > > > > > > the only > > > > > > > > > > menu I get when clicking on or off an object. I do > > > > > > > > > > not > > > > > > > > > > get > > > > > > > > > > the > > > > > > > > > > context > > > > > > > > > > sensitive menu for tweaking when I right-click an > > > > > > > > > > object. > > > > > > > > > > > > > > > > > > > > Also, playing straight away does not happen when > > > > > > > > > > left- > > > > > > > > > > clicking on > > > > > > > > > > a > > > > > > > > > > note. > > > > > > > > > > > > > > > > > > > > > Incidentally, if you have already clicked an object > > > > > > > > > > > (blue > > > > > > > > > > > square on > > > > > > > > > > > the > > > > > > > > > > > object) then left-clicking will give you the > > > > > > > > > > > context > > > > > > > > > > > sensitive > > > > > > > > > > > menu, > > > > > > > > > > > rather than just starting playing straight away, > > > > > > > > > > > you > > > > > > > > > > > can > > > > > > > > > > > play > > > > > > > > > > > from > > > > > > > > > > > that > > > > > > > > > > > menu anyway. > > > > > > > > > > > > > > > > > > > > The blue square does not appear, and the context > > > > > > > > > > sensitive > > > > > > > > > > menu > > > > > > > > > > is > > > > > > > > > > not > > > > > > > > > > available. > > > > > > > > > > > > > > > > > > > > > > on the object when the hand pointer appears. > > > > > > > > > > > > > > > > > > > > > > > > Any suggestions? > > > > > > > > > > > > > > > > > > > > > > so, right not left click. > > > > > > > > > > > > > > > > > > > > > > Richard > > > > > > > > > > > > > > > > > > > > Everything works as expected in v. 2.4.0 on Debian > > > > > > > > > > Stretch, > > > > > > > > > > it's > > > > > > > > > > only with > > > > > > > > > > .deb packages for Bullseye that I have this problem. > > > > > > > > > > > > > > > > > > > > Any other suggestions or recommendations? > > > > > > > > > > > > > > > > > > The symptoms you are describing indicate that working > > > > > > > > > back > > > > > > > > > from > > > > > > > > > the > > > > > > > > > note in the pdf to the Denemo Display is not working. > > > > > > > > > > > > > > > > > > 1) What is the output on the terminal when you try to > > > > > > > > > click > > > > > > > > > on > > > > > > > > > a > > > > > > > > > note > > > > > > > > > in the Print View? > > > > > > > > > 2) When you hover over a title does a link (starting > > > > > > > > > Scheme: > > > > > > > > > ...) > > > > > > > > > appear? > > > > > > > > > 3) When you hover over a note does a link (starting > > > > > > > > > textedit:// > > > > > > > > > ...) > > > > > > > > > appear? (see attached) > > > > > > > > > > > > > > > > > > what version of LilyPond are you using? (In the Scheme > > > > > > > > > window > > > > > > > > > execute > > > > > > > > > > > > > > > > > > (d-InfoDialog (d-GetLilyVersion)) > > > > > > > > > > > > > > > > > > to get that. > > > > > > > > > > > > > > > > > > If the link appears in (3) above, open the file in /tmp > > > > > > > > > that is > > > > > > > > > specified in the link and look at the line and column > > > > > > > > > number > > > > > > > > > indicated > > > > > > > > > to see if it is the right place (send the file and link > > > > > > > > > text if > > > > > > > > > you > > > > > > > > > don't read LilyPond syntax at all). > > > > > > > > > > > > > > > > > > HTH > > > > > > > > > > > > > > > > > > Richard > > > > > > > > > BTW please use "Group Reply" or "Reply to All" so that > > > > > > > > > those > > > > > > > > > searching > > > > > > > > > the mailing list archives can follow the thread. > > > > > > > > > > > > > > > > Hello, I think I have the same problem in Denemo 2.5.3 > > > > > > > > installed > > > > > > > > from > > > > > > > > source using Lilypond 2.22. I'm using it on Lubuntu 20.04 > > > > > > > > running > > > > > > > > in > > > > > > > > VirtualBox on a Mac. > > > > > > > > If it helps, here's my results. > > > > > > > > 1) No output, but after adding any note in Denemo, the > > > > > > > > terminal > > > > > > > > shows > > > > > > > > 'Denemo - WARNING : Lilypond did not end successfully: > > > > > > > > Child > > > > > > > > process > > > > > > > > exited with code 1 > > > > > > > > Running lilypondLog level set to 287'. The Print View > > > > > > > > updates > > > > > > > > correctly. > > > > > > > > 2. Yes, the link appears. > > > > > > > > 3. Yes, I got a link. > > > > > > > > 4. In the Denemo print view > > > > > > > > > > > > > > ??? did you mean in the View->LilyPond view? > > > > > > > > > > > > No, I meant the position number Denemo print view's link vs. > > > > > > the > > > > > > position number that I got by opening the .ly file in the > > > > > > /tmp > > > > > > folder > > > > > > (opened with Frescobaldi). > > > > > > > > > > > > > > my first note is at position 10, while > > > > > > > > when I open the Lilypond file the first note is at > > > > > > > > position > > > > > > > > 0, > > > > > > > > i.e. > > > > > > > > 21:9:10 in Denemo vs. 21:9:0 in the Lilypond file. > > > > > > > > > > > > > > Thanks for this - could you post the lilypond file? (A > > > > > > > file created > > > > > > > with > > > > > > > > > > > > > > (d-New) > > > > > > > (d-C) > > > > > > > > > > > > > > would be ideal). > > > > > > > > > > > > See attached the .ly file created as you asked and exported > > > > > > from > > > > > > Denemo. > > > > > > > > > > > > > If I copy and paste the relevant bit of the LilyPond view I > > > > > > > get > > > > > > > this: > > > > > > > > > > > > > > MvmntIVoiceI = { > > > > > > > c'4 \AutoEndMovementBarline > > > > > > > } > > > > > > > > > > > > > > where you see 9 spaces appear before the note name c'4 > > > > > > > One of these is actually a special character - an anchor - > > > > > > > that > > > > > > > appears > > > > > > > in the LilyPond view as a gray square, the other 8 are > > > > > > > inserted > > > > > > > by > > > > > > > Denemo at the start of each measure. This code is > > > > > > > unconditional, so > > > > > > > there should be no way(*) that the first note name in a bar > > > > > > > could > > > > > > > appear in column 0. (TAB characters are avoided in the > > > > > > > output > > > > > > > because > > > > > > > they get interpreted differently by different libraries, > > > > > > > the > > > > > > > result > > > > > > > is > > > > > > > the rather untidy LilyPond syntax that you see in the > > > > > > > LilyPond > > > > > > > view > > > > > > > > > > > > > > :( > > > > > > > > > > > > > > ). > > > > > > > > > > > > Yes, I get the same as you (see attached Denemo_4.png). The > > > > > > difference > > > > > > in position appeared when I opened the .ly file in > > > > > > Frescobaldi. > > > > > > > > > > I just opened your Lilypond_example.ly in Frescobaldi version > > > > > 3.0.0 > > > > > and > > > > > it gave 9 spaces before the note name. In the attached > > > > > screenshot I > > > > > see > > > > > that Frescobaldi describes this as line: 19 col: 9 Pos:0 > > > > > I don't know what it means by "Pos: 0" but it is the column > > > > > number > > > > > that > > > > > is relevant - were you mislead by that? > > > > > > > > Hi, yes, I was mislead by the 'Pos: 0', which I think is related > > > > to > > > > the position within a bar (maybe?). > > > > > > > > > So, it would seem that the correct line/column target is being > > > > > detected > > > > > by the pdf handling library, so the next question would be "Is > > > > > the > > > > > step > > > > > from LilyPond source back to Denemo Display working?". To > > > > > answer > > > > > this > > > > > can you add another three C's to the score and the place the > > > > > Denemo > > > > > cursor in the LilyPond view on line 19 on the last of the C's > > > > > and > > > > > then > > > > > use the left-arrow on the keyboard to move back towards the > > > > > first > > > > > of > > > > > the C's. As the text cursor in the LilyPond window moves over > > > > > those > > > > > anchors the position of the Denemo cursor in the Display should > > > > > shift > > > > > to the respective note. Is this happening? If not is anything > > > > > being > > > > > reported in the terminal? > > > > > > > > Yes, this works as you described: as I move the cursor in the > > > > LilyPond > > > > window, the Denemo cursor shifts to the right note. Nothing is > > > > reported in the terminal. > > > > > > So we have narrowed the problem down to the stage where you right- > > > click > > > on a notehead (hand cursor appearing). I missed something important > > > when I asked what happens when you click on a note-head in the > > > Print > > > View. I should have said right-click, and also I should have asked > > > what > > > happens when you left click on a note-head - whether the Denemo > > > score > > > starts playing. In both right and left click cases the cursor > > > should > > > move to the appropriate note and in the case of right-click there > > > should be some debug output on the terminal saying: > > > > > > Looking at target Note on grob #fwith tag #f ok? > > > > Nothing happens whether I right or left-click, or better, when I > > right-click I get a pop-up with 3 options: Help for Tweaks, Red dots > > and crosses (Off/On), Score Size. > > > > > If that doesn't appear then executing this in the Scheme Window > > > will > > > give a clue. > > > > > > (d-InfoDialog (format #f "~s" (d-GetTargetInfo))) > > > > This is what I get when I execute this (see attached picture > > Denemo_5.png) > > > > > At this stage you could press Fn9 to insert a rehearsal mark and > > > then > > > right click in the Print View on the rehearsal mark that is > > > typeset. > > > The Denemo Cursor should move to the rehearsal mark object in the > > > Denemo Display and re-executing that Scheme script should say that > > > it > > > found the rehearsal mark. > > > > Unfortunately nothing happens, the Denemo Cursor doesn't move and > > re-executing the Scheme scripts gives the same as above (the windows > > with (#f #f #f). > > Hopefully I'm not hijacking this thread and my problem is actually > > the > > same as the OP's. > > Thanks to both of you for your replies > I'm confident it is the same problem: and putting all your information > together I think the answer will lie in the versions of Gtk in use. If > you can run the command > > denemo --version > > in a terminal for each of your configurations it may shed some light. > I'm afraid I haven't updated my Debian distro for a good while (I'm > still on Stretch I think) so it is all too possible that libevince has > altered its behavior. > > My output is as follows: > > rshann@debian:~/ denemo --version > GNU Denemo version 2.5.3 > Gtk versions runtime: 3.22.11, compiled against: 3.22.11, > . > > Richard
My output: 1. Debian Buster (this one works): GNU Denemo version 2.5.3 Gtk versions runtime: 3.24.5, compiled against: 3.22.11 2. Debian Bullseye (this one doesn't): GNU Denemo version 2.5.0 Gtk versions runtime: 3.24.24, compiled against: 3.24.24 HTH Robert