Bug#685707: libgtk-3-0: GTK chooser autocomplete makes incorrect choices

ross at kallisti.us ross at kallisti.us
Thu Aug 23 16:27:30 UTC 2012


Package: libgtk-3-0
Version: 3.4.2-3
Severity: normal

Dear Maintainer,

If a directory contains subdirectories such that they have the same
initial string, then the GTK chooser autocompletes the selection to that
unique string.  This makes it difficult to select the parent.


First, create the following directory structure:
$ mkdir -p 1/1-1 2/2-1 2/2-2 3/1 3/2 

Second, attempt to open the parent directories 1, 2, and 3, in any GTK
chooser app.  The behavior for each case is as follows.

When attempting to choose directory 1:
- If I type "1" into the location bar, upon pressing enter, the chooser
  chooses 1/1-1/ instead.

- If I click on 1 and then press enter, the chooser changes to display
  the contents of 1, with 1-1 selected.

- If I click on 1 and then on "Open", the correct choice is made.


When attempting to choose directory 2:
- If I type "2" into the location bar, upon pressing enter, the chooser
  fills in "2/2-", creates the directory 2/2-, and chooses it.

- If I click on 2 and then press enter, the chooser changes to display
  the contents of 2, with "2-" filled in the location bar.  Pressing
  enter again creates and chooses 2- (even when not performing a save!)

- If I click on 2 and then on "Open", the correct choice is made.


When attempting to choose directory 3:
- If I type "3" into the location bar and press enter, the correct
  choice is made.

- If I click on 3 and then press enter, the chooser changes to display
  the contents of 3.  Pressing enter again makes the correct choice.

- If I click on 3 and then click on "Open", the correct choice is made.


In ALL of these cases, I expect the parent to be chosen.  Only with a
tree like 3 does whis work.

In the second subcase of 2, a previously non-existent directory should
NOT be created when choosing a directory to open.

Thanks,
Ross

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgtk-3-0 depends on:
ii  libatk1.0-0         2.4.0-2
ii  libc6               2.13-35
ii  libcairo-gobject2   1.12.2-2
ii  libcairo2           1.12.2-2
ii  libcolord1          0.1.21-1
ii  libcomerr2          1.42.5-1
ii  libcups2            1.5.3-1
ii  libfontconfig1      2.9.0-7
ii  libfreetype6        2.4.9-1
ii  libgcrypt11         1.5.0-3
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-0        2.32.3-1
ii  libgnutls26         2.12.20-1
ii  libgssapi-krb5-2    1.10.1+dfsg-2
ii  libgtk-3-common     3.4.2-3
ii  libk5crypto3        1.10.1+dfsg-2
ii  libkrb5-3           1.10.1+dfsg-2
ii  libpango1.0-0       1.30.0-1
ii  libx11-6            2:1.5.0-1
ii  libxcomposite1      1:0.4.3-2
ii  libxcursor1         1:1.1.13-1
ii  libxdamage1         1:1.1.3-2
ii  libxext6            2:1.3.1-2
ii  libxfixes3          1:5.0-4
ii  libxi6              2:1.6.1-1
ii  libxinerama1        2:1.1.2-1
ii  libxrandr2          2:1.3.2-2
ii  multiarch-support   2.13-35
ii  shared-mime-info    1.0-1
ii  zlib1g              1:1.2.7.dfsg-13

Versions of packages libgtk-3-0 recommends:
ii  hicolor-icon-theme  0.12-1
ii  libgtk-3-bin        3.4.2-3

Versions of packages libgtk-3-0 suggests:
ii  gvfs             1.12.3-1+b1
ii  librsvg2-common  2.36.1-1

-- no debconf information



More information about the pkg-gnome-maintainers mailing list