| Summary: | kmplot expression editor with constants does not scale after setting higher value in force font dpi in system settings | ||
|---|---|---|---|
| Product: | [Applications] kmplot | Reporter: | Marian Klein <mkleinsoft> |
| Component: | general | Assignee: | Christoph Feck <cfeck> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | yurchor |
| Priority: | NOR | ||
| Version First Reported In: | 1.3.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kmplot/95f701c92c17b2c7d6da2b176ba7129514b08322 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Marian Klein
2019-05-27 06:29:14 UTC
Regression caused by https://commits.kde.org/kmplot/dec0c43306277851853341b676c701bcc83e6c52 KDialog had its own layout, and when porting to QDialog, a layout needs to be added, see e.g. https://commits.kde.org/kolourpaint/57ced24037f14f0968a50d7ac08aa2e63db446f8 From quickly checking, also the constants editor and all dialogs from Tools menu are affected, possibly more. Git commit 95f701c92c17b2c7d6da2b176ba7129514b08322 by Yuri Chornoivan. Committed on 28/05/2019 at 15:13. Pushed by yurchor into branch 'Applications/19.04'. Use layouts for QDialogs to make KmPlot adopt the sizes Summary: As it was pointed out "KDialog had its own layout, and when porting to QDialog, a layout needs to be added" Test Plan: 1. Open KmPlot, choose "Catesian Plot". 2. Enter something (e.g. "x^2"). 3. Click on the Equation Editor button at the right of the input field. 4. Try to resize the window (all interface items are movable now). 5. Press the Constant Editor button. 6. Try to resize the window (all interface items are movable now). 7. Close the windows. 8. Try to choose any item from the "Tools" menu. 9. Try to resize the window (all interface items should be movable). Reviewers: #kde_edu, cfeck Reviewed By: cfeck Subscribers: kde-edu Tags: #kde_edu Differential Revision: https://phabricator.kde.org/D21428 M +2 -3 kmplot/calculator.cpp M +3 -1 kmplot/equationeditor.cpp M +3 -4 kmplot/functiontools.cpp M +3 -1 kmplot/kconstanteditor.cpp M +1 -1 kmplot/kgradientdialog.cpp M +3 -5 kmplot/ksliderwindow.cpp M +4 -1 kmplot/parameteranimator.cpp https://commits.kde.org/kmplot/95f701c92c17b2c7d6da2b176ba7129514b08322 |