adjust the size of the window after the labels sizes were changed

Authored by sitter on Feb 27 2019, 3:08 PM.

Description

adjust the size of the window after the labels sizes were changed

Summary:
during backtrace loading the widgets get mutated a lot, changing their size
to very long, or very short, but certainly different than from what they
were originally when the window was sized.

as a result the window may now be too small to actually fit the content and
overlap some of the widgets. to resolve this problem we now force a size
adjustment when the backtracewidget changes. other pages, from what I
can tell are not affected.

the layout of this page is a fairly involved unfortuntely, so adjusting
on the fly is the best we can do I fear

CHANGELOG: The crash dialog no longer cuts off text after backtracing
BUG: 337319

Test Plan:

  • crash
  • try to report bug
  • dialog text not cut off (LANGUAGE=de helps with triggering the problem)
  • go to advanced backtrace view, still fine
  • crash
  • go to advanced view in the main window, still fine

Reviewers: Plasma, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D19390

Details

Committed
sitterMar 21 2019, 11:05 AM
Reviewer
Plasma
Differential Revision
D19390: adjust the size of the window after the labels sizes were changed
Parents
R871:73b43c8ba652: Update version number for 5.15.3 GIT_SILENT
Branches
Unknown
Tags
Unknown