Re: No paragraph alignment options

2007-06-25 Thread Helge Hafting
Edwin Leuven wrote: Alfredo Braunstein wrote: Edwin Leuven wrote: case 2 is in my opinion not so relevant because i don't see why (in the current solution) one would have default unchecked and then choose the explicit alignment that matches default behavior One such cases: I'm in Standard

Re: No paragraph alignment options

2007-06-25 Thread Helge Hafting
Edwin Leuven wrote: Alfredo Braunstein wrote: Edwin Leuven wrote: case 2 is in my opinion not so relevant because i don't see why (in the current solution) one would have default unchecked and then choose the explicit alignment that matches default behavior One such cases: I'm in Standard

Re: No paragraph alignment options

2007-06-23 Thread Abdelrazak Younes
Richard Heck wrote: Alfredo Braunstein wrote: What happends if the user moves the cursor when the dialog is open, does it get updated? The dialog is presently modal, precisely because there's no reliable trigger right now to do the update. Making this work involves re-working the

Re: No paragraph alignment options

2007-06-23 Thread Abdelrazak Younes
Richard Heck wrote: Alfredo Braunstein wrote: What happends if the user moves the cursor when the dialog is open, does it get updated? The dialog is presently modal, precisely because there's no reliable trigger right now to do the update. Making this work involves re-working the

RE: Re: No paragraph alignment options

2007-06-22 Thread Leuven, E.
Alfredo Braunstein wrote: Specially with new document classes I normally don't know what the layouts really are so I switch back and forth several times... i agree that the only situation where this might reasonably occur is when switching document classes. so given that: - people don't

RE: Re: No paragraph alignment options

2007-06-22 Thread Juergen Spitzmueller
Leuven, E. wrote: - case 1 2 are rare No, they're not. Jürgen

RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Leuven, E.
- case 1 2 are rare No, they're not. where do you get your stats from?

RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Juergen Spitzmueller
Leuven, E. wrote: No, they're not. where do you get your stats from? Where do you get your stats from? I just think it's wrong to assume that justified is the de facto standard alignment. This might be true for standard paragraphs in most book and article classes, for others it is not. I

RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Leuven, E.
Alfredo Braunstein wrote: Let me give you another case: I often write my titles first in Standard Layout and *then* switch the layout to Title. With your approach I would have to manually center it. Awful. no. reread what i wrote: i would be fine with having the default take precedence in

RE: RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Leuven, E.
Juergen Spitzmueller wrote: Where do you get your stats from? from a very reliable source I just think it's wrong to assume that justified is the de facto standard alignment. ? you are misunderstanding me. the inset/layout should tell us what the default is (and i think it does at the

RE: Re: No paragraph alignment options

2007-06-22 Thread Alfredo Braunstein
Leuven, E. wrote: so given that: - people don't switch document classes often (i for example never do) - switching document layouts often involve information loss because they do not define similar environments - case 1 2 are rare Let me give you another case: I often write my titles

RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Alfredo Braunstein
Leuven, E. wrote: Alfredo Braunstein wrote: Let me give you another case: I often write my titles first in Standard Layout and *then* switch the layout to Title. With your approach I would have to manually center it. Awful. no. reread what i wrote: That implies I've read it in the

RE: RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Juergen Spitzmueller
Leuven, E. wrote: you are misunderstanding me. the inset/layout should tell us what the default is (and i think it does at the moment). so sometimes this will be justified, in other cases center, etc. I obviously did. Sorry. I'm still not entirely convinced. Jürgen

RE: RE: RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Leuven, E.
I obviously did. Sorry. I'm still not entirely convinced. i was thinking like the attached... Index: src/frontends/qt4/QParagraph.cpp === --- src/frontends/qt4/QParagraph.cpp (revision 18850) +++ src/frontends/qt4/QParagraph.cpp

Re: No paragraph alignment options

2007-06-22 Thread Richard Heck
Alfredo Braunstein wrote: What happends if the user moves the cursor when the dialog is open, does it get updated? The dialog is presently modal, precisely because there's no reliable trigger right now to do the update. Making this work involves re-working the controller fairly extensively,

Re: No paragraph alignment options

2007-06-22 Thread Richard Heck
Alfredo Braunstein wrote: Leuven, E. wrote: Alfredo Braunstein wrote: since default takes precedence things go fine in your example. I see. WRT the current situation, your approach tends to make things default (on layout switching) against user will, which is sort of lyx philosophy:

RE: Re: No paragraph alignment options

2007-06-22 Thread Leuven, E.
Alfredo Braunstein wrote: > Specially with new document classes I normally don't know what the layouts > really are so I switch back and forth several times... i agree that the only situation where this might reasonably occur is when switching document classes. so given that: - people don't

RE: Re: No paragraph alignment options

2007-06-22 Thread Juergen Spitzmueller
Leuven, E. wrote: > - case 1 & 2 are rare No, they're not. Jürgen

RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Leuven, E.
>> - case 1 & 2 are rare > > No, they're not. where do you get your stats from?

RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Juergen Spitzmueller
Leuven, E. wrote: >> No, they're not. > > where do you get your stats from? Where do you get your stats from? I just think it's wrong to assume that justified is the de facto "standard" alignment. This might be true for standard paragraphs in most book and article classes, for others it is

RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Leuven, E.
Alfredo Braunstein wrote: > Let me give you another case: I often write my titles first in Standard > Layout and *then* switch the layout to Title. With your approach I would > have to manually center it. Awful. no. reread what i wrote: "i would be fine with having the default take precedence

RE: RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Leuven, E.
Juergen Spitzmueller wrote: > Where do you get your stats from? from a very reliable source > I just think it's wrong to assume that justified is the de facto "standard" > alignment. ? you are misunderstanding me. the inset/layout should tell us what the default is (and i think it does at

RE: Re: No paragraph alignment options

2007-06-22 Thread Alfredo Braunstein
Leuven, E. wrote: > so given that: > > - people don't switch document classes often (i for example never do) > - switching document layouts often involve information loss because they > do not define similar environments - case 1 & 2 are rare Let me give you another case: I often write my

RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Alfredo Braunstein
Leuven, E. wrote: > Alfredo Braunstein wrote: >> Let me give you another case: I often write my titles first in Standard >> Layout and *then* switch the layout to Title. With your approach I would >> have to manually center it. Awful. > > no. > > reread what i wrote: That implies I've read it

RE: RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Juergen Spitzmueller
Leuven, E. wrote: > you are misunderstanding me. the inset/layout should tell us what the > default is (and i think it does at the moment). so sometimes this will be > justified, in other cases center, etc. I obviously did. Sorry. I'm still not entirely convinced. Jürgen

RE: RE: RE: RE: Re: No paragraph alignment options

2007-06-22 Thread Leuven, E.
> I obviously did. Sorry. I'm still not entirely convinced. i was thinking like the attached... Index: src/frontends/qt4/QParagraph.cpp === --- src/frontends/qt4/QParagraph.cpp (revision 18850) +++ src/frontends/qt4/QParagraph.cpp

Re: No paragraph alignment options

2007-06-22 Thread Richard Heck
Alfredo Braunstein wrote: What happends if the user moves the cursor when the dialog is open, does it get updated? The dialog is presently modal, precisely because there's no reliable trigger right now to do the update. Making this work involves re-working the controller fairly extensively,

Re: No paragraph alignment options

2007-06-22 Thread Richard Heck
Alfredo Braunstein wrote: Leuven, E. wrote: Alfredo Braunstein wrote: since default takes precedence things go fine in your example. I see. WRT the current situation, your approach tends to make things default (on layout switching) against user will, which is sort of lyx philosophy:

Re: No paragraph alignment options

2007-06-21 Thread Edwin Leuven
Bennett Helm wrote: X Default o Justified o Left o Center o Right maybe giving the choice between default or environment default and custom or force makes it more explicit? o Default o Custom o Justified o Left o Center o Right it would of course be nicer if we could tell

Re: No paragraph alignment options

2007-06-21 Thread Helge Hafting
Bennett Helm wrote: It shouldn't be a radio button just like the others, since it's not an option in the way that the others are. Sorry, but I consider that a bad argument. Sure, default is a bit different. That does NOT imply it can't be a radio button like the rest. To me, default means

Re: No paragraph alignment options

2007-06-21 Thread Anders Ekberg
On 21 jun 2007, at 13.12, Helge Hafting wrote: Bennett Helm wrote: It shouldn't be a radio button just like the others, since it's not an option in the way that the others are. Sorry, but I consider that a bad argument. Sure, default is a bit different. That does NOT imply it can't be a

Re: No paragraph alignment options

2007-06-21 Thread Richard Heck
Anders Ekberg wrote: On 21 jun 2007, at 13.12, Helge Hafting wrote: Bennett Helm wrote: It shouldn't be a radio button just like the others, since it's not an option in the way that the others are. Sorry, but I consider that a bad argument. Sure, default is a bit different. That does NOT

Re: No paragraph alignment options

2007-06-21 Thread Edwin Leuven
and this one doesn't make sense: if we could tell beforehand what the default was because then we could show something like: o Justified (default) o Left o Center o Right ?

Re: No paragraph alignment options

2007-06-21 Thread Bennett Helm
On Jun 21, 2007, at 11:38 AM, Edwin Leuven wrote: and this one doesn't make sense: if we could tell beforehand what the default was because then we could show something like: o Justified (default) o Left o Center o Right ? Of the options I've seen, I agree that this is the best.

Re: No paragraph alignment options

2007-06-21 Thread Richard Heck
Bennett Helm wrote: On Jun 21, 2007, at 11:38 AM, Edwin Leuven wrote: and this one doesn't make sense: if we could tell beforehand what the default was because then we could show something like: o Justified (default) o Left o Center o Right ? Of the options I've seen, I agree that this is

Re: No paragraph alignment options

2007-06-21 Thread Alfredo Braunstein
Bennett Helm wrote: On Jun 21, 2007, at 11:38 AM, Edwin Leuven wrote: and this one doesn't make sense: if we could tell beforehand what the default was because then we could show something like: o Justified (default) o Left o Center o Right ? Of the options I've seen, I agree

Re: No paragraph alignment options

2007-06-21 Thread Anders Ekberg
On Jun 21, 2007, at 17:28 , Richard Heck wrote: Anders Ekberg wrote: On 21 jun 2007, at 13.12, Helge Hafting wrote: Bennett Helm wrote: It shouldn't be a radio button just like the others, since it's not an option in the way that the others are. Sorry, but I consider that a bad argument.

Re: No paragraph alignment options

2007-06-21 Thread Edwin Leuven
Alfredo Braunstein wrote: This is bad. What if the user changes layout (or worse document class) and the new layout has different default alignment? You are losing information here. ah, i see the problem now. there seem to be 2 problem cases: 1 x is set and we change the default to x: 2 x

Re: No paragraph alignment options

2007-06-21 Thread Alfredo Braunstein
Edwin Leuven wrote: case 2 is in my opinion not so relevant because i don't see why (in the current solution) one would have default unchecked and then choose the explicit alignment that matches default behavior One such cases: I'm in Standard Layout and I want my par centered so I set it

Re: No paragraph alignment options

2007-06-21 Thread Edwin Leuven
Alfredo Braunstein wrote: Edwin Leuven wrote: case 2 is in my opinion not so relevant because i don't see why (in the current solution) one would have default unchecked and then choose the explicit alignment that matches default behavior One such cases: I'm in Standard Layout and I want my

Re: No paragraph alignment options

2007-06-21 Thread Alfredo Braunstein
Edwin Leuven wrote: Alfredo Braunstein wrote: Edwin Leuven wrote: case 2 is in my opinion not so relevant because i don't see why (in the current solution) one would have default unchecked and then choose the explicit alignment that matches default behavior One such cases: I'm in

Re: No paragraph alignment options

2007-06-21 Thread Edwin Leuven
Bennett Helm wrote: X Default o Justified o Left o Center o Right maybe giving the choice between "default" or "environment default" and "custom" or "force" makes it more explicit? o Default o Custom o Justified o Left o Center o Right it would of course be nicer if we

Re: No paragraph alignment options

2007-06-21 Thread Helge Hafting
Bennett Helm wrote: It shouldn't be a radio button just like the others, since it's not an option in the way that the others are. Sorry, but I consider that a bad argument. Sure, "default" is a bit different. That does NOT imply it can't be a radio button like the rest. To me, "default"

Re: No paragraph alignment options

2007-06-21 Thread Anders Ekberg
On 21 jun 2007, at 13.12, Helge Hafting wrote: Bennett Helm wrote: It shouldn't be a radio button just like the others, since it's not an option in the way that the others are. Sorry, but I consider that a bad argument. Sure, "default" is a bit different. That does NOT imply it can't be a

Re: No paragraph alignment options

2007-06-21 Thread Richard Heck
Anders Ekberg wrote: On 21 jun 2007, at 13.12, Helge Hafting wrote: Bennett Helm wrote: It shouldn't be a radio button just like the others, since it's not an option in the way that the others are. Sorry, but I consider that a bad argument. Sure, "default" is a bit different. That does NOT

Re: No paragraph alignment options

2007-06-21 Thread Edwin Leuven
and this one doesn't make sense: if we could tell beforehand what the default was because then we could show something like: o Justified (default) o Left o Center o Right ?

Re: No paragraph alignment options

2007-06-21 Thread Bennett Helm
On Jun 21, 2007, at 11:38 AM, Edwin Leuven wrote: and this one doesn't make sense: if we could tell beforehand what the default was because then we could show something like: o Justified (default) o Left o Center o Right ? Of the options I've seen, I agree that this is the best.

Re: No paragraph alignment options

2007-06-21 Thread Richard Heck
Bennett Helm wrote: On Jun 21, 2007, at 11:38 AM, Edwin Leuven wrote: and this one doesn't make sense: if we could tell beforehand what the default was because then we could show something like: o Justified (default) o Left o Center o Right ? Of the options I've seen, I agree that this is

Re: No paragraph alignment options

2007-06-21 Thread Alfredo Braunstein
Bennett Helm wrote: > On Jun 21, 2007, at 11:38 AM, Edwin Leuven wrote: > >> and this one doesn't make sense: >> >> if we could tell beforehand what the default was because then we >> could show something like: >> >> o Justified (default) >> o Left >> o Center >> o Right >> >> >> ? >> > > Of

Re: No paragraph alignment options

2007-06-21 Thread Anders Ekberg
On Jun 21, 2007, at 17:28 , Richard Heck wrote: Anders Ekberg wrote: On 21 jun 2007, at 13.12, Helge Hafting wrote: Bennett Helm wrote: It shouldn't be a radio button just like the others, since it's not an option in the way that the others are. Sorry, but I consider that a bad argument.

Re: No paragraph alignment options

2007-06-21 Thread Edwin Leuven
Alfredo Braunstein wrote: This is bad. What if the user changes layout (or worse document class) and the new layout has different default alignment? You are losing information here. ah, i see the problem now. there seem to be 2 problem cases: 1 x is set and we change the default to x: 2 x

Re: No paragraph alignment options

2007-06-21 Thread Alfredo Braunstein
Edwin Leuven wrote: > case 2 is in my opinion not so relevant because i don't see why (in the > current solution) one would have default unchecked and then choose the > explicit alignment that matches default behavior One such cases: I'm in Standard Layout and I want my par centered so I set it

Re: No paragraph alignment options

2007-06-21 Thread Edwin Leuven
Alfredo Braunstein wrote: Edwin Leuven wrote: case 2 is in my opinion not so relevant because i don't see why (in the current solution) one would have default unchecked and then choose the explicit alignment that matches default behavior One such cases: I'm in Standard Layout and I want my

Re: No paragraph alignment options

2007-06-21 Thread Alfredo Braunstein
Edwin Leuven wrote: > Alfredo Braunstein wrote: >> Edwin Leuven wrote: >> >>> case 2 is in my opinion not so relevant because i don't see why (in the >>> current solution) one would have default unchecked and then choose the >>> explicit alignment that matches default behavior >> >> One such

No paragraph alignment options

2007-06-20 Thread Neal Becker
1.50rc1. Under paragraph settings dialog, all alignment options always seem to be greyed out.

Re: No paragraph alignment options

2007-06-20 Thread Bennett Helm
On Jun 20, 2007, at 1:54 PM, Neal Becker wrote: 1.50rc1. Under paragraph settings dialog, all alignment options always seem to be greyed out. Did you uncheck the Default box? Bennett

Re: No paragraph alignment options

2007-06-20 Thread Neal Becker
Bennett Helm wrote: On Jun 20, 2007, at 1:54 PM, Neal Becker wrote: 1.50rc1. Under paragraph settings dialog, all alignment options always seem to be greyed out. Did you uncheck the Default box? Ah! Well, at least one reasonably intelligent somewhat experienced lyx user was confused

Re: No paragraph alignment options

2007-06-20 Thread Bennett Helm
On Jun 20, 2007, at 2:56 PM, Neal Becker wrote: Bennett Helm wrote: On Jun 20, 2007, at 1:54 PM, Neal Becker wrote: 1.50rc1. Under paragraph settings dialog, all alignment options always seem to be greyed out. Did you uncheck the Default box? Ah! Well, at least one reasonably

Re: No paragraph alignment options

2007-06-20 Thread Richard Heck
Bennett Helm wrote: On Jun 20, 2007, at 2:56 PM, Neal Becker wrote: Bennett Helm wrote: On Jun 20, 2007, at 1:54 PM, Neal Becker wrote: 1.50rc1. Under paragraph settings dialog, all alignment options always seem to be greyed out. Did you uncheck the Default box? Ah! Well, at least one

Re: No paragraph alignment options

2007-06-20 Thread Anders Ekberg
Richard Heck Wed, 20 Jun 2007 14:30:21 -0700 Bennett Helm wrote: On Jun 20, 2007, at 2:56 PM, Neal Becker wrote: Bennett Helm wrote: On Jun 20, 2007, at 1:54 PM, Neal Becker wrote: 1.50rc1. Under paragraph settings dialog, all alignment options always seem to be greyed out. Did you

Re: No paragraph alignment options

2007-06-20 Thread Bennett Helm
On Jun 20, 2007, at 6:22 PM, Anders Ekberg wrote: Richard Heck Wed, 20 Jun 2007 14:30:21 -0700 Bennett Helm wrote: On Jun 20, 2007, at 2:56 PM, Neal Becker wrote: Bennett Helm wrote: On Jun 20, 2007, at 1:54 PM, Neal Becker wrote: 1.50rc1. Under paragraph settings dialog, all alignment

No paragraph alignment options

2007-06-20 Thread Neal Becker
1.50rc1. Under paragraph settings dialog, all alignment options always seem to be greyed out.

Re: No paragraph alignment options

2007-06-20 Thread Bennett Helm
On Jun 20, 2007, at 1:54 PM, Neal Becker wrote: 1.50rc1. Under paragraph settings dialog, all alignment options always seem to be greyed out. Did you uncheck the "Default" box? Bennett

Re: No paragraph alignment options

2007-06-20 Thread Neal Becker
Bennett Helm wrote: > On Jun 20, 2007, at 1:54 PM, Neal Becker wrote: > >> 1.50rc1. Under paragraph settings dialog, all alignment options >> always seem >> to be greyed out. > > Did you uncheck the "Default" box? > Ah! Well, at least one reasonably intelligent somewhat experienced lyx user

Re: No paragraph alignment options

2007-06-20 Thread Bennett Helm
On Jun 20, 2007, at 2:56 PM, Neal Becker wrote: Bennett Helm wrote: On Jun 20, 2007, at 1:54 PM, Neal Becker wrote: 1.50rc1. Under paragraph settings dialog, all alignment options always seem to be greyed out. Did you uncheck the "Default" box? Ah! Well, at least one reasonably

Re: No paragraph alignment options

2007-06-20 Thread Richard Heck
Bennett Helm wrote: On Jun 20, 2007, at 2:56 PM, Neal Becker wrote: Bennett Helm wrote: On Jun 20, 2007, at 1:54 PM, Neal Becker wrote: 1.50rc1. Under paragraph settings dialog, all alignment options always seem to be greyed out. Did you uncheck the "Default" box? Ah! Well, at least one

Re: No paragraph alignment options

2007-06-20 Thread Anders Ekberg
Richard Heck Wed, 20 Jun 2007 14:30:21 -0700 Bennett Helm wrote: On Jun 20, 2007, at 2:56 PM, Neal Becker wrote: Bennett Helm wrote: On Jun 20, 2007, at 1:54 PM, Neal Becker wrote: 1.50rc1. Under paragraph settings dialog, all alignment options always seem to be greyed out. Did you

Re: No paragraph alignment options

2007-06-20 Thread Bennett Helm
On Jun 20, 2007, at 6:22 PM, Anders Ekberg wrote: Richard Heck Wed, 20 Jun 2007 14:30:21 -0700 Bennett Helm wrote: On Jun 20, 2007, at 2:56 PM, Neal Becker wrote: Bennett Helm wrote: On Jun 20, 2007, at 1:54 PM, Neal Becker wrote: 1.50rc1. Under paragraph settings dialog, all alignment