This is possibly a bug in KPageWidget or KPageView, but it's easier to reproduce in a KPageDialog. Reproducible: Always Steps to Reproduce: 1. build kwidgetsaddons (commit 9e86778676) 2. run $BUILD_DIR/tests/kpagedialogtest Actual Results: The last character in the long string is cropped. Expected Results: The long string should not be cropped.
Created attachment 99551 [details] Test case screenshot
I tested with the following widget styles: - Fusion: works okey - Windows: works okey - Skulpture: works okey - Oxygen: label is clipped - Breeze: label is clipped Unless Hugo confirms the bug is indeed in KPageDialog classes, I assume the bug is in the KDE widget styles.
Confirmed. will investigate. Must be something inconsistent in some sizeFromContent calculations ...
Git commit 4fb5a3bf8b1abcfcdabcf8a9c88276a44b8c2a31 by Hugo Pereira Da Costa. Committed on 20/07/2016 at 14:17. Pushed by hpereiradacosta into branch 'Plasma/5.7'. Fixed tabwidget size calculation from contents M +2 -17 kstyle/breezestyle.cpp http://commits.kde.org/breeze/4fb5a3bf8b1abcfcdabcf8a9c88276a44b8c2a31
Git commit 7d989d35643adfcd987560b9d3266b76edbf8246 by Hugo Pereira Da Costa. Committed on 20/07/2016 at 14:57. Pushed by hpereiradacosta into branch 'Plasma/5.7'. Fixed tabwidget size calculation from contents M +1 -15 kstyle/oxygenstyle.cpp http://commits.kde.org/oxygen/7d989d35643adfcd987560b9d3266b76edbf8246