Bug 252671 - Navigation and actions dock bar [patch]
Summary: Navigation and actions dock bar [patch]
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Ergonomy (show other bugs)
Version: 2.0.0
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-28 19:19 UTC by Luc
Modified: 2022-01-11 15:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments
Patch (35.27 KB, patch)
2010-09-28 19:20 UTC, Luc
Details
New revision (45.72 KB, patch)
2010-10-02 17:44 UTC, Luc
Details
nav bar undocked and broken (346.94 KB, image/png)
2010-10-02 20:22 UTC, caulier.gilles
Details
nav bar in iconview (358.27 KB, image/png)
2010-10-02 20:23 UTC, caulier.gilles
Details
nav bar in preview mode (412.77 KB, image/png)
2010-10-02 20:23 UTC, caulier.gilles
Details
Patch (52.30 KB, patch)
2010-10-03 11:10 UTC, Luc
Details
dolphin filter bar (250.04 KB, image/png)
2010-10-03 12:54 UTC, caulier.gilles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luc 2010-09-28 19:19:28 UTC
Version:           2.0.0 (using KDE 4.5.1) 
OS:                Linux

This patch adds a dock bar with navigation and actions buttons in the bottom of the screen.

I made this patch to replace the status bar because I find the navigation 
buttons are not enough visibles. But for the moment my patch doesn't hide it.

(screenshots availables on http://svn.reviewboard.kde.org/r/4905/)

Reproducible: Didn't try
Comment 1 Luc 2010-09-28 19:20:13 UTC
Created attachment 52053 [details]
Patch
Comment 2 caulier.gilles 2010-09-29 09:20:12 UTC
Luc,

You have set digiKam target as 2.0.0. Do you build this patch against svn trunk or the GSoC 2010 branche ?

Gilles Caulier
Comment 3 caulier.gilles 2010-09-29 09:22:32 UTC
I take a look in your current patch. Your coding style is fine for me. It's very appreciate... (:=)))

Gilles Caulier
Comment 4 Luc 2010-10-02 17:44:11 UTC
Created attachment 52169 [details]
New revision

Hi Gilles,

No I made a mistake, the patch must be apply on trunk, not on the GSOC branch...

Here is a new revision, changes are :
- Put the thumbnails bar back in albumwidgetstack
- Remove filter / zoom / navigations buttons from the status bar

Luc
Comment 5 caulier.gilles 2010-10-02 18:38:55 UTC
Great. I take a look

Gilles
Comment 6 caulier.gilles 2010-10-02 20:04:01 UTC
Marcel,

[gilles@localhost digikam]$ patch -p0 < digikam_navigationbar5.diff 
patching file CMakeLists.txt
patching file digikam/digikamview.cpp
patching file digikam/digikamapp.h
patching file digikam/mediaplayerview.cpp
patching file digikam/albumwidgetstack.h
patching file digikam/navigationbar.cpp
patching file digikam/digikamapp_p.h
patching file digikam/digikamview.h
patching file digikam/imagepreviewview.h
patching file digikam/imagepreviewview.cpp
patching file digikam/navigationbar.h
patching file digikam/digikamapp.cpp
patching file digikam/albumwidgetstack.cpp

The patch touch some which which have changed indeep in GSoC2010 branch. patch need to be adjusted...

Gilles Caulier
Comment 7 caulier.gilles 2010-10-02 20:17:12 UTC
Luc,

My remarks :

1/ Undock navigation bar : floating bar created is completly broken. Can you reproduce it ?
2/ There is no "View" menu entry to show/hide navigation bar.
3/ when you switch from iconview to preview mode, the filter widget (text, rating, mime type) is replaced by navigation buttons. This remove the way to filter thumbbar content in preview mode. This is weird. Filters widget need to still visible. move naviguation button just behing, on the left side of "back to album" button

Gilles Caulier
Comment 8 caulier.gilles 2010-10-02 20:19:23 UTC
Luc,

Another point : "View", "Edit", and "Slideshow" button from naviguate bar are dupplicates of application button bar. Why ?

Gilles Caulier
Comment 9 caulier.gilles 2010-10-02 20:22:27 UTC
Created attachment 52173 [details]
nav bar undocked and broken
Comment 10 caulier.gilles 2010-10-02 20:23:10 UTC
Created attachment 52174 [details]
nav bar in iconview
Comment 11 caulier.gilles 2010-10-02 20:23:46 UTC
Created attachment 52175 [details]
nav bar in preview mode
Comment 12 caulier.gilles 2010-10-03 10:29:44 UTC
Luc,

Your patch introduce a lots of change in Album GUI. Also, it will require more work to backport and maintain both code (trunk+GOsC2010 branch) at the same time.

So, i would to see this patch only applied on GOsC2010 branch, available there :

http://websvn.kde.org/branches/extragear/graphics/

I would to see 1.x code (trunk) with the same Album GUI interface now...

Thanks in advance

Gilles Caulier
Comment 13 caulier.gilles 2010-10-03 10:57:38 UTC
Luc, 

Another viewpoint about your navigation bar : look Dolphin, which has a filter bar on the bottom of icon view. This bar can be enabled/disabled from View menu.

The bar is small and do not reduce a lots the space for icon view.

Your bar include filter + navigation tools. I recommend to separate both feature and create :

- One navigation bar.
- One filter bar. 

The advantage is to select the bar depending of the context and use case, without to reduce icon view text. Of course both can be enabled at the same time.

There is also another point to include there. In Filter bar, later, we will host a combo box with tag filters. This mean that tag filters currently hosted in right sidebar will be removed. Look there :

https://bugs.kde.org/show_bug.cgi?id=210576

Also, new filters will be implemented later, as camera type, aspect ratio, sizes, etc. Look these entries for details :

https://bugs.kde.org/show_bug.cgi?id=124890
https://bugs.kde.org/show_bug.cgi?id=121313
https://bugs.kde.org/show_bug.cgi?id=224549


The is another point to separate navigation and filter tools : a lots of users want to customize filter by album. Typically, we will store in database the filters properties for each album....

Gilles Caulier
Comment 14 Luc 2010-10-03 11:10:32 UTC
Created attachment 52196 [details]
Patch

Hi,

1/ Undock navigation bar : floating bar created is completly broken. Can you
reproduce it ?
--> Done

2/ There is no "View" menu entry to show/hide navigation bar.
--> Done

3/ when you switch from iconview to preview mode, the filter widget (text,
rating, mime type) is replaced by navigation buttons. This remove the way to
filter thumbbar content in preview mode. This is weird. Filters widget need to
still visible. move naviguation button just behing, on the left side of "back
to album" button
--> Done. The navigation buttons are centered and always visibles (even in iconview).

For your question :
"View", "Edit", and "Slideshow" button from naviguate bar are
dupplicates of application button bar. Why ?
I put them in the dock bar because I think that with rotate and delete buttons, they are the most importants actions. Normal user should find quickly what they want to do.
But I let them in the Toolbar for "old users" ;-)
Have you an idea about that ?
Comment 15 Luc 2010-10-03 11:17:45 UTC
(In reply to comment #13)
> Luc, 
> 
> Another viewpoint about your navigation bar : look Dolphin, which has a filter
> bar on the bottom of icon view. This bar can be enabled/disabled from View
> menu.
> 
> The bar is small and do not reduce a lots the space for icon view.
> 
> Your bar include filter + navigation tools. I recommend to separate both
> feature and create :
> 
> - One navigation bar.
> - One filter bar. 
> 
> The advantage is to select the bar depending of the context and use case,
> without to reduce icon view text. Of course both can be enabled at the same
> time.
> 
> There is also another point to include there. In Filter bar, later, we will
> host a combo box with tag filters. This mean that tag filters currently hosted
> in right sidebar will be removed. Look there :
> 
> https://bugs.kde.org/show_bug.cgi?id=210576
> 
> Also, new filters will be implemented later, as camera type, aspect ratio,
> sizes, etc. Look these entries for details :
> 
> https://bugs.kde.org/show_bug.cgi?id=124890
> https://bugs.kde.org/show_bug.cgi?id=121313
> https://bugs.kde.org/show_bug.cgi?id=224549
> 
> 
> The is another point to separate navigation and filter tools : a lots of users
> want to customize filter by album. Typically, we will store in database the
> filters properties for each album....
> 
> Gilles Caulier

I see...
But both bar need to be in the same widget, because we cannot have several QDockWidget, one above the other. (Or I don't know how to do that).

Maybe one QDockWidget, but with buttons to enable filters bar / navigation bar etc... like in kate with the green arrow on the right to switch to "power search".
The thumbnails bar could merge in the same way
Comment 16 caulier.gilles 2010-10-03 12:54:45 UTC
Created attachment 52197 [details]
dolphin filter bar

This is the dolphin filter bar set on through Tools menu entry (i think this menu entry is wrong, and View is more appropriate)

Look like this tool bar is not dockable. It always appear at the same place. I think it's enough.

This is the right way for digiKam i think. This solve the way to create more than one bar at the same time : navigate bar and filter bar.

This is my proposal : create a navigate bar on the bottom of icon-view and create the filter on the top of icon-view to be near of album title bar.

Note : i don't yet tested your new patch.

Gilles Caulier
Comment 17 caulier.gilles 2010-10-03 12:57:41 UTC
Another point : as cameragui, image editor and litgh-table have the zoom slider on the right corner of statusbar, i think it must be the same for album gui to have an homogenous interface everywhere. This must mean to extract zoom bar from your navigate bar and to restore it to status bar.

Gilles Caulier
Comment 18 caulier.gilles 2011-02-18 13:51:34 UTC
Luc,

What's about this file.

Please review it against 2.x code from git repository, where is move all icon view filters to right sidebar.

http://www.flickr.com/photos/digikam/5453984332/sizes/o/in/photostream/

Thanks in advance

Gilles Caulier
Comment 19 caulier.gilles 2011-12-16 11:51:42 UTC
Luc,

No new patch version available ?

Gilles Caulier
Comment 20 Luc 2011-12-18 18:14:54 UTC
Hi Gilles,

I started to make the patch works with digikam 2.5, but finally I stopped because it was not very useful...
The dockbar takes space but can't completly replaces the toolbar and the status bar (particularly with the new digikam version), so it wastes space. The only good point I found is the better visibility of the differents possibles actions.

Perhaps it's a better idea to just improve the overlays buttons to make them more visible ?

I think we could close this bug report.

(I hope it's clear but I'm not sure :-) )
Happy christmas.