Package: apvlv Version: 0.0.9.3-1 Severity: minor
Current unstable version (it was trivial to backport it to lenny) doesn't change it's main window title to the name of displayed pdf file. At least the following usecase makes unchanging window title a minor annoyance: 1) Copy an arbitrary pdf file to an arbitrary directory. For the sake of clarity, let us assume that there is a file '1.pdf' in '/tmp' directory. 2) Launch apvlv, note that it shows its standard help file, '/usr/share/doc/Startup.pdf', and window title is set to 'Startup.pdf' 3) Enter ':open /tmp' in apvlv. apvlv happily shows all pdf files in '/tmp', but it's window title is still set to 'Startup.pdf'. 4) Press 'gt'. Note that apvlv window title is set to 'tmp' now. 5) Navigate to pdf file in apvlv, and press 'Enter' on any (1.pdf in our example). 6) apvlv now show contents of '1.pdf' file, but it's window title is still show 'tmp'. 7) Press 'gt'. Note that apvlv window title is set to '1.pdf' now. Patch attached to this bugreport tries to fix this inconsistency. Hope it'll find it's way upstream, or at least to next Debian version of this package. -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages apvlv depends on: ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit ii libc6 2.7-18lenny2 GNU C Library: Shared libraries ii libcairo2 1.6.4-7 The Cairo 2D vector graphics libra ii libgcc1 1:4.3.2-1.1 GCC support library ii libglib2.0-0 2.16.6-3 The GLib library of C routines ii libgtk2.0-0 2.12.12-1~lenny1 The GTK+ graphical user interface ii libpango1.0-0 1.20.5-5+lenny1 Layout and rendering of internatio ii libpoppler-glib3 0.8.7-3.1 PDF rendering library (GLib-based ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3 apvlv recommends no packages. apvlv suggests no packages. -- debconf-show failed
--- a/src/ApvlvDir.cpp 2010-03-31 18:20:22.669950694 +0400 +++ b/src/ApvlvDir.cpp 2010-03-31 18:53:15.161456572 +0400 @@ -356,6 +356,7 @@ { case GDK_Return: ApvlvWindow::currentWindow ()->setCore (ndoc); + gView->settitle (g_path_get_basename(name)); break; case 'o': --- a/src/ApvlvView.cpp 2010-03-31 19:33:33.597456898 +0400 +++ b/src/ApvlvView.cpp 2010-03-31 19:33:07.205456290 +0400 @@ -544,6 +544,7 @@ { win->setCore (ndoc); updatetabname (); + settitle (filename); } g_free (abpath);