Bug 283580

Summary: UI problem: Captions/Tags too big and non-scrollable, makes Tags Tree unusable.
Product: [Applications] digikam Reporter: Ismael <leamsi.setroc>
Component: Usability-ErgonomyAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, mike, ste
Priority: NOR    
Version: 2.3.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 2.3.0
Sentry Crash Report:
Attachments: Screenshot
Toshiba T230-132 laptop screenshot.

Description Ismael 2011-10-08 04:38:59 UTC
Version:           2.3.0 (using KDE 4.7.1) 
OS:                Linux

(KDE's bug system sucks...
This is KDE Version 4.7.2, Qt 4.7.4. Digikam version says 2.3.0. Compiled from c0354a5 -- Oct 6th at 23:45'ish PST. Screen resolution is 1366x768 )

The Captions/Tags pane on the right side of the screen is way too big for my screen in my laptop. The main problem I see is that the "Title" field is too large for a title... and the Tags tree is crushed below, making it pretty useless.

I'll try to figure how to attach a screenshot.

Reproducible: Always

Steps to Reproduce:
Open Digikam
Open the Captions/Tags

Actual Results:  
Title field is huge.
Tags tree is cramped in a small field, way too hard to use.

Expected Results:  
Either the Title field would be smaller, or there would be a scrollbar so the Tags tree wouldn't have to be so clamped. Preferably both. 

OS: Linux (i686) release 3.0.1-smp
Compiler: gcc
Comment 1 Ismael 2011-10-08 04:39:58 UTC
Created attachment 64330 [details]
Screenshot
Comment 2 caulier.gilles 2011-10-08 08:17:47 UTC
Strange, i have a similar laptop screen resolution and all is fine.Which Qt4 and KDE4 version you use ?

Gilles Caulier
Comment 3 caulier.gilles 2011-10-08 09:10:14 UTC
Created attachment 64333 [details]
Toshiba T230-132 laptop screenshot.

My laptop 13' screenshot. Tags tree-view is suitable here...

Gilles Caulier
Comment 4 Michael G. Hansen 2011-10-08 18:18:51 UTC
I have two user-profiles running digikam, and one of them also has the problem that Ismael reported (on current git code). The one with the problem runs on the latest KDE version via project neon. The one where the layout is fine is my normal user account, which used to run digikam 1.9 before switching to the git version. Maybe it is an issue with newly created configurations?

Michael
Comment 5 Ismael 2011-10-09 03:46:05 UTC
I don't think so, I was running 2.1.something (I think something = 0,
but I'm not really sure) before... I'm wondering if it's a problem
with the latest KDE version. I'm not on neon, just using the stable
release of 4.7.2... or maybe Qt?

On Sat, Oct 8, 2011 at 11:18 AM, Michael G. Hansen <mike@mghansen.de> wrote:
> https://bugs.kde.org/show_bug.cgi?id=283580
>
>
> Michael G. Hansen <mike@mghansen.de> changed:
>
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |mike@mghansen.de
>
>
>
>
> --- Comment #4 from Michael G. Hansen <mike mghansen de>  2011-10-08 18:18:51 ---
> I have two user-profiles running digikam, and one of them also has the problem
> that Ismael reported (on current git code). The one with the problem runs on
> the latest KDE version via project neon. The one where the layout is fine is my
> normal user account, which used to run digikam 1.9 before switching to the git
> version. Maybe it is an issue with newly created configurations?
>
> Michael
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 6 caulier.gilles 2011-10-09 11:13:32 UTC
This problem is relevant of libkexiv2 used on computer. Look my code relevant here :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/imageproperties/imagedescedittab.cpp#L193

I patched libkexiv2 from git/master few month ago, typically released with KDE 4.7.x. If libkexiv2 used is older, this layout problem will appear.

Solution : update libkexiv2 if possible on your computer

Gilles Caulier
Comment 7 caulier.gilles 2011-10-09 21:50:15 UTC
*** Bug 283668 has been marked as a duplicate of this bug. ***
Comment 8 stef 2011-10-10 06:05:56 UTC
I have exactly the same problem , archlinux with newest packages, laptop with 15" 1280x768, didn't find this report and mistakenly opened a duplicate
https://bugs.kde.org/show_bug.cgi?id=283668
Comment 9 Rinus Bakker 2011-10-10 09:22:10 UTC
Op 09-10-11 13:13, Gilles Caulier schreef:
> https://bugs.kde.org/show_bug.cgi?id=283580
>
>
> Gilles Caulier<caulier.gilles@gmail.com>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>            Component|Albums GUI                  |libkexiv2
>
>
>
>
> --- Comment #6 from Gilles Caulier<caulier gilles gmail com>   2011-10-09 11:13:32 ---
> This problem is relevant of libkexiv2 used on computer. Look my code relevant
> here :
>
> https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/imageproperties/imagedescedittab.cpp#L193
>
> I patched libkexiv2 from git/master few month ago, typically released with KDE
> 4.7.x. If libkexiv2 used is older, this layout problem will appear.
>
> Solution : update libkexiv2 if possible on your computer
>
> Gilles Caulier
>
As I well remember, I build dk 2.2.0 from tarball. My kde says 4.7.1 
libkexiv reports 2.1.0
It'is not clear to me what update I need to make.
For those who can like me not solve the problem, you can scrol from 
filters view and drag tags (do not check them) from there. This way you 
can do what you need to do.
Rinus
Comment 10 caulier.gilles 2011-10-10 11:23:38 UTC
Git commit d4ed6a06d36482ddb513968ae1e241c201de6cee by Gilles Caulier.
Committed on 10/10/2011 at 13:22.
Pushed by cgilles into branch 'master'.

add rules to manage Title widget size with older version of libkexiv2
BUGS: 283580

M  +49   -0    libs/imageproperties/imagedescedittab.cpp
M  +1    -0    libs/imageproperties/imagedescedittab.h

http://commits.kde.org/digikam/d4ed6a06d36482ddb513968ae1e241c201de6cee
Comment 11 Michael G. Hansen 2011-10-10 22:54:00 UTC
Thanks Gilles, the layout is fixed now on my system.

Michael