Re: [Denemo-devel] Print View behaviour (was Re: Beginner questions (cross-staff, PNG selection export, feathered beams, batch export, Print View behaviour))

2019-08-20 Thread Richard Shann
On Tue, 2019-08-20 at 13:07 +0200, Lib Lists wrote:
> > I think the only way to make progress would be to use a debugger to
> > find out how this is coming about - do you have gdb installed on
> > your
> > Mac?
> 
> No, and it seems quite difficult to install it on a mac. However, I
> have lldb installed. I'd like to try with it before going through gdb
> installation. https://lldb.llvm.org/use/map.html
> Could you give me some hints on how to proceed?

As I was looking into what would be the likely place to catch the bad
behavior I came across the reason this is happening on Mac. It would
seem that the Mac handles pop-up windows in a way that makes it
desirable to hide the other windows while the pop up holds the focus.
Unfortunately, Denemo is unhiding the windows at the end of the pop up
dialog without taking note if they were visible before the pop up.
I've fixed this now, but I can't see a way to work around the problem.
With gdb you can change the value of one of the preferences at run time
 with the command

set Denemo.prefs.hide_windows=0

and the Print View would not appear at the end of a dialog, however the
 link you gave does not indicate an equivalent command to do that in
LLDB and, in any case, you would then get whatever undesirable behavior
the hiding of the windows was meant to fix :(

Richard




___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] Print View behaviour (was Re: Beginner questions (cross-staff, PNG selection export, feathered beams, batch export, Print View behaviour))

2019-08-20 Thread Joe Wilkinson via Denemo-devel
Just found out why; the display is forced wide as I have too wide a 
General Pallette; I've lazily added too many buttons!


Joe

On 20/08/2019 14:26, Joe Wilkinson wrote:


would be nice if in my Windows (10) version, the Opening window did 
not default to a size that was too wide for the display


On 20/08/2019 12:07, Lib Lists wrote:

On Mon, 19 Aug 2019 at 18:56, Richard Shann  wrote:

On Mon, 2019-08-19 at 17:32 +0200, Lib Lists wrote:

On Thu, 15 Aug 2019 at 13:22, Richard Shann
wrote:

On Tue, 2019-08-13 at 10:56 +0200, Lib Lists wrote:

How did you try to close it? The only way that will surely work
is
to
use the View menu - anything else depends on the what the
window
manager decides to do - in this case it seems it is iconizing
the
window.

I just tried from the View menu (by unchecking 'Typeset Music'),
but
the Print View window reappears as soon as I type and confirm
something in a pop-up window. Also, when I relaunch Denemo the
Print
View window appears, even if it was closed before closing Denemo.

The View window should only reappear on start up only if the
Continuous
Typesetting was set when Denemo was shutdown. You can check this by
looking at the file .denemo-2.2.0/denemorc which will contain an
entry

1

if continuous typesetting was unset or

0

if continuous typesetting was set.

Do both of the symptoms you describe occur when Continuous
Typesetting
is off? That would, indeed be bizarre...

Hi, when I restart Denemo with Continuous Typesetting Off the Print
View window doesn't appear. Unfortunately it comes back as soon as I
type something in a pop-up.

This sounds quite bizarre. As a final check, can you open the Scheme
Window and put

(d-GetUserInput)

in the CLI box and press Enter to execute it. When enter something in
the dialog that pops up and press return does the Print View appear?
No additional code should be executed at that point - the value is just
being discarded, so nothing should happen.

Hi, just tried, the Print View appears.


I think the only way to make progress would be to use a debugger to
find out how this is coming about - do you have gdb installed on your
Mac?

No, and it seems quite difficult to install it on a mac. However, I
have lldb installed. I'd like to try with it before going through gdb
installation.https://lldb.llvm.org/use/map.html
Could you give me some hints on how to proceed?


  In that case the Print View is grey, i.e.
there's no score (obviously) but still it comes back to focus on the
foreground, on top of the Denemo Display. Also, the Print View window
doesn't remember its position when restarting Denemo, but it always
comes back on the left-hand side. Is that the intended behaviour?

The print view does come back centered if it has been left in
Continuous Typesetting, I think ideally all windows would remember
where they were positioned the last time Denemo was shut down.

In my case the Print View appears always at the upper-left corner.
It'd be nice if the windows would remember their position and size.

Lib


Richard





___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] PNG selection export (was Re: Beginner questions (cross-staff, PNG selection export, feathered beams, batch export, Print View behaviour))

2019-08-20 Thread Lib Lists
On Mon, 19 Aug 2019 at 18:25, Richard Shann  wrote:
>
> On Sat, 2019-08-17 at 13:02 +0200, Lib Lists wrote:
> > Yes, I noticed that there are no updated builds for MacOS. Do you
> > know
> > how difficult is to build for MacOS?
> The builds that are on the Downloads page of denemo.org were made by
> Jeremiah Benham, but he doesn't have access to a Mac for testing (I
> think they were cross-built). Is it one of these that you are using?

Yes, the one I'm using is taken from here: http://www.denemo.org/downloads-page/

>
> >  Otherwise I'll give a try running
> > the Windows version with Wine / Crossover.

Just tried, it doesn't work and it doesn't look promising (just a
black window and then a crash).

>
> The Windows version is built daily (again cross-compiling on a Unix
> machine).
>
> I'm not sure how difficult it would be to build Denemo natively on a
> Mac - many years ago I used to build it natively on Windows, I guess it
> would depend on the availability of the many libraries for the Mac.

I might give it a try in few weeks.

Lib

>
> HTH
>
> Richard

___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] Print View behaviour (was Re: Beginner questions (cross-staff, PNG selection export, feathered beams, batch export, Print View behaviour))

2019-08-20 Thread Lib Lists
On Mon, 19 Aug 2019 at 18:56, Richard Shann  wrote:
>
> On Mon, 2019-08-19 at 17:32 +0200, Lib Lists wrote:
> > On Thu, 15 Aug 2019 at 13:22, Richard Shann 
> > wrote:
> > >
> > > On Tue, 2019-08-13 at 10:56 +0200, Lib Lists wrote:
> > > > > How did you try to close it? The only way that will surely work
> > > > > is
> > > > > to
> > > > > use the View menu - anything else depends on the what the
> > > > > window
> > > > > manager decides to do - in this case it seems it is iconizing
> > > > > the
> > > > > window.
> > > >
> > > > I just tried from the View menu (by unchecking 'Typeset Music'),
> > > > but
> > > > the Print View window reappears as soon as I type and confirm
> > > > something in a pop-up window. Also, when I relaunch Denemo the
> > > > Print
> > > > View window appears, even if it was closed before closing Denemo.
> > >
> > > The View window should only reappear on start up only if the
> > > Continuous
> > > Typesetting was set when Denemo was shutdown. You can check this by
> > > looking at the file .denemo-2.2.0/denemorc which will contain an
> > > entry
> > >
> > > 1
> > >
> > > if continuous typesetting was unset or
> > >
> > > 0
> > >
> > > if continuous typesetting was set.
> > >
> > > Do both of the symptoms you describe occur when Continuous
> > > Typesetting
> > > is off? That would, indeed be bizarre...
> >
> > Hi, when I restart Denemo with Continuous Typesetting Off the Print
> > View window doesn't appear. Unfortunately it comes back as soon as I
> > type something in a pop-up.
>
> This sounds quite bizarre. As a final check, can you open the Scheme
> Window and put
>
> (d-GetUserInput)
>
> in the CLI box and press Enter to execute it. When enter something in
> the dialog that pops up and press return does the Print View appear?
> No additional code should be executed at that point - the value is just
> being discarded, so nothing should happen.

Hi, just tried, the Print View appears.

>
> I think the only way to make progress would be to use a debugger to
> find out how this is coming about - do you have gdb installed on your
> Mac?

No, and it seems quite difficult to install it on a mac. However, I
have lldb installed. I'd like to try with it before going through gdb
installation. https://lldb.llvm.org/use/map.html
Could you give me some hints on how to proceed?

>
> >  In that case the Print View is grey, i.e.
> > there's no score (obviously) but still it comes back to focus on the
> > foreground, on top of the Denemo Display. Also, the Print View window
> > doesn't remember its position when restarting Denemo, but it always
> > comes back on the left-hand side. Is that the intended behaviour?
>
> The print view does come back centered if it has been left in
> Continuous Typesetting, I think ideally all windows would remember
> where they were positioned the last time Denemo was shut down.

In my case the Print View appears always at the upper-left corner.
It'd be nice if the windows would remember their position and size.

Lib

>
> Richard
>
>
>
>

___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel