[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#382278: marked as done (Window title gets cut-off with newt frontend)



Your message dated Fri, 11 Aug 2006 10:32:07 -0700
with message-id <E1GBarf-0002ow-Ry@spohr.debian.org>
and subject line Bug#382278: fixed in cdebconf 0.105
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Source: cdebconf
Source-Version: 0.105

We believe that the bug you reported is fixed in the latest version of
cdebconf, which is due to be installed in the Debian FTP archive:

cdebconf-gtk-udeb_0.105_i386.udeb
  to pool/main/c/cdebconf/cdebconf-gtk-udeb_0.105_i386.udeb
cdebconf-newt-udeb_0.105_i386.udeb
  to pool/main/c/cdebconf/cdebconf-newt-udeb_0.105_i386.udeb
cdebconf-priority_0.105_all.udeb
  to pool/main/c/cdebconf/cdebconf-priority_0.105_all.udeb
cdebconf-text-udeb_0.105_i386.udeb
  to pool/main/c/cdebconf/cdebconf-text-udeb_0.105_i386.udeb
cdebconf-udeb_0.105_i386.udeb
  to pool/main/c/cdebconf/cdebconf-udeb_0.105_i386.udeb
cdebconf_0.105.dsc
  to pool/main/c/cdebconf/cdebconf_0.105.dsc
cdebconf_0.105.tar.gz
  to pool/main/c/cdebconf/cdebconf_0.105.tar.gz
cdebconf_0.105_i386.deb
  to pool/main/c/cdebconf/cdebconf_0.105_i386.deb
libdebconfclient0-dev_0.105_i386.deb
  to pool/main/c/cdebconf/libdebconfclient0-dev_0.105_i386.deb
libdebconfclient0-udeb_0.105_i386.udeb
  to pool/main/c/cdebconf/libdebconfclient0-udeb_0.105_i386.udeb
libdebconfclient0_0.105_i386.deb
  to pool/main/c/cdebconf/libdebconfclient0_0.105_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 382278@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frans Pop <fjp@debian.org> (supplier of updated cdebconf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 11 Aug 2006 19:24:58 +0200
Source: cdebconf
Binary: cdebconf-slang-udeb libdebconfclient0 cdebconf-priority cdebconf libdebconfclient0-dev cdebconf-udeb libdebconfclient0-udeb cdebconf-gtk-udeb cdebconf-text-udeb cdebconf-newt-udeb
Architecture: source i386 all
Version: 0.105
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Frans Pop <fjp@debian.org>
Description: 
 cdebconf   - Debian Configuration Management System (C-implementation)
 cdebconf-gtk-udeb - Gtk+ frontend for Debian Configuration Management System (udeb)
 cdebconf-newt-udeb - Newt frontend for Debian Configuration Management System (udeb)
 cdebconf-priority - Change debconf priority (udeb)
 cdebconf-text-udeb - Plain text frontend for Debian Configuration Management System (udeb)
 cdebconf-udeb - Debian Configuration Management System (C-implementation) (udeb)
 libdebconfclient0 - Debian Configuration Management System (C-implementation)
 libdebconfclient0-dev - Development files for cdebconf
 libdebconfclient0-udeb - Debian Configuration Management System (C-implementation) (udeb)
Closes: 317354 382278
Changes: 
 cdebconf (0.105) unstable; urgency=low
 .
   [ Colin Watson ]
   * Make DEBCONF_DEBUG=developer be equivalent to DEBCONF_DEBUG=5, for
     compatibility with debconf (not perfect, but this is a common case).
 .
   [ Joey Hess ]
   * Patch from Davide Viti to make newt frontend display errors with a help
     bar that's not blue. Closes: #317354
 .
   [ Frans Pop ]
   * Switch gtk frontend to build using gtk+2.0 2.8 libs.
   * Increase TITLE_PADDING to allow for vertical bars that delimit the border
     in the title. Thanks to Davide Viti. Closes: #382278.
 .
   [ Updated translations ]
   * Dzongkha (dz.po) by Jurmey Rabgay
   * Greek, Modern (1453-) (el.po) by quad-nrg.net
   * Estonian (et.po) by Siim Põder
   * Gujarati (gu.po) by Kartik Mistry
   * Khmer (km.po) by Khoem Sokhem
   * Panjabi (pa.po) by A S Alam
   * Portuguese (pt.po) by Miguel Figueiredo
   * Romanian (ro.po) by Eddy PetriÅ?or
   * Swedish (sv.po) by Daniel Nylander
   * Tagalog (tl.po) by Eric Pareja
   * Ukrainian (uk.po) by Eugeniy Meshcheryakov
   * Traditional Chinese (zh_TW.po) by Tetralet
Files: 
 f879faad9a8edec679d4ec2e5d8c56cd 1195 utils optional cdebconf_0.105.dsc
 7253ecb3e260f65908382a2d0b5c5daa 230389 utils optional cdebconf_0.105.tar.gz
 b7da8cf67e52add761f07791d374208c 2760 debian-installer standard cdebconf-priority_0.105_all.udeb
 792034360a112979d3cd10bd8f46abc3 141762 utils extra cdebconf_0.105_i386.deb
 0956b557d9f5cf9b58dea4d7683b2e37 30586 libs optional libdebconfclient0_0.105_i386.deb
 734e30fa1893832db677bcf41f53078e 31940 libdevel optional libdebconfclient0-dev_0.105_i386.deb
 64dad5e67304b7ac6b3b773931a7c4fb 45090 debian-installer standard cdebconf-udeb_0.105_i386.udeb
 c440d18a043d8b02623b5f6ccf68bcd9 2972 debian-installer optional libdebconfclient0-udeb_0.105_i386.udeb
 91178a1e474a33ff832d5d7620499915 16640 debian-installer optional cdebconf-newt-udeb_0.105_i386.udeb
 7c63b97e81ea7946c46f8cb9d9b619c7 18728 debian-installer optional cdebconf-text-udeb_0.105_i386.udeb
 30c117f4bef1c0169771da4bda148436 22236 debian-installer optional cdebconf-gtk-udeb_0.105_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFE3L3Tgm/Kwh6ICoQRApMsAKDKErXkemNejkJg0gWvony54oEW9wCg1Y0b
Dw6NN+0asxAZleVIYiyJnEk=
=En6v
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: