Package: cdebconf Version: 0.104+b1 Severity: minor Tags: patch The problem is easily reproducible on a few languages when running kbd-chooser; the patch below seems to fix the problem. Haven't found the exact reason, but looks like the largest number of padding characters has to be used when computing the size of windows; (i.e "8" both in show_select_window() and show_multiselect_window(), vs. the "6" characters of TITLE_PADDING) The patch was tested only on show_select_window() but it probably applies also to show_multiselect_window() Note that the number of cut-off characters is not always "2" but can be "1" and "3" too: http://www.webalice.it/zinosat/bugs/et.png http://www.webalice.it/zinosat/bugs/fr.png http://www.webalice.it/zinosat/bugs/ga.png http://www.webalice.it/zinosat/bugs/it.png http://www.webalice.it/zinosat/bugs/ku.png http://www.webalice.it/zinosat/bugs/lt.png http://www.webalice.it/zinosat/bugs/lv.png regards, Davide Index: src/modules/frontend/newt/newt.c =================================================================== --- src/modules/frontend/newt/newt.c (revision 39661) +++ src/modules/frontend/newt/newt.c (working copy) @@ -708,7 +708,7 @@ t_width = sel_width; if (win_width > t_width + 8) win_width = t_width + 8; - t_width_title = newt_get_text_width(obj->title) + TITLE_PADDING; + t_width_title = newt_get_text_width(obj->title) + TITLE_PADDING + 2; if (t_width_title > win_width) win_width = t_width_title; if (show_ext_desc && full_description) {
Attachment:
signature.asc
Description: Digital signature