Bug 688614 - open file dialog causes annoying popup
open file dialog causes annoying popup
Status: NEW
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
3.4.x
Other Linux
: Normal major
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
filechooser-easish-fix
:
: 687514 706934 (view as bug list)
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-11-19 03:25 UTC by James
Modified: 2013-09-15 22:31 UTC (History)
7 users (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of the annoying popup. some privacy info erased (115.67 KB, image/png)
2012-11-19 03:25 UTC, James
Details

Description James 2012-11-19 03:25:27 UTC
Created attachment 229329 [details]
screenshot of the annoying popup. some privacy info erased

Dear gedit devs,

(Screenshot attached is also here: http://i.imgur.com/wlEA9.png)

1) Code in gedit...
2) Click open...
3) Click on a parent folder, or other...
4) Annoying "popup" type overlay "window?" appears, right over the files!
5) Clicking on it selects that path, instead of changing to it in one click the way clicking in the normal file browser does. This is causing RSI with the addtional clicks ;)

This is driving me and my friends crazy! Fixes and especially temporary workarounds would be much appreciated.

Many thanks,
James

PS: Marking as major since this is driving people mad ;)
Comment 1 jessevdk@gmail.com 2012-11-19 12:04:04 UTC
Is this happening only in gedit or in all gtk+ apps? Seems like a gtk+ "feature" to me.
Comment 2 James 2012-11-19 18:44:25 UTC
Fortunately, I've only noticed this in gedit. While I agree that it is a GTK+ issue, I figured that:

1) Maybe gedit is setting some flag that enables this
2) Maybe gedit devs notice this and are in a better place to diagnose and track down what it is.
3) Got to start somewhere!

Are you able to reproduce this or ping the right GTK+ person?

Thanks again,
Let me know if you need more info.

James
Comment 3 jessevdk@gmail.com 2012-11-20 12:05:54 UTC
I can easily reproduce this in for example rhythmbox. I don't think we set any special flag to enable this behavior. I agree that it seems like a pretty useless behavior (although you can just press Escape to hide the popup again). The popup seems to basicly scale particularly badly when you have many results (it could just limit the height and scroll more).

Anyway, reassigning to gtk+
Comment 4 James 2012-11-20 12:12:37 UTC
Thanks for looking into this Jesse!
Comment 5 Dmitry Suzdalev 2013-01-10 16:13:18 UTC
I have this too in many gtk+ apps and it is very annoying and standing in the way each time I use this dialog to select some folder.

Would be very grateful if someone would look into it! :)
Comment 6 Dmitry Suzdalev 2013-01-10 16:18:14 UTC
Forgot to mention:

Using gtk3-3.6.2 on Arch Linux
Comment 7 Dmitry Suzdalev 2013-02-02 12:35:44 UTC
I found a workaround!

Open dconf-editor, navigate to org/gtk/settings/file-chooser and change 

location-mode => filename-entry
to
location-mode => path-bar

This way file dialog won't display filename entry field when *selecting folders* and this popup which is really annoying (want to stress that again :)) won't be shown!

Hurray!

But this obviously is a bug of filename-entry mode of gtk+ file chooser, would really appreciate devs fixing it, thanks! :)
Comment 8 James 2013-02-02 13:03:24 UTC
(In reply to comment #7)
> I found a workaround!
> 
> Open dconf-editor, navigate to org/gtk/settings/file-chooser and change 
> 
> location-mode => filename-entry
> to
> location-mode => path-bar
> 
> This way file dialog won't display filename entry field when *selecting
> folders* and this popup which is really annoying (want to stress that again :))
> won't be shown!
> 
> Hurray!
> 
> But this obviously is a bug of filename-entry mode of gtk+ file chooser, would
> really appreciate devs fixing it, thanks! :)

Oh brilliant.
I can confirm that this is now not bothering me.
Hopefully this setting sticks between reboots and whatnot.
Thanks Dmitry.
Comment 9 Matthias Clasen 2013-02-03 00:14:45 UTC
Federico, why would we ever pop up the completions for an empty entry ?
While I can't reproduce the spontaneous popup with 3.6/3.7, I do get a completion popup with an empty entry if I first enter some character, and then remove it with backspace. That shouldn't happen...
Comment 10 Dmitry Suzdalev 2013-02-03 09:33:17 UTC
I'm not sure why you can't reproduce it right away, but this might have to do with something like recent folder/file which was recorded somewhere.

Because this varies from program to program.

For example in gnome's file-roller I *always* get '.' in that entry and popup always shows completions like .local, .config, etc - whole lot of . dirs.

In the nautilus' 'Copy To...' this entry contains some subdir of current or previous dir and messes up an open button.

I.e. this varies from app to app, (but what's constant is popup :)) so I suspect this also has something to do with a per-app setting which gets used by file-chooser dialog.
Comment 11 Timothy Arceri 2013-06-17 04:01:55 UTC
*** Bug 687514 has been marked as a duplicate of this bug. ***
Comment 12 Timothy Arceri 2013-09-15 22:31:13 UTC
*** Bug 706934 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.