[Bug 186672] New: Zoom slider should change amount of pictures, not picture size directly

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 186672] New: Zoom slider should change amount of pictures, not picture size directly

Bugzilla from kde-2@dotancohen.com
https://bugs.kde.org/show_bug.cgi?id=186672

           Summary: Zoom slider should change amount of pictures, not
                    picture size directly
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: unspecified
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:            (using KDE 4.2.0)
Installed from:    Ubuntu Packages

In the Thumbnails view of Digikam one can move the zoom slider to change the
size of the thumbnails, and by changing the size of the thumbnails one can fit
more or less thumbnails on a row. However, this lets the user choose thumbnail
sizes that are smaller than the largest possible size for a given number of
thumbnails per row. Thus, the slider should change the amount of thumbnails per
row (and according to that have the size of the thumbnails generated) as
opposed to changing the size of the thumbnails (and according to that have the
amount of thumbnails per row).

For instance, if the row is 1000 px wide then the slider should only make
thumbnails of 500, 333, 250, 200, 166, 142, 125, 111, and 100 pixels wide.
Thumbnails of width 255 are useless: they show less information than thumbnails
of width 333, but no more of them fit on a row than thumbnails of width 333.

Of course, I am not taking into account the borders and margins, and the real
algorithm for determining legal thumbnail widths should account for this.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 186672] Zoom slider should change amount of pictures, not picture size directly

Bugzilla from kde-2@dotancohen.com
https://bugs.kde.org/show_bug.cgi?id=186672


Dotan Cohen <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |wishlist




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 186672] Zoom slider should change amount of pictures, not picture size directly

Gilles Caulier-4
In reply to this post by Bugzilla from kde-2@dotancohen.com
https://bugs.kde.org/show_bug.cgi?id=186672


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Thumbnails
            Version|unspecified                 |0.10.0-svn




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 186672] Zoom slider should change amount of pictures, not picture size directly

Gilles Caulier-4
In reply to this post by Bugzilla from kde-2@dotancohen.com
https://bugs.kde.org/show_bug.cgi?id=186672


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.10.0-svn                  |0.10.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 186672] Zoom slider should change amount of pictures, not picture size directly

Gilles Caulier-4
In reply to this post by Bugzilla from kde-2@dotancohen.com
https://bugs.kde.org/show_bug.cgi?id=186672





--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2011-12-12 12:23:38 ---
Git commit 930c91ce25c6a90fd18e045ad665dd784f0b6291 by Gilles Caulier.
Committed on 12/12/2011 at 13:20.
Pushed by cgilles into branch 'master'.

in icon-view mode, zoom button named "Fit to Window" can be used now to fill
all icon rows with thumb contents automaticaly. The right thumbs size is
computed accordingly with space available...
CCBUGS: 186672

M  +9    -3    digikam/items/digikamimageview.cpp
M  +3    -2    digikam/items/digikamimageview.h
M  +59   -0    digikam/items/imagedelegate.cpp
M  +2    -0    digikam/items/imagedelegate.h
M  +9    -1    digikam/views/digikamview.cpp
M  +1    -1    libs/widgets/common/dzoombar.cpp

http://commits.kde.org/digikam/930c91ce25c6a90fd18e045ad665dd784f0b6291

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 186672] Zoom slider should change amount of pictures, not picture size directly

Gilles Caulier-4
In reply to this post by Bugzilla from kde-2@dotancohen.com
https://bugs.kde.org/show_bug.cgi?id=186672

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
                 CC|                            |[hidden email]
         Resolution|---                         |FIXED

--- Comment #2 from Gilles Caulier <[hidden email]> ---
I just checked Dolphin and Gwenview. None of both adjust icon-view item size by
number of items by line.

With my commit #930c91ce25c6a90fd18e045ad665dd784f0b6291 you can optimize space
used by icon on a line by press "Fit to Window" button on status-bar.

It's enough for digiKam...

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 186672] Zoom slider should change amount of pictures, not picture size directly

Gilles Caulier-4
In reply to this post by Bugzilla from kde-2@dotancohen.com
https://bugs.kde.org/show_bug.cgi?id=186672

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |4.0.0
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/930c91ce25c6a90fd18e045
                   |                            |ad665dd784f0b6291

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel