Bug 395630 - Main window expands when entering text or opening/saving files
Summary: Main window expands when entering text or opening/saving files
Status: REPORTED
Alias: None
Product: kile
Classification: Applications
Component: user interface (other bugs)
Version First Reported In: 2.9.92
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-19 22:18 UTC by Sebastian Friedl
Modified: 2020-07-25 06:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshots resembling the steps to reproduce this bug (221.13 KB, application/gzip)
2018-06-19 22:18 UTC, Sebastian Friedl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Friedl 2018-06-19 22:18:05 UTC
Created attachment 113449 [details]
Screenshots resembling the steps to reproduce this bug

When entering text or opening/saving files, horizontal expansion of Kile's main window may be observed.

I got aware of this behavior while using Kile 2.9.92 on Arch Linux with KDE 5.13.0, Frameworks 5.47.0 and Qt 5.11.0.



Steps for reproduction (see the attached screenshots):

  1) Open approx. three files
  2) Reduce the main window's width as much as possible
  3) Enter some text  -> the main window expands slightly (~ 16px).
  4) Press Ctrl+S to save the changes  -> the main window will expand further.



Expected behavior:

The main window only changes its size when being resized by the user.
Comment 1 Benjamin Hennion 2020-06-16 17:28:31 UTC
I have a similar behaviour: on saving, the editor window's width becomes 1062px if it was smaller before.

Steps to reproduce:
1- Open a file
2- Shrink the window so that its width is lower than 1062px
3- Hit Ctrl+S or click the Save button (no need to modify the file before).

Notes:
* Has been happening for a while (years)
* Recently started happening even if the Width has been forced in "Special Window Settings" (used to be an easy workaround)


Relevant information: 
OS :Arch Linux
Screen res: 1920x1080
Kile: 2.9.93
KDE: 5.71.0
Qt: 5.15
Comment 2 Benjamin Hennion 2020-06-16 19:36:32 UTC
I just realized: hidding the status bar solves the problem. It could have something to do with the width of whatever the status bar displays on saving.

Additional remarks:
1- It still happens on saving when Live Preview is off.
2- When the document is shown in a separate window, only the editor window is resized (but the bug happens in all cases: internal, external or no pdf viewer).
Comment 3 alfazaz 2020-07-25 06:20:35 UTC
Same thing for me... This "growing window" is an annoying bug. I was able to "block" it with Special windows settings before but now, this workaround doesn't work. :-(

The solution with the status bar hide is not good for me because I need it (some informations in it are really useful for me...).