texstudio-org / texstudio

TeXstudio is a fully featured LaTeX editor. Our goal is to make writing LaTeX documents as easy and comfortable as possible.
http://www.texstudio.org/
GNU General Public License v3.0
2.85k stars 346 forks source link

Annoying modal window "Calculating text width" #3824

Closed FRuehl closed 1 month ago

FRuehl commented 2 months ago

Environment

TeXstudio: 4.8.4 Qt: 6.7.2 R Apple M2 Pro OS: Sequoia 15.0 TeX distribution: texlife

Expected behavior

texstudio should do its job silently, without annoying messages.

Actual behavior

A modal window "Calculating text width" with a "Cancel" button pops up seemingly randomly which leads to input character drops. ("Auto-recompile ...", and tolltips disabled!)

How to reproduce

See #3822

Possible cause

The unnecessary and annoying modal window could be the result of a debug flag.

sunderme commented 1 month ago

the progress window is blocking because the process behind is blocking. Just do not use "fit to text width" as txs needs to go through all pages to find the overall text width.