Re: LyX 2.4.0-beta2; zoom slider

2023-01-27 Thread Daniel

On 2023-01-27 07:30, Jürgen Spitzmüller wrote:

Am Mittwoch, dem 25.01.2023 um 19:26 +0100 schrieb Daniel:

Anyway, for system default, there is a solutions that seem compatible
with your position:

Set the system default to 100% (and even better make the system
default
so that it matches the actual size of the font). There was a
discussion
about this on the list if I remember correctly.


100% is way too low on all Linux system I have used. This is not a good
default.


Ah, that was poor explanation on my side. I meant: whatever LyX 
considers the correct system default, say 150% on macOS, make that show 
up as 100%.


Anyway, I also think the scaling factor alternative is better since it 
can satisfy more needs (for people who use a different default zoom).


Daniel


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: LyX 2.4.0-beta2; zoom slider

2023-01-26 Thread Jürgen Spitzmüller
Am Donnerstag, dem 26.01.2023 um 10:26 +0100 schrieb Daniel:
> And in order to not confuse users about different percentages, we
> would 
> call the "Default zoom %" just "Font scaling %" or so. It's already
> in 
> the Preferences font section anyway between fonts and font sizes, so
> the 
> user will make the connection easily.
> 
> So, the default zoom will always be 100% but the default font scaling
> can differ. This makes 10% increases round numbers.
> 
> This will also make setting the font scaling to something more 
> reasonable appear less strange. For example, on macOS the default
> zoom 
> is currently 150% while something closer to 152% is a better 
> representation of the actual font size on screen. We can calculate
> the 
> exact number from the DPI of the display and set it as system defaut
> and 
> also provide a "Reset to system default" button next to the "Font 
> scaling %".

This makes more sense, but in order to separate it from zoom I would
rather make it a scaling factor (e.g., 1.5) rather than a percentage
value.

-- 
Jürgen
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: LyX 2.4.0-beta2; zoom slider

2023-01-26 Thread Jürgen Spitzmüller
Am Mittwoch, dem 25.01.2023 um 19:26 +0100 schrieb Daniel:
> Anyway, for system default, there is a solutions that seem compatible
> with your position:
> 
> Set the system default to 100% (and even better make the system
> default 
> so that it matches the actual size of the font). There was a
> discussion 
> about this on the list if I remember correctly.

100% is way too low on all Linux system I have used. This is not a good
default.

-- 
Jürgen
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: LyX 2.4.0-beta2; zoom slider

2023-01-26 Thread Daniel

On 2023-01-25 19:26, Daniel wrote:

On 2023-01-25 18:00, Jürgen Spitzmüller wrote:

Am Mittwoch, dem 25.01.2023 um 17:02 +0100 schrieb Daniel:

I cannot reproduce with preview beta2. When clicking on +/-, I get
steps of 15%. Given that the (system) default is 150%,


Well, 15% is 10% of 150%.


I cannot get to 200% that way.


You need to set default zoom to either 100% or 200% to achieve that.


Also, once one has used the slider, one cannot get "round numbers"
anymore. I suggest to change it to how Word does it: the +
and - buttons always get you to "round numbers" with steps of 10%.
Then, for example, you can get fast to a certain point by using the
slider and then adjust to a round number with +/-.


This does not make sense to me, as you'd get a smaller range with 200%
default zoom that way. The larger the default, the larger the steps.
20% jumps make perfect sense to me on my setting with 200% default
zoom.

Word does not have the concept of an adjustable default zoom AFAIK.
They always have 100% as mean value. Same for Libre.


It might not make sense to you but now you know that it does to some 
people who are using not 100% or 200% zoom default and rather, say, 150% 
like the system default (at least on macOS).


Anyway, for system default, there is a solutions that seem compatible 
with your position:


Set the system default to 100% (and even better make the system default 
so that it matches the actual size of the font). There was a discussion 
about this on the list if I remember correctly.


That leaves people who are not happy with system default in the rain. 
You would lose round numbers that way, but I guess that is acceptable to 
you if you are consistent.


Alternatively, just name whatever is set as the default 100%?

Daniel


And in order to not confuse users about different percentages, we would 
call the "Default zoom %" just "Font scaling %" or so. It's already in 
the Preferences font section anyway between fonts and font sizes, so the 
user will make the connection easily.


So, the default zoom will always be 100% but the default font scaling 
can differ. This makes 10% increases round numbers.


This will also make setting the font scaling to something more 
reasonable appear less strange. For example, on macOS the default zoom 
is currently 150% while something closer to 152% is a better 
representation of the actual font size on screen. We can calculate the 
exact number from the DPI of the display and set it as system defaut and 
also provide a "Reset to system default" button next to the "Font 
scaling %".


If the approach sounds reasonable, and no one else wants the job, I can 
prepare a patch.


Daniel


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: LyX 2.4.0-beta2; zoom slider

2023-01-25 Thread Daniel

On 2023-01-25 18:00, Jürgen Spitzmüller wrote:

Am Mittwoch, dem 25.01.2023 um 17:02 +0100 schrieb Daniel:

I cannot reproduce with preview beta2. When clicking on +/-, I get
steps of 15%. Given that the (system) default is 150%,


Well, 15% is 10% of 150%.


I cannot get to 200% that way.


You need to set default zoom to either 100% or 200% to achieve that.


Also, once one has used the slider, one cannot get "round numbers"
anymore. I suggest to change it to how Word does it: the +
and - buttons always get you to "round numbers" with steps of 10%.
Then, for example, you can get fast to a certain point by using the
slider and then adjust to a round number with +/-.


This does not make sense to me, as you'd get a smaller range with 200%
default zoom that way. The larger the default, the larger the steps.
20% jumps make perfect sense to me on my setting with 200% default
zoom.

Word does not have the concept of an adjustable default zoom AFAIK.
They always have 100% as mean value. Same for Libre.


It might not make sense to you but now you know that it does to some 
people who are using not 100% or 200% zoom default and rather, say, 150% 
like the system default (at least on macOS).


Anyway, for system default, there is a solutions that seem compatible 
with your position:


Set the system default to 100% (and even better make the system default 
so that it matches the actual size of the font). There was a discussion 
about this on the list if I remember correctly.


That leaves people who are not happy with system default in the rain. 
You would lose round numbers that way, but I guess that is acceptable to 
you if you are consistent.


Alternatively, just name whatever is set as the default 100%?

Daniel


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: LyX 2.4.0-beta2; zoom slider

2023-01-25 Thread Jürgen Spitzmüller
Am Mittwoch, dem 25.01.2023 um 17:02 +0100 schrieb Daniel:
> I cannot reproduce with preview beta2. When clicking on +/-, I get
> steps of 15%. Given that the (system) default is 150%, 

Well, 15% is 10% of 150%.

> I cannot get to 200% that way. 

You need to set default zoom to either 100% or 200% to achieve that.

> Also, once one has used the slider, one cannot get "round numbers"
> anymore. I suggest to change it to how Word does it: the +
> and - buttons always get you to "round numbers" with steps of 10%.
> Then, for example, you can get fast to a certain point by using the
> slider and then adjust to a round number with +/-.

This does not make sense to me, as you'd get a smaller range with 200%
default zoom that way. The larger the default, the larger the steps.
20% jumps make perfect sense to me on my setting with 200% default
zoom.

Word does not have the concept of an adjustable default zoom AFAIK.
They always have 100% as mean value. Same for Libre.

-- 
Jürgen
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: LyX 2.4.0-beta2; zoom slider

2023-01-25 Thread Daniel

On 2023-01-25 07:53, Jürgen Spitzmüller wrote:

Am Mittwoch, dem 25.01.2023 um 09:43 +1300 schrieb Andrew Parsloe:

The urge to get a round number like 150 or 200 is strong, almost
compulsive, but fiddly with the slider requiring multiple attempts.


The zoom slider values are relative to the zoom you have set in
Preferences > Look & Feel > Screen Fonts. If you set that to 200% (or
100%), you'll get round numbers. Otherwise you get steps of 10% from
the default.


I cannot reproduce with preview beta2. When clicking on +/-, I get steps 
of 15%. Given that the (system) default is 150%, I cannot get to 200% 
that way. Also, once one has used the slider, one cannot get "round 
numbers" anymore. I suggest to change it to how Word does it: the + and 
- buttons always get you to "round numbers" with steps of 10%. Then, for 
example, you can get fast to a certain point by using the slider and 
then adjust to a round number with +/-.


Daniel


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: LyX 2.4.0-beta2; zoom slider

2023-01-24 Thread Jürgen Spitzmüller
Am Mittwoch, dem 25.01.2023 um 09:43 +1300 schrieb Andrew Parsloe:
> The urge to get a round number like 150 or 200 is strong, almost
> compulsive, but fiddly with the slider requiring multiple attempts.

The zoom slider values are relative to the zoom you have set in
Preferences > Look & Feel > Screen Fonts. If you set that to 200% (or
100%), you'll get round numbers. Otherwise you get steps of 10% from
the default.

Since default zoom might be arbitrary, it does not make sense to force
round numbers here. 

-- 
Jürgen
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


LyX 2.4.0-beta2; zoom slider

2023-01-24 Thread Andrew Parsloe
I've downloaded and installed LyX 2.4.0-beta2 on a windows 10 machine, 
replacing 2.4.0 alpha3. (I haven't seen an announcement for beta2. I had 
to go searching for it.) No problems installing and after a week's use 
only one niggle (see below), no big issues (e.g. preview works well) and 
there are a number of appreciated visible enhancements over alpha3, e.g. 
around icons and status bar.


The niggle: the zoom slider on the status bar is a trap for the unwary. 
Given a new toy of course one wants to play with it, slide it, click the 
little + and - buttons and see what the effect is and then try to get 
the zoom to a nice round number -- 200 in my case, and definitely not 
198 or 203 etc. The trouble is that each adjustment of zoom level 
triggers a recalculation of instant previews. I had a number of long 
documents open, two of them with a multitude of previews each. My 
fiddling soon had the cpu racing at 100% and LyX stalling as thousands 
of previews were being generated. Perhaps there needs to be a wait time 
after the last slider adjustment before preview generation is triggered? 
The urge to get a round number like 150 or 200 is strong, almost 
compulsive, but fiddly with the slider requiring multiple attempts.


Andrew


-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel