After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 688614 - open file dialog causes annoying popup
open file dialog causes annoying popup
Status: RESOLVED OBSOLETE
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:
 
 
Reported: 2012-11-19 03:25 UTC by James
Modified: 2018-04-15 00:31 UTC
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. ***
Comment 13 Matthias Clasen 2018-02-10 05:24:09 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 14 Matthias Clasen 2018-04-15 00:31:41 UTC
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla.

If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab:

https://gitlab.gnome.org/GNOME/gtk/issues/new