Re: Slow LyX File - DVI-to-PDF Converter - Clip to Coordinates

2021-12-23 Thread Paul A. Rubin via lyx-users

On 12/23/21 5:48 AM, Baris Erkus via lyx-users wrote:
I am experiencing a slowdown on a LyX document. I am suspecting that 
this is related to the "Clip to Coordinates" in the Graphics option, 
which calls the DVI-to-PDF Converter (in Windows) at the backstage 
constantly.


When "Clip to Coordinates" option of any figure is selected, LyX 
constantly executing DVI-to-PDF Converter using command-line window 
even if you are not working on that specific figure (ie writing 
regular text at somewhere else), and even if that specific figure is 
not on the screen.


Furthermore, I realized that even if I uncheck the "Clip to 
Coordinates" option and click the "Apply" and "Close", the LaTeX code 
preview at the includegraphics command still shows the viewport 
option, but without the ",clip". So, normally, it should completely 
remove the viewport option and get the values from the file, am I 
right? Since the viewport options stays, LyX is calling the DVI-to-PDF 
converter, which again causes slowdown. Unchecking the option and then 
pressing the "Get from file" solves the problem tough. This is very 
un-intuitional. I feel like something fishy is going on here.


I have attached a MWE. My OS is Windows 10, MikTeX is the latest 
version and LyX is 2.3.6.1. Could somebody check this with other OS or 
other versions. Any feedback would be appreciated.




No slowdown here (Linux Mint, LyX 2.3.6.1, Qt 5.12.8.

Paul

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


Re: Slow LyX File - DVI-to-PDF Converter - Clip to Coordinates

2021-12-23 Thread Kornel Benko via lyx-users
Am Thu, 23 Dec 2021 13:48:21 +0300
schrieb Baris Erkus via lyx-users :

> I am experiencing a slowdown on a LyX document. I am suspecting that 
> this is related to the "Clip to Coordinates" in the Graphics option, 
> which calls the DVI-to-PDF Converter (in Windows) at the backstage 
> constantly.
> 
> When "Clip to Coordinates" option of any figure is selected, LyX 
> constantly executing DVI-to-PDF Converter using command-line window even 
> if you are not working on that specific figure (ie writing regular text 
> at somewhere else), and even if that specific figure is not on the screen.
> 
> Furthermore, I realized that even if I uncheck the "Clip to Coordinates" 
> option and click the "Apply" and "Close", the LaTeX code preview at the 
> includegraphics command still shows the viewport option, but without the 
> ",clip". So, normally, it should completely remove the viewport option 
> and get the values from the file, am I right? Since the viewport options 
> stays, LyX is calling the DVI-to-PDF converter, which again causes 
> slowdown. Unchecking the option and then pressing the "Get from file" 
> solves the problem tough. This is very un-intuitional. I feel like 
> something fishy is going on here.
> 
> I have attached a MWE. My OS is Windows 10, MikTeX is the latest version 
> and LyX is 2.3.6.1. Could somebody check this with other OS or other 
> versions. Any feedback would be appreciated.
> 

I could not confirm on actual lyx2.3 nor with lyx2.4.
Both versions are not slowing down. This is on linux with QT5.9.5 though.

Kornel


pgp4zUDMtHLhu.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users