]> cloud.milkyroute.net Git - dolphin.git/commit
Add smaller statusbar and set it as default
authorAkseli Lahtinen <akselmo@akselmo.dev>
Mon, 24 Feb 2025 18:39:22 +0000 (18:39 +0000)
committerAkseli Lahtinen <akselmo@akselmo.dev>
Mon, 24 Feb 2025 18:39:22 +0000 (18:39 +0000)
commita27443d904bc220615f2c4e8df74187b0c806d8a
tree420ff120b30bb2492a363abf9ddf80a8697d3ad9
parent69c4792928edef91b5aea06772d02eb0f7c873b4
Add smaller statusbar and set it as default

- Statusbar has three modes: Small, FullWidth and Disabled
- FullWidth is the original statusbar
- Small is the new default statusbar
  - This statusbar overlays on top of the items instead of taking space
  - It changes size according to content
- Disabled turns statusbar completely off
- Zoom slider and space information is only shown in full-width statusbar
  - Space information is now always on
- If user navigates with keyboard, or scrolls to selection, the scrolling will take the statusbar into account
  - This makes sure the statusbar does not cover any items

Related discussion: https://invent.kde.org/system/dolphin/-/issues/50
18 files changed:
src/CMakeLists.txt
src/dolphinmainwindow.cpp
src/dolphinviewcontainer.cpp
src/dolphinviewcontainer.h
src/kitemviews/kitemlistview.cpp
src/kitemviews/kitemlistview.h
src/kitemviews/private/kitemlistviewlayouter.cpp
src/kitemviews/private/kitemlistviewlayouter.h
src/settings/dolphin_25.04_update_statusandlocationbarssettings.cpp [new file with mode: 0644]
src/settings/dolphin_generalsettings.kcfg
src/settings/dolphin_statusandlocationbarssettings.upd [new file with mode: 0644]
src/settings/interface/statusandlocationbarssettingspage.cpp
src/settings/interface/statusandlocationbarssettingspage.h
src/statusbar/dolphinstatusbar.cpp
src/statusbar/dolphinstatusbar.h
src/tests/dolphinmainwindowtest.cpp
src/views/dolphinview.cpp
src/views/dolphinview.h