Created attachment 57234 [details] Screenshot of the Russian version of batch raw converter Version: 1.8.0 (using KDE 4.6.0) OS: Linux Please check attached screenshot. Reproducible: Didn't try Expected Results: Conversion options should fit to converter window. OS: Linux (x86_64) release 2.6.35-25-generic Compiler: cc
There is nothing to do in GUI. Strings from libkdcraw must be optimized... Gilles Caulier
(In reply to comment #1) > There is nothing to do in GUI. Strings from libkdcraw must be optimized... Gilles, there are 2 problems that can be fixed in KipiPlugins+libkdcraw: 1. Even if you use RAW batch converter in English, the _horizontal_ scrollbar _always_ appears when there is no enough _vertical_ space. Shall I create a new bug report for this? 2. Layouting can be improved: https://git.reviewboard.kde.org/r/101375/ , https://git.reviewboard.kde.org/r/101376/ After applying those patches the width of the panel with Russian localization becomes 2 pixels narrower (though it may depend on the fonts used) than without those patched and with English language. The bottleneck for Russian translation is now "T(K):" translated as "Temperature (K):" in messages/kdegraphics/libkdcraw.po.
Git commit 492e0c7c75a2bbb4869a699b604fc044c2b6cfe9 by Gilles Caulier. Committed on 17/05/2011 at 12:54. Pushed by cgilles into branch 'master'. improve settings layout CCBUGS: 266264 M +2 -2 common/libkipiplugins/widgets/savesettingswidget.cpp http://commits.kde.org/kipi-plugins/492e0c7c75a2bbb4869a699b604fc044c2b6cfe9
Git commit 665fc7f54d9025183a21e85bcd2b72309173784f by Gilles Caulier. Committed on 17/05/2011 at 12:53. Pushed by cgilles into branch 'master'. improve layout in settings widget BUGS: 266264 M +5 -5 libkdcraw/dcrawsettingswidget.cpp http://commits.kde.org/libkdcraw/665fc7f54d9025183a21e85bcd2b72309173784f
The bug is still not fixed since the horizontal scrollbar appears when it shouldn't.
It's due probably to a bug in Qt4 QScrollArea which do not handle properly the width of content to host. Gilles Caulier
Links to source code : https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw/repository/revisions/master/entry/libkdcraw/dcrawsettingswidget.cpp#L186 https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw/repository/revisions/master/entry/libkdcraw/rexpanderbox.cpp#L543 Gilles Caulier
If the problem can be fixed in QScrollArea::sizeHint (though, I'm not 100% sure about that), then it also can be hack-fixed by reimplementing RExpanderBox::sizeHint.
yes probably. Patch is welcome... Gilles Caulier
Alexander, Are you able to provide a patch for solution explained in #8 ? Gilles Caulier
(In reply to comment #10) > Are you able to provide a patch for solution explained in #8 ? Gilles, I did some debugging last week, and figured out that sizeHint for the right-side panel is called only once, i.e. nobody cares to all it again after the batch converter window or the contents of the QScrollArea change their sizes. My guess is that we should call QScrollArea::widget()->adjustSize(); from time to time (I don't mean to call it every 100ms ;), adjustSize should probably be hooked to some signals or events).
*** Bug 255757 has been marked as a duplicate of this bug. ***
Maik, Another file where changes must be minimal to fix it as explained in comment #8 Gilles
Gilles, the batch RAW converter no longer exists. The German translation is also longer than the English. I can not notice any problems in BQM or in the settings dialog. Maik
Maik, Originally, the problem have been reported from RAWConverter kipi tool dialog. The widget where problem have been detected is RAW decoding settings. It also used in RAWImport tool of digiKam Image Editor. Just turn one RAW loading file in Editor through RAWImport tool and look if dysfunction exist on right sidebar of editor where Raw decoding settings is plugged. Gilles
No horizontal scroll bar in the editor with the RAW import tool. Tested with the German and Russian language setting and a bigger font. Maik
yes, me too. we can considerate this file as fixed now. Gilles