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 116482 - merge favicon and address entry into a single action
merge favicon and address entry into a single action
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Controls
unspecified
Other Linux
: Normal enhancement
: Future
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
Depends on: 85292
Blocks: 117184
 
 
Reported: 2003-07-01 19:11 UTC by Dave Bordoley [Not Reading Bug Mail]
Modified: 2005-01-13 23:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a spinning favicon action (6.30 KB, patch)
2003-10-27 14:12 UTC, Christian Persch
needs-work Details | Review
screenshot of live proof-of-concept impl (43.31 KB, image/png)
2004-01-26 20:53 UTC, Christian Persch
  Details
proof-of-concept implementation (13.96 KB, patch)
2004-01-26 21:08 UTC, Christian Persch
needs-work Details | Review

Description Dave Bordoley [Not Reading Bug Mail] 2003-07-01 19:11:47 UTC
Its pretty silly having a seperate action for the favicon, should just
merge it with the address entry. For bonus points turn off the frame on the
entry, set the bg color of the icon to that of a text entry and wrap the
whole widget in gtk_frame so that it looks like the icon is in the text
entry :)
Comment 1 Marco Pesenti Gritti 2003-09-01 13:23:08 UTC
Sorry for the spam. Reassigning bugs with a target to our next milestone.
Comment 2 Marco Pesenti Gritti 2003-09-22 18:34:22 UTC
Entry has a particular height allocation, try it in glade. So I'm not
sure if this is possible ...
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2003-09-22 18:37:00 UTC
I've done this in glade i think it works ok. Ideally the new combo 
would provide the api to do this for us no? Whats the status of kris 
combo will it make it into gtk 2.4?
Comment 4 Marco Pesenti Gritti 2003-09-22 21:32:02 UTC
Yeah the combo will likely be another issue, I dont think it will be
possible to have the frame only on the entry. Kris combo will make 2.4
yeah, nearly ready to go in. Who use the dropdown anyway :P
Comment 5 Dave Bordoley [Not Reading Bug Mail] 2003-10-15 07:43:06 UTC
Marco,

Should we wait for gtk to do this or do you expect that this is too
browser centric? If not we can add an icon to ephy-location-entry and
merge the necessary bits from ephy-favicon-action and
ephy-location-action. I'm willing to do the work if we think its the
right solution.
Comment 6 Marco Pesenti Gritti 2003-10-15 16:53:46 UTC
I think that if we can get it to work correctly without gtk changes
it's even better. I dont expect much apps to use it. Though if it's
not possible, then I'd like if gtk would support it.
Comment 7 Dave Bordoley [Not Reading Bug Mail] 2003-10-15 17:08:50 UTC
well my propose hack is the following:
1. turn off the frame of gtkentry via gtkentry public api.
2. pack an hbox with a gtkimage and a gtkentry.
3. pack the hbox in a gtkframe
4. set the bg color of the gtkimage to that of the gtkentry. and
monitor theme changes as we do in other parts of ephy.

drawbacks.
There is only on drawback to not adding the image to gtk entry itself
imo. To the best of my knowledge if we add icons to the drop down at
some point in the future we will not be able to align the icons to the
entry icon as is done in IE so we will end up with something like this.

[icon][entry                   ]
      [icon comletion          ]
      [icon completion         ]

I'm not sure if this is a big deal or not. I guess this also begs the
question, would icons in the dropdown really be useful.

anyway let me know what you think.
Comment 8 Marco Pesenti Gritti 2003-10-15 17:32:45 UTC
About implementation I'm worried entry size allocation will create
problems, but we should try.
About the drawback, probably not alignement will look ugly (also
without icons).
Comment 9 Christian Persch 2003-10-27 14:12:30 UTC
Created attachment 20973 [details] [review]
a spinning favicon action
Comment 10 Christian Persch 2003-10-27 14:15:18 UTC
Since combining the favicon+spinner into the entry depends on gtk+
changes, I think we can as a first step combine the favicon and the
spinner and thus get rid of the spinner on the mini-toolbar.
Comment 11 Dave Bordoley [Not Reading Bug Mail] 2003-10-27 17:50:37 UTC
chpe rock on!
Comment 12 Marco Pesenti Gritti 2003-10-27 20:06:54 UTC
Christian I'll try this out tomorrow.
Comment 13 Marco Pesenti Gritti 2003-10-28 16:32:04 UTC
I think we should try to do an effort to decide the whole changes in
feedback for 1.2. Frankly I'm a bit confused by all the proposals has
been made ...
Comment 14 spark 2003-12-20 19:50:27 UTC
WONTFIX.
Comment 15 Dave Bordoley [Not Reading Bug Mail] 2003-12-21 15:32:54 UTC
Why is this wontfix other than we think this should be done in gtk 
first?
Comment 16 Marco Pesenti Gritti 2004-01-26 20:24:30 UTC
What about making it a dup of the merge icons/entry bug ?
Comment 17 Christian Persch 2004-01-26 20:34:23 UTC
I thought this is the bug about merging entry and icon?
Comment 18 Marco Pesenti Gritti 2004-01-26 20:42:51 UTC
Right, I read way too many bugs tonight. It make sense to keep it open
then. Btw did you find libgalago code ?
Comment 19 Christian Persch 2004-01-26 20:52:13 UTC
Yes, crispin found it @ freedesktop cvs. I've already tried it, and it
works. But dnd from the icon is impossible :(
Comment 20 Christian Persch 2004-01-26 20:53:32 UTC
Created attachment 23783 [details]
screenshot of live proof-of-concept impl
Comment 21 Marco Pesenti Gritti 2004-01-26 20:55:00 UTC
Argh it sucks badly that we are in feature freeze :/ Maybe dnd can be
made work in some way ? Do you have an url btw ? I'd like to take a
look at it.
Comment 22 Christian Persch 2004-01-26 21:05:08 UTC
http://freedesktop.org/cgi-bin/viewcvs.cgi/galago/libgalago-gtk/libgalago-gtk/

I'm going to attach my code in a moment.
I don't think dnd can be done easily... if I read the code correctly,
you can set a GtkImage as icon, but it just uses the image's
GdkPixbuf, and does not pack the image widget itself in the entry.
Comment 23 Christian Persch 2004-01-26 21:08:03 UTC
Created attachment 23784 [details] [review]
proof-of-concept implementation
Comment 24 Christian Persch 2004-08-15 18:19:06 UTC
Mass-moving Targe Milestone 1.4 -> 1.6 due to feature, UI and string freeze.
Comment 25 Christian Persch 2004-10-13 10:54:28 UTC
Mass reassigning of Epiphany bugs to epiphany-maint@b.g.o
Comment 26 Christian Persch 2005-01-13 23:54:19 UTC
Fixed in cvs, pretty much as outlined in comment 7. We decided the fact that the
drop-down doesn't align under the icon was a minor issue not worth holding this
up. We should make sure next gtk+ version has real support for this (bug 85292).