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

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



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

Diff Detail

R871 DrKonqi
No Linters Available
No Unit Test Coverage
Build Status
Buildable 8941
Build 8959: arc lint + arc unit
sitter created this revision.Feb 27 2019, 3:26 PM
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 27 2019, 3:26 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sitter requested review of this revision.Feb 27 2019, 3:26 PM
davidedmundson accepted this revision.Mar 21 2019, 10:57 AM
This revision is now accepted and ready to land.Mar 21 2019, 10:57 AM
This revision was automatically updated to reflect the committed changes.