kdelibs

Dominik Haumann dhdev at gmx.de
Fri Mar 4 00:16:18 CET 2005


CVS commit by dhaumann: 

This patch does the following
- implement splitterKeepSize correctly.
- Internally use always highResolution due to *ugly* rounding bugs.
- in fact, the high resolution mode never worked 100%. KDockWidget
  always assumes a splitter position between 0..100 but it was 0..10000,
  which lead to size-bugs undock/redock actions.

For KDE 4, remove this highResolution option completely.
This patch should be BC, kdockwidget_private.* is private API.

Compatibility: The splitter position must be always between 0..100.
If it is >100, it assumes high resolution from the old behavior, and
it will be fixed to a correct value between 0..100. This makes sure
it works for both, high resolution and not high resolution.

I tested this with k3b, kate, konqueror and a bit Quanta.
If you find bugs, please let us know on kmdi-devel at kde.org.

This fixes the bugs
- #69895: selection menu gets not properly positioned on the right side
- #75112: borders in IDEAl mode are not "active"

CCBUG:69895
CCBUG:75112

CCMAIL:kmdi-devel at kde.org


  M +13 -6     kdeui/kdockwidget.cpp   1.171
  M +7 -0      kdeui/kdockwidget.h   1.103
  M +295 -187  kdeui/kdockwidget_private.cpp   1.54
  M +128 -9    kdeui/kdockwidget_private.h   1.32
  M +28 -28    kmdi/kmdidockcontainer.cpp   1.72
  M +4 -4      kmdi/kmdi/dockcontainer.cpp   1.10





More information about the Kmdi-devel mailing list