Version: git master OS: Linux With more than one file opened, and the displayed file is not the first tab, splitting view automatically activates the first tab. Reproducible: Always Steps to Reproduce: Start without any file opened in kdevelop : 1) open classA.h and classA.cpp files, and stay on the second tab (classA.cpp if you opened them in that order) 2) right click on the classA.cpp tab and press split view Left/Right Actual Results: You get classA.h and classA.cpp on the left | classA.cpp on the right classA.h is active on the left side Expected Results: classA.cpp should have stayed active on the left side
Git commit ab6b75080fecade90123661df13b60a4e0ba5750 by Milian Wolff, on behalf of Lambert CLARA. Committed on 13/07/2011 at 00:58. Pushed by mwolff into branch 'master'. Fix auto selection of the first tab when splitting views. Add unit test. BUG: 277643 REVIEW: 10193 M +130 -13 sublime/tests/areaoperationtest.cpp M +9 -4 sublime/mainwindow_p.cpp M +5 -0 sublime/tests/areaoperationtest.h http://commits.kde.org/kdevplatform/ab6b75080fecade90123661df13b60a4e0ba5750