Version: unspecified (using KDE 4.5.2) OS: Linux I have an app which allows users to choose the FaceType. When the Tabbed mode is used the removePage() function does not work. The KPageWidgetItem seems to be destroyed but the actual tab remains but is blank. Toggling the facetype clears the problem. Bug is not present in List and Tree modes. Also when in Tabbed mode when clicking on different pages, the currentPageChanged() signal is not sent consistently, they stop being emitted after a few clicks. Again, toggling the facetype clears the problem. Reproducible: Always Steps to Reproduce: Find an app using KPageWidget, change it to use Tabbed FaceType and see for yourself.
SVN commit 1194291 by cfeck: Emit layoutChanged when removing page CCBUG: 256230 M +4 -0 kpagewidgetmodel.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1194291
SVN commit 1194298 by cfeck: Fix currentPageChanged not emitted in Tabbed face mode Since the selection model is not connected to a real item view, but only used internally, we need to emulate "single selection" mode and clear selection whenever we select a new item. Otherwise, after all items have been selected (in other words, after all pages have been visited), it would stop emitting a signal. CCBUG: 256230 M +1 -1 kpageview_p.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1194298
SVN commit 1194300 by cfeck: Fix Tabbed face mode (backport of r1194291 and r1194298) BUG: 256230 FIXED-IN: 4.5.4 M +1 -1 kpageview_p.cpp M +4 -0 kpagewidgetmodel.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1194300
Christoph, well done, that was a very fast fix! I like the service in this joint. :)