Bug 182829 - Height of main window cannot be reduced enough to fit on low res. displays
Summary: Height of main window cannot be reduced enough to fit on low res. displays
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Ergonomy (show other bugs)
Version: 0.10.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-02 07:38 UTC by Patrick
Modified: 2017-08-04 21:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.10.0


Attachments
digiKam resized to minimum size possible (74.60 KB, image/png)
2009-02-02 08:19 UTC, Patrick
Details
digiKam resized to minimum size after commit #920064 (56.13 KB, image/png)
2009-02-02 17:18 UTC, Patrick
Details
minsize (142.76 KB, image/png)
2009-02-09 12:35 UTC, Andi Clemens
Details
This is how it looks (600px) (143.33 KB, image/png)
2009-02-09 13:00 UTC, Wolf Behrenhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2009-02-02 07:38:03 UTC
Version:           0.10.0-rc1 (using KDE 4.2.0)
OS:                Linux
Installed from:    Gentoo Packages

With the advent of netbooks with a typical resolution of 1024x600 and other similar devices, GUI applications should be adjusted to fit on low resolution (i.e. small) screens.

Currently digiKam is unusable on my netbook, because the main window is cut of at the bottom, and there is no way of resizing it.

Please reduce the hard-coded 'minimum height' to at most 450 pixels (currently something like 680 pixels on my screen, which makes digiKam too big even on 1024x768 screens, if you have a "fat" bottom or top panel).
IMO it's better for (netbook) users to have to scroll but being able to use an application than to not being able to use an application at all.

Related bug report: http://bugs.kde.org/show_bug.cgi?id=182755 - this one is about the configure dialogue, which has the same issue.
Comment 1 caulier.gilles 2009-02-02 07:41:52 UTC
Give us some screenshot where minimum size is hardcoded. We use KDE components and it can be relevent of non digiKam code...

Gilles Caulier
Comment 2 caulier.gilles 2009-02-02 08:00:10 UTC
Also, this can be relevant of translation strings size which can break layout. Please check in English.

Gilles Caulier
Comment 3 Patrick 2009-02-02 08:19:21 UTC
Created attachment 30855 [details]
digiKam resized to minimum size possible

This is on another box where I can't install 0.10.0-rc1, but I think it's the same with beta8 as seen on this screenshot.

Just try it for yourself - the window cannot be resized to a smaller size, which is not usable on small displays. I can send another screenshot from my netbook, where the bottom of the window is cut off, if you want, but I don't think that would be of much interest.

Probably the minimum size of the main window isn't hard-coded (I didn't check the code), but maybe the minimum size settings of the widgets in it add up to this overall (too big) minimum size? In any case, there must be a way to fix this - all other KDE programs I tested so far are usable on my netbook.

As for translated strings: as you can see on the screenshot, I use English (just as on my netbook).
Comment 4 caulier.gilles 2009-02-02 12:03:38 UTC
SVN commit 920064 by cgilles:

digiKam from trunk : use QScrollArea to host fuzzy search view to reduce main window size
CCBUG: 182829


 M  +18 -12    fuzzysearchview.cpp  
 M  +4 -4      fuzzysearchview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=920064
Comment 5 caulier.gilles 2009-02-02 12:04:50 UTC
Patrick,

With commit #920064, it's better. I think more improvement require marble widget fixes (i'm not 100% sure...)

Please test and report if it's enough.

Gilles Caulier
Comment 6 Patrick 2009-02-02 17:18:00 UTC
Created attachment 30873 [details]
digiKam resized to minimum size after commit #920064

Yes, that's much better :) Thanks for the quick fix!
Comment 7 Wolf Behrenhoff 2009-02-09 12:29:14 UTC
Are you sure this is resolved?

I'm using Kubuntu with Kubuntu's KDE 4.2 packages and installed digiKam from SVN, build 922266. I still cannot resize digikam to less than 600 pixels in height. 600px is the height of my netbook's screen. Because I have the task bar in the bottom, I need digikam to support a height of let's say 580 pixels or less.

What did you do to achive what is shown in screenshot after commit #920064?
Comment 8 Andi Clemens 2009-02-09 12:35:18 UTC
Created attachment 31143 [details]
minsize

Yes we have solved it, at least you can scale down the window to 560px height.
What Qt/KDE style are you using? I'm using standard Oxygen on my system.

Andi
Comment 9 Wolf Behrenhoff 2009-02-09 13:00:08 UTC
Created attachment 31144 [details]
This is how it looks (600px)

I'm just using standard ubuntu's theme, I think it is oxygen (never cared about themes). I can resize the width, but not the height. As you can see, in maximized state, digikam is below the task bar.

If I move the whole window downwards, then I can resize the height to more than 600px but not to less.

Maybe did I do something wrong when building digikam? Or do I need to delete some digikam settings files?
Comment 10 Patrick 2009-02-09 13:35:21 UTC
(In reply to comment #9)
> Maybe did I do something wrong when building digikam? Or do I need to delete
> some digikam settings files?

I think your DPI setting is wrong. That's probably also the reason why your fonts and decorations are so huge.

I don't know how to set the DPI nowadays (now that xorg.conf is obsolete) - I'm still setting it with the "DisplaySize     x y" (x and y are screen width/height in mm) setting in the Monitor section of xorg.conf.

But if it was possible to shrink digiKam even further, it would be even better.
Comment 11 Andi Clemens 2009-02-09 13:42:00 UTC
You can set your DPI settings with kdm (edit /usr/share/config/kdm/kdmrc):

ServerCmd=/usr/bin/X -br -novtswitch -quiet -dpi 75

I have a Macbook Pro (1440x900px) and fonts are always too big, the same for my old Acer Aspire 1362LC. DPI 90 seems to be the standard, but for me it always looks crappy.
So I set my DPI to 75 and all is fine.
Comment 12 Wolf Behrenhoff 2009-02-09 15:09:41 UTC
Thank you, setting the DPI helped.

My display is 11 inch, 13cm height x 22.2cm width at 1024x600. Maybe I misunderstood something but if I calculate the resolution, it is 117x117dpi! 

Now if I force it to be 96dpi, I can view the full digikam. 

KDE->System Settings->Erscheinungsbild (Appearance?)->Fonts->Force DPI for Fonts

The default value seems to be "deactivated" but it needs to be set to 96dpi.