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 77952 - Nautilus zoom widget should be a standard gtk widget
Nautilus zoom widget should be a standard gtk widget
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] Visual Design
0.x.x [obsolete]
Other Linux
: Normal enhancement
: future
Assigned To: Nautilus Maintainers
Nautilus Maintainers
AP3
: 40839 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-04-07 17:50 UTC by Dave Bordoley [Not Reading Bug Mail]
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Patch: Implementation of the zoom-control as a combination of standard gtk components (26.55 KB, patch)
2002-10-13 20:10 UTC, Jan Arne Petersen
none Details | Review
Tooltips added to the patch (don't know if the user defined accessibility is needed) (27.44 KB, patch)
2002-10-13 20:56 UTC, Jan Arne Petersen
none Details | Review

Description Dave Bordoley [Not Reading Bug Mail] 2002-04-07 17:50:59 UTC
The galeon zoom widget is a lot nicer than the nautilus one. It allows you
to change the zoom to any integer value via a text entry box and uses
standard gtk widgets so that it is themable directly by gtk. This would do
alot to improve nautilus integration into the gnome look defined by the
user via gtk

here's a bad ascii drawing

 ____
|    | /\
|____| \/
Comment 1 Dave Bordoley [Not Reading Bug Mail] 2002-04-07 17:54:18 UTC
Even better, maybe we can make this widget a standard gnome or maybe
even gtk widget so that all gnome/gtk programs can use it.
Comment 2 Luis Villa 2002-04-15 17:29:35 UTC
I'm going to remove the 'more like' :) They should both use a standard
widget, whatever that is. Obviously future, though. 

Jody, I know you've discussed some common-widget stuff like this in
the past; is there a list somewhere of what widgets are needed/desired?
Comment 3 Jody Goldberg 2002-04-15 17:54:00 UTC
There is yet another version of this in gal used by gnumeric.
We hope to get a blessed common set of combos in the future versions of gtk.
Design discussion is underway on gtk-devel
Comment 4 Dave Bordoley [Not Reading Bug Mail] 2002-04-16 04:41:15 UTC
just to add my 2 cents. I think the galeon zoom widget is nicer than
the  gnumetric one, since it allows users to increment or decrement
the zoom by steps of 10%.
Comment 5 Luis Villa 2002-04-18 19:06:59 UTC
*** Bug 40839 has been marked as a duplicate of this bug. ***
Comment 6 Anders Carlsson 2002-05-09 05:07:24 UTC
The nautilus zooming framework in both the icon and list view doesn't
allow for 10% zoom steps, only the hard-coded set is supported. 
Comment 7 Dave Bordoley [Not Reading Bug Mail] 2002-05-09 05:41:34 UTC
Thought i add that i think the gtk spin button is the widget i'm
thinking of, assuming the issue that anders' presented can be
addressed. I really think it would be cool if the user could choose
any zoom level.
Comment 8 Dave Bordoley [Not Reading Bug Mail] 2002-07-24 12:13:26 UTC
bill,

this is an accessibility issue right, since the nautilus zoom widget 
is themed by the nautilus theme not by gtk.

changing the title a bit.
Comment 9 bill.haneman 2002-07-26 16:44:36 UTC
for what it's worth, I don't care if this is a standard gtk+ widget or
not, so long as it is "accessible", i.e. it exports appropriate ATK
interfaces (AtkAction if it accepts only specific zoom factors, and/or
AtkValue if it allows arbitrary zoom factors) and respects the GTK+
theme.  

In order to respect the gtk+ theme it needs to either use gtkstyle.c
primitives for its drawing, and gtk_icon_factory for its images, or it
needs to read appropriate values from gtkstyle and gtksetting and then
do something compatible.  The key attributes it needs to observe are
font size, colors, focus line weight, and icon size, and the icon it
uses for the magnifier should be re-specifiable in an RC file like the
gtk stock icons.

In practice this may mean that making the zoom widget a close
derivative of a standard gtk+ widget, or using standard gtk+ widgets
as-is, would be the most expedient way of meeting these goals.

This is nice for everyone, not just a few users, since it means that
the file manager would integrate nicely with the users' current
application theme and not just do its own thing visually.
Comment 10 Jan Arne Petersen 2002-10-13 20:10:56 UTC
Created attachment 11525 [details] [review]
Patch: Implementation of the zoom-control as a combination of standard gtk components
Comment 11 Jan Arne Petersen 2002-10-13 20:56:03 UTC
Created attachment 11526 [details] [review]
Tooltips added to the patch (don't know if the user defined accessibility is needed)
Comment 12 David Fallon 2002-10-16 01:11:34 UTC
adding patch keyword, although the "right" solution here is still to
standardize on the gtk zoom widget (once it exists). Note that this is
probably important to fix before naut themes disappear, since that
will mean that the zooom widget becomes entirely unthemeable.
Comment 13 bill.haneman 2003-03-04 15:33:54 UTC
As David said, now that Nautilus themes are gone, we really need
themeability for this widget.
Comment 14 Calum Benson 2003-04-03 14:32:01 UTC
Updating status_whiteboard field to reflect A11Y team's assessment 
of accessibility impact.
Comment 15 Dave Bordoley [Not Reading Bug Mail] 2003-06-25 17:02:01 UTC
something else went in but thats ok.