denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Building with Gtk 3.22


From: Andreas Schneider
Subject: Re: [Denemo-devel] Building with Gtk 3.22
Date: Sun, 15 Jan 2017 18:07:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0

Am 14.01.2017 um 19:58 schrieb Richard Shann:
>> Thanks for this. Yes, it will get harder to debug from now. I did have
>> an idea, though: do you have some window manager that is forcing the
>> Playback View window to be full screen or something? While developing
>> this code I ran into problems if the window was larger than the actual
>> page size (the yellow area not extending to left and top but leaving a
>> gray area outside the printed page).
>> I can't reproduce this on my machine, but it would explain things ...

I don't think so, the display size is much larger than the size of the
playback view window.

> I've just pushed a version to git that outputs debug information for
> clicking in the Print View window.
> 
> On typesetting the Print View (with the 8 quarter notes in two bars as
> before) the output is:
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> Collected 8 ids
> moment 0.00 tempo latestMoment 0.00
> moment 0.00 note latestMoment 0.00
> moment ... 0.00 note 0.25 9 21 60
> AdjustedElapsed time 0.00 note 60 line 21 column 9
> moment 0.25 note latestMoment 0.00
> moment ... 0.25 note 0.25 13 21 62
> AdjustedElapsed time 0.50 note 62 line 21 column 13
> moment 0.50 note latestMoment 0.25
> moment ... 0.50 note 0.25 16 21 64
> AdjustedElapsed time 1.00 note 64 line 21 column 16
> moment 0.75 note latestMoment 0.50
> moment ... 0.75 note 0.25 19 21 65
> AdjustedElapsed time 1.50 note 65 line 21 column 19
> moment 1.00 note latestMoment 0.75
> moment ... 1.00 note 0.25 9 22 67
> AdjustedElapsed time 2.00 note 67 line 22 column 9
> moment 1.25 note latestMoment 1.00
> moment ... 1.25 note 0.25 12 22 69
> AdjustedElapsed time 2.50 note 69 line 22 column 12
> moment 1.50 note latestMoment 1.25
> moment ... 1.50 note 0.25 15 22 71
> AdjustedElapsed time 3.00 note 71 line 22 column 15
> moment 1.75 note latestMoment 1.50
> moment ... 1.75 note 0.25 18 22 72
> AdjustedElapsed time 3.50 note 72 line 22 column 18
> 
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> 
> Shift Clicking below all notes (so nothing is found I see:
> 
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> 
> compare 247 169 with 133.89, 103.92
> compare 247 169 with 150.80, 101.12
> compare 247 169 with 167.71, 98.31
> compare 247 169 with 184.61, 95.51
> compare 247 169 with 209.04, 92.70
> compare 247 169 with 225.95, 89.90
> compare 247 169 with 242.97, 87.09
> compare 247 169 with 259.87, 84.29
> 
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> 
> Shift Clicking on the first note:
> 
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> 
> Found line 21 column 9
> Denemo - MESSAGE : Stopping playback
> Denemo - MESSAGE : Stopping playback
> 
> Found!!! Line 21 column 9 for (x, y) = (138, 104) 
> 
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> 
> Shift Clicking on the last note:
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> 
> compare 261 83 with 133.89, 103.92
> compare 261 83 with 150.80, 101.12
> compare 261 83 with 167.71, 98.31
> compare 261 83 with 184.61, 95.51
> compare 261 83 with 209.04, 92.70
> compare 261 83 with 225.95, 89.90
> compare 261 83 with 242.97, 87.09
> Found line 22 column 18
> Denemo - MESSAGE : Stopping playback
> Denemo - MESSAGE : Stopping playback
> 
> Found!!! Line 22 column 18 for (x, y) = (261, 83) 
> 
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> 
> Comparing this with your output should throw some light on what is going
> on.

Do I have to do something special to enable this debug output? I have
pulled the latest git and built it, but the only output I get is
Denemo - WARNING : Attaching timings to objects failed
when selecting the playback view, no debug output as you when I click
inside the playback view.

Andreas



reply via email to

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