Re: Increase max range of zoom slider?
Le 16/09/2022 à 19:54, Scott Kostyshak a écrit : I have an xps 13 9300, and I see the same. The issue is that the X11 (and Wayland?) think that the screen is 50cm wide (ask xpdyinfo about it), so that the dpi is supposed to be 96 instead of the actual 168. This does not happen with all monitors though. This is what makes zoom issues difficult to handle. Ah that is good to know. In that case, seems to make sense to leave things as is until the root (non-LyX) issues get addressed. What happens here is that the screen DPI that we use is the logical DPI, which is in X11, macOS and maybe Windows 96 dpi. The physical DPI can also be obtained, and it is correct even on the XPS 13. More details on why our definition of DPI fluctuated recently are there: https://www.lyx.org/trac/ticket/12132 https://www.lyx.org/trac/ticket/1 See in particular this explanation of various DPIs: https://stackoverflow.com/questions/16561879/what-is-the-difference-between-logicaldpix-and-physicaldpix-in-qt I am not sure where to go from there. The macOS solution is to set the default zoom level to physical/logical*100 =~ 150% (see different thread from racoon). We could do that. Other ideas? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Increase max range of zoom slider?
Le 16/09/2022 à 19:54, Scott Kostyshak a écrit : Ah that is good to know. In that case, seems to make sense to leave things as is until the root (non-LyX) issues get addressed. I do not know whether it is an issue or a design choice. If the dpi was correct, you would get approximately what you get when one uses HiDpi with 175% scale. Try it, I am not sure you will like it. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Increase max range of zoom slider?
Le 16/09/2022 à 19:56, Kornel Benko a écrit : Are we able to set the screen-dpi to qt? If yes, we could add screen-dpi to preferences, overriding the monitor value. We already have \screen_dpi in lyxrc, but this is not exposed in the GUI. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Increase max range of zoom slider?
Am Fri, 16 Sep 2022 19:08:47 +0200 schrieb Jean-Marc Lasgouttes : > Le 16/09/2022 à 03:45, Scott Kostyshak a écrit : > > OS is Ubuntu 21.04. This is on a laptop, a Dell XPS 9343. Although I'm > > using Ubuntu I've found the Arch Wiki helpful for specifications: > > https://wiki.archlinux.org/title/Dell_XPS_13_(9343) Apparently mine has > > a "13.3-inch FHD (1920 x 1080) infinity display". > > > > I tested with default LyX preferences and it is the same. Screenshot > > attached. As you can see in the screenshot, in the bottom right I have > > maxed out the slider. What does it look like for you when you max out > > the slider? > > I have an xps 13 9300, and I see the same. The issue is that the X11 > (and Wayland?) think that the screen is 50cm wide (ask xpdyinfo about > it), so that the dpi is supposed to be 96 instead of the actual 168. > > This does not happen with all monitors though. This is what makes zoom > issues difficult to handle. > > JMarc > Are we able to set the screen-dpi to qt? If yes, we could add screen-dpi to preferences, overriding the monitor value. Kornel pgpR2gYLXi83t.pgp Description: Digitale Signatur von OpenPGP -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Increase max range of zoom slider?
On Fri, Sep 16, 2022 at 07:08:47PM +0200, Jean-Marc Lasgouttes wrote: > Le 16/09/2022 à 03:45, Scott Kostyshak a écrit : > > OS is Ubuntu 21.04. This is on a laptop, a Dell XPS 9343. Although I'm > > using Ubuntu I've found the Arch Wiki helpful for specifications: > > https://wiki.archlinux.org/title/Dell_XPS_13_(9343) Apparently mine has > > a "13.3-inch FHD (1920 x 1080) infinity display". > > > > I tested with default LyX preferences and it is the same. Screenshot > > attached. As you can see in the screenshot, in the bottom right I have > > maxed out the slider. What does it look like for you when you max out > > the slider? > > I have an xps 13 9300, and I see the same. The issue is that the X11 (and > Wayland?) think that the screen is 50cm wide (ask xpdyinfo about it), so > that the dpi is supposed to be 96 instead of the actual 168. > > This does not happen with all monitors though. This is what makes zoom > issues difficult to handle. Ah that is good to know. In that case, seems to make sense to leave things as is until the root (non-LyX) issues get addressed. Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Increase max range of zoom slider?
Le 16/09/2022 à 03:45, Scott Kostyshak a écrit : OS is Ubuntu 21.04. This is on a laptop, a Dell XPS 9343. Although I'm using Ubuntu I've found the Arch Wiki helpful for specifications: https://wiki.archlinux.org/title/Dell_XPS_13_(9343) Apparently mine has a "13.3-inch FHD (1920 x 1080) infinity display". I tested with default LyX preferences and it is the same. Screenshot attached. As you can see in the screenshot, in the bottom right I have maxed out the slider. What does it look like for you when you max out the slider? I have an xps 13 9300, and I see the same. The issue is that the X11 (and Wayland?) think that the screen is 50cm wide (ask xpdyinfo about it), so that the dpi is supposed to be 96 instead of the actual 168. This does not happen with all monitors though. This is what makes zoom issues difficult to handle. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Increase max range of zoom slider?
On Fri, Sep 16, 2022 at 11:26:05AM +0200, Enrico Forestieri wrote: > On Thu, Sep 15, 2022 at 09:45:01PM -0400, Scott Kostyshak wrote: > > > > On Thu, Sep 15, 2022 at 05:46:23PM +0200, Jean-Marc Lasgouttes wrote: > > > Le 14/09/2022 à 17:44, Scott Kostyshak a écrit : > > > > I tested the zoom slider today out of curiosity and it works very > > > > smoothly. One thing I noticed is that the maximum of the range is too > > > > small for my computer/eyes. The maximum is 290. > > > > > > Could you tell us more about your setting? OS, monitor, maybe settings in > > > preferences (there is a dpi setting not available through GUI). > > > > OS is Ubuntu 21.04. This is on a laptop, a Dell XPS 9343. Although I'm > > using Ubuntu I've found the Arch Wiki helpful for specifications: > > https://wiki.archlinux.org/title/Dell_XPS_13_(9343) Apparently mine has > > a "13.3-inch FHD (1920 x 1080) infinity display". > > > > I tested with default LyX preferences and it is the same. Screenshot > > attached. As you can see in the screenshot, in the bottom right I have > > maxed out the slider. What does it look like for you when you max out > > the slider? > > If you click on the '+' sign you should be able to increase the zoom > level. Thanks, that does indeed work. Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Increase max range of zoom slider?
On Thu, Sep 15, 2022 at 09:45:01PM -0400, Scott Kostyshak wrote: > > On Thu, Sep 15, 2022 at 05:46:23PM +0200, Jean-Marc Lasgouttes wrote: > > Le 14/09/2022 à 17:44, Scott Kostyshak a écrit : > > > I tested the zoom slider today out of curiosity and it works very > > > smoothly. One thing I noticed is that the maximum of the range is too > > > small for my computer/eyes. The maximum is 290. > > > > Could you tell us more about your setting? OS, monitor, maybe settings in > > preferences (there is a dpi setting not available through GUI). > > OS is Ubuntu 21.04. This is on a laptop, a Dell XPS 9343. Although I'm > using Ubuntu I've found the Arch Wiki helpful for specifications: > https://wiki.archlinux.org/title/Dell_XPS_13_(9343) Apparently mine has > a "13.3-inch FHD (1920 x 1080) infinity display". > > I tested with default LyX preferences and it is the same. Screenshot > attached. As you can see in the screenshot, in the bottom right I have > maxed out the slider. What does it look like for you when you max out > the slider? If you click on the '+' sign you should be able to increase the zoom level. -- Enrico -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Increase max range of zoom slider?
On Thu, Sep 15, 2022 at 05:46:23PM +0200, Jean-Marc Lasgouttes wrote: > Le 14/09/2022 à 17:44, Scott Kostyshak a écrit : > > I tested the zoom slider today out of curiosity and it works very > > smoothly. One thing I noticed is that the maximum of the range is too > > small for my computer/eyes. The maximum is 290. > > Could you tell us more about your setting? OS, monitor, maybe settings in > preferences (there is a dpi setting not available through GUI). OS is Ubuntu 21.04. This is on a laptop, a Dell XPS 9343. Although I'm using Ubuntu I've found the Arch Wiki helpful for specifications: https://wiki.archlinux.org/title/Dell_XPS_13_(9343) Apparently mine has a "13.3-inch FHD (1920 x 1080) infinity display". I tested with default LyX preferences and it is the same. Screenshot attached. As you can see in the screenshot, in the bottom right I have maxed out the slider. What does it look like for you when you max out the slider? Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Increase max range of zoom slider?
Le 14/09/2022 à 17:44, Scott Kostyshak a écrit : I tested the zoom slider today out of curiosity and it works very smoothly. One thing I noticed is that the maximum of the range is too small for my computer/eyes. The maximum is 290. Could you tell us more about your setting? OS, monitor, maybe settings in preferences (there is a dpi setting not available through GUI). JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Increase max range of zoom slider?
On Wed, Sep 14, 2022 at 08:00:06PM +0200, Daniel wrote: > On 2022-09-14 17:44, Scott Kostyshak wrote: > > I tested the zoom slider today out of curiosity and it works very > > smoothly. One thing I noticed is that the maximum of the range is too > > small for my computer/eyes. The maximum is 290. > > > > The range is set as follows: > > > >zoom_slider_->setRange(10, (lyxrc.defaultZoom * 2) - 10); > > > > Perhaps my complaint should be with lyxrc.defaultZoom. I slightly recall > > that we've discussed it, and even took a poll on lyx-users, but I forgot > > what came of that. > > > > For me, 10% is extremely small, and 290% is not that big. I know it is > > difficult to make it perfect for all computers/resolutions/eyes, but I'm > > curious about others. Is there support for increasing the upper range of > > the zoom slider? > > > > From a personal point of view, I don't use the slider so I don't have a > > strong opinion. > > > > Scott > > I don't think default zoom is the problem. To avoid the problem you > encountered, other applications use non-linear zoom levels. For example, > Word, Writer, Pages and Firefox with the former two having non-linear zoom > sliders. Ah I didn't think about that. That makes sense. Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Increase max range of zoom slider?
On 2022-09-14 17:44, Scott Kostyshak wrote: I tested the zoom slider today out of curiosity and it works very smoothly. One thing I noticed is that the maximum of the range is too small for my computer/eyes. The maximum is 290. The range is set as follows: zoom_slider_->setRange(10, (lyxrc.defaultZoom * 2) - 10); Perhaps my complaint should be with lyxrc.defaultZoom. I slightly recall that we've discussed it, and even took a poll on lyx-users, but I forgot what came of that. For me, 10% is extremely small, and 290% is not that big. I know it is difficult to make it perfect for all computers/resolutions/eyes, but I'm curious about others. Is there support for increasing the upper range of the zoom slider? From a personal point of view, I don't use the slider so I don't have a strong opinion. Scott I don't think default zoom is the problem. To avoid the problem you encountered, other applications use non-linear zoom levels. For example, Word, Writer, Pages and Firefox with the former two having non-linear zoom sliders. Daniel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Increase max range of zoom slider?
I tested the zoom slider today out of curiosity and it works very smoothly. One thing I noticed is that the maximum of the range is too small for my computer/eyes. The maximum is 290. The range is set as follows: zoom_slider_->setRange(10, (lyxrc.defaultZoom * 2) - 10); Perhaps my complaint should be with lyxrc.defaultZoom. I slightly recall that we've discussed it, and even took a poll on lyx-users, but I forgot what came of that. For me, 10% is extremely small, and 290% is not that big. I know it is difficult to make it perfect for all computers/resolutions/eyes, but I'm curious about others. Is there support for increasing the upper range of the zoom slider? From a personal point of view, I don't use the slider so I don't have a strong opinion. Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel