I said: > > Question: What does the button "Enable/disable source browse mode" do? Why > > does it toggle when I press Ctrl? It's distracting :-) Milian replied: > Yes, I agree. It's a historical thing. It was back then introduced to show > that Ctrl + Click can be used for code browsing. Clicking the button with the > mouse "locks" this mode and normal clicks can be used for browsing. If you > could put that up on bko then we probably won't forget to polish this up in > time for 5.0 final. Reproducible: Always
Git commit aeb3a26837fe1510bbb5f49fffaad8d560498f65 by Kevin Funk. Committed on 25/01/2016 at 09:32. Pushed by kfunk into branch '5.0'. Remove confusing button in contextbrowser Remove "Enable/disable source browse mode" button FIXED-IN: 5.0.0 M +7 -24 plugins/contextbrowser/browsemanager.cpp M +0 -4 plugins/contextbrowser/browsemanager.h M +0 -16 plugins/contextbrowser/contextbrowser.cpp M +0 -2 plugins/contextbrowser/contextbrowser.h http://commits.kde.org/kdevplatform/aeb3a26837fe1510bbb5f49fffaad8d560498f65
Since the Source Browse Mode can actually be useful for quick code navigation, I added it back as a checkable menu action. See for example: http://code.woboq.org/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp.html#445 This online code browser is permanently in "sort of" Source Browse Mode. The menu action shouldn't be distracting or confusing at all. Review requests: https://git.reviewboard.kde.org/r/127669/ https://git.reviewboard.kde.org/r/127670/