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 143701 - GtkEntryCompletion doesn't work with many actions
GtkEntryCompletion doesn't work with many actions
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkComboBox
2.12.x
Other Linux
: Normal normal
: future
Assigned To: gtk-bugs
gtk-bugs
: 326240 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-06-04 10:32 UTC by Linus G Larsson
Modified: 2018-02-10 03:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
testcase as patch against testentrycompletion.c (1.05 KB, text/plain)
2004-06-04 14:23 UTC, Christian Persch
Details

Description Linus G Larsson 2004-06-04 10:32:22 UTC
When I enter an URL in the location/address bar, if the list of URLs and smart
bookmarks is too long to fit on my screen, it will draw the list of URLs upwards
instead of downwards, causing me to see _even fewer_ URLs (actually, I just see
the four last smart bookmarks).

This makes the feature virtually unusable to me.

One solution is to use a dropdown box with a horizontal scrollbar, as Firefox
does. That way, the visible list will always be X entries long. Preferably, the
smart bookmarks would not be affected by this but would instead be attached
under the dropdown box.
Comment 1 Christian Persch 2004-06-04 14:22:25 UTC
Reproducible in testentrycompletion, re-assigning to gtk+

Steps to reproduce:
0) Apply the attached patch to testentrycompletion.c, build and run
1) Move the window to about the middle of the screen
2) Type "am" into the middle entry

Expected results:
The completion list pops up, and is contained within the screen.

Actual results:
The completion list pops up (to the top), but is partially outside of the screen.
Comment 2 Christian Persch 2004-06-04 14:23:23 UTC
Created attachment 28345 [details]
testcase as patch against testentrycompletion.c
Comment 3 Matthias Clasen 2004-06-05 03:36:59 UTC
Hmm, I guess Kris didn't have use cases with lots of action items in mind when
he designed the entry completion popup to scroll for the completions, but not
for the action items...
Comment 4 Matthias Clasen 2004-06-05 03:48:01 UTC
How would you expect this to work, Christian ? Having two vertical scrollbars,
one for the completions and one for the actions, doesn't seem to reasonable to me...
Comment 5 Linus G Larsson 2004-09-06 12:36:04 UTC
Now it works the best way possible, I think. The "top part", with the
completions, now has a vertical scrollbar. Under that is the actions tacked on,
and it works beautifully. Thanks!
Comment 6 Matthias Clasen 2004-09-07 17:17:23 UTC
Please don't close GTK+ bugs unless you have fixed them. This issue is still
unresolved.
Comment 7 Reinout van Schouwen 2006-01-11 14:17:06 UTC
*** Bug 326240 has been marked as a duplicate of this bug. ***
Comment 8 Christian Persch 2006-01-11 14:18:27 UTC
Looks like this wasn't propertly reopened; doing that now.
I can still reproduce this.
Comment 9 Reinout van Schouwen 2008-02-11 12:22:24 UTC
chpe, could you check if #143701 is still valid, please
<Zeus> gtk+ bug #143701: REOPENED: GtkEntryCompletion doesn't work with many actions http://bugzilla.gnome.org/show_bug.cgi?id=143701
<chpe> reinouts: yes it is still valid
Comment 10 Matthias Clasen 2018-02-10 03:32:00 UTC
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and
still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue
for it.