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

Bug#435828: marked as done (libqt4-gui: file open dialog sometimes returns wrong file path)

Your message dated Sat, 11 Aug 2007 18:33:25 +0200
with message-id <20070811163324.GA8442@localhost.localdomain>
and subject line Bug#435828: Acknowledgement (libqt4-gui: file open dialog sometimes returns wrong file path)
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: libqt4-gui
Version: 4.3.0-5
Severity: important

QFileDialog::getOpenFileName() sometimes returns wrong file name.

  Compile Qt4 application example:
    % cd /tmp; tar xzf /usr/share/doc/qt4-doc/qt4-examples.tar.gz
    % cd examples/mainwindows/application
    % qmake; make
  Now create two files with the same name but in different directories
    % cd /tmp
    % echo "file 1" > 1.txt
    % mkdir 1
    % echo "file 2" > 1/1.txt
  Now there are two files named "1.txt", one in /tmp and the other in
  /tmp/1. Those files have different content. Let's run application
    % /tmp/examples/mainwindows/application/application
  Now try to open 1/1.txt. Go to File->Open, navigate to directory 1,
  and open 1.txt with _double-click_. Qt loads file with content "file 1".
  That is wrong file.

It is possible to open /tmp/1/1.txt by first clicking on it once, wait
for selection, and then click open or double-click. But present behavior
is at leas _very_ annoying, and can be a security problem, so severity is
important (and maybe should be raised to RC).

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-me (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libqt4-gui depends on:
ii  fontconfig              2.4.2-1.2        generic font configuration library
ii  libaudio2               1.9-2+b1         The Network Audio System (NAS). (s
ii  libc6                   2.6-5            GNU C Library: Shared libraries
ii  libfontconfig1          2.4.2-1.2        generic font configuration library
ii  libfreetype6            2.3.5-1+b1       FreeType 2 font engine, shared lib
ii  libgcc1                 1:4.2.1-1        GCC support library
ii  libgl1-mesa-glx [libgl1 6.5.3-1          A free implementation of the OpenG
ii  libglib2.0-0            2.12.13-1        The GLib library of C routines
ii  libglu1-mesa [libglu1]  6.5.3-1          The OpenGL utility library (GLU)
ii  libice6                 2:1.0.3-3        X11 Inter-Client Exchange library
ii  libjpeg62               6b-13            The Independent JPEG Group's JPEG 
ii  libmng1                 1.0.9-1          Multiple-image Network Graphics li
ii  libpng12-0              1.2.15~beta5-2   PNG library - runtime
ii  libqt4-core             4.3.0-5          Qt 4 core non-GUI functionality ru
ii  libsm6                  2:1.0.3-1+b1     X11 Session Management library
ii  libstdc++6              4.2.1-1          The GNU Standard C++ Library v3
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxcursor1             1:1.1.8-2        X cursor management library
ii  libxext6                1:1.0.3-2        X11 miscellaneous extension librar
ii  libxfixes3              1:4.0.3-2        X11 miscellaneous 'fixes' extensio
ii  libxi6                  2:1.1.2-1        X11 Input extension library
ii  libxinerama1            1:1.0.2-1        X11 Xinerama extension library
ii  libxrandr2              2:1.2.1-1        X11 RandR extension library
ii  libxrender1             1:0.9.2-1        X Rendering Extension client libra
ii  libxt6                  1:1.0.5-3        X11 toolkit intrinsics library
ii  zlib1g                  1: compression library - runtime

Versions of packages libqt4-gui recommends:
ii  qt4-qtconfig                  4.3.0-5    Qt 4 configuration tool

-- debconf-show failed

--- End Message ---
--- Begin Message ---
Version: 4.3.1-1

This bug cannot be reproduced with libqt4-gui version 4.3.1-1

Attachment: signature.asc
Description: Digital signature

--- End Message ---

Reply to: