[digikam] [Bug 279372] Show combined file sizes when selection is done into icon-view

2020-04-17 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=279372

Maik Qualmann  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/kde/
   ||digikam/-/commit/58cd805364
   ||43903565f6655a78899a91bcb72
   ||399
 Status|REPORTED|RESOLVED
   Version Fixed In||7.0.0
 Resolution|--- |FIXED

--- Comment #10 from Maik Qualmann  ---
Kartik has added a selection properties tab. Additional properties can be added
in the future. I now close the bug.


https://invent.kde.org/kde/digikam/-/merge_requests/20
https://invent.kde.org/kde/digikam/-/commit/58cd80536443903565f6655a78899a91bcb72399

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 279372] Show combined file sizes when selection is done into icon-view

2020-04-09 Thread Kartik
https://bugs.kde.org/show_bug.cgi?id=279372

--- Comment #9 from Kartik  ---
Hello Gilles,

I've submitted a patch for the implementation you suggested. 
https://invent.kde.org/kde/digikam/-/merge_requests/20

Thanks
Kartik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 279372] Show combined file sizes when selection is done into icon-view

2020-04-08 Thread MarcP
https://bugs.kde.org/show_bug.cgi?id=279372

MarcP  changed:

   What|Removed |Added

 CC||iwannaber...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 279372] Show combined file sizes when selection is done into icon-view

2020-04-07 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=279372

--- Comment #8 from caulier.gil...@gmail.com ---
My stacked view proposal is more a top level challenge.

Typically, make a stacked view for the whole item properties sidebar tab, not
only for few item inside.

On the stacked view you plug :

1 - the current item properties view used to show all information when 1 item
is selected only.

2 - a new properties view to show a resume of all information when more than
one items is selected. This will include the total size, the stats about
different formats, etc...

The switch between 1 and 2 must be done somewhere on top level. 

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 279372] Show combined file sizes when selection is done into icon-view

2020-04-07 Thread Kartik
https://bugs.kde.org/show_bug.cgi?id=279372

--- Comment #7 from Kartik  ---
Hello Maik,

I had some doubts regarding the Stack View implementation. 

Currently, ItemPropertiesTab is inheriting DExpanderBox. I plan to implement a
QStackedLayout within the constructor of ItemPropertiesTab, and instantiate two
DExpanderBox for each of the pages of the Stack View, and populate them as in
the current implementation.

I might still have to inherit DExpanderBox (or some other appropriate Class),
to allow readSettings() and writeSettings().

Is this an appropriate implementation?

Thanks
Kartik.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 279372] Show combined file sizes when selection is done into icon-view

2020-04-04 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=279372

--- Comment #6 from Maik Qualmann  ---
https://invent.kde.org/kde/digikam/-/commit/4d453dfd86dfe4bb2eaeaeb028e1271884772a1b

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 279372] Show combined file sizes when selection is done into icon-view

2020-04-04 Thread Kartik
https://bugs.kde.org/show_bug.cgi?id=279372

--- Comment #5 from Kartik  ---
Hello Maik,

I've made a merge request to display File Size in status bar. I'm working on
implementing the Right Side Bar currently.

https://invent.kde.org/kde/digikam/-/merge_requests/18

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 279372] Show combined file sizes when selection is done into icon-view

2020-04-04 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=279372

--- Comment #4 from Maik Qualmann  ---
You can also create a patch to display the file size in the status bar.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 279372] Show combined file sizes when selection is done into icon-view

2020-04-04 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=279372

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #3 from Maik Qualmann  ---
An ItemInfoList is a QList with ItemInfo's. Look into the ItemInfo class, the
ItemInfo also provides the file size. You only have to add up all ItemInfo's
that are available in the ItemInfoList. I think the space in the status bar is
getting scarce. I'm more for the solution Gilles suggests in comment 1.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 279372] Show combined file sizes when selection is done into icon-view

2020-04-04 Thread Kartik
https://bugs.kde.org/show_bug.cgi?id=279372

Kartik  changed:

   What|Removed |Added

 CC||kartikx2...@gmail.com

--- Comment #2 from Kartik  ---
Hello Gilles,

I would like to fix the first part of this report. Displaying the sizes of the
items selected as (A mB/B mB). 

I understand that I will need to make changes in the statusBarSelectionText of
slotImageSelected in digikamapp.cpp. This method takes in ItemInfoList
parameters, however ItemInfoList doesn't provide any convenience methods to
return the sum of file sizes in the list. 

I may provide such a method in ItemInfoList, and subsequently use it in
slotImageSelected, would it be appropriate?

Thanks
Kartik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 279372] Show combined file sizes when selection is done into icon-view

2017-07-28 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=279372

caulier.gil...@gmail.com changed:

   What|Removed |Added

  Component|AlbumsView  |AlbumsView-Icons

-- 
You are receiving this mail because:
You are watching all bug changes.