The panel length might not actually change depending on minimum and maximum size constraints and this is the wrong place to do this in the first place.
Details
Details
- Reviewers
mart - Group Reviewers
Plasma - Commits
- R120:d67aea401703: [PanelView] Emit availableScreenRegionChanged in resizeEvent, not when setting…
While messing with the dekstop containment layouting mechanism I found that it would re-layout sometimes without obvious reason; closing some applet popups (e.g. kickoff) would cause a re-evaluation of the preferredWidth of the panel which eventually would end up calling setLength with a slightly different size causing us to emit this signal.
Resized a panel, stuff on desktop automatically re-layouted.
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
Old code is wrong, new code is also wrong.
length is the implicitWidth/height of the contents, it is /not/ the size of the panel.
The only place for this signal is the geometryChanged event.