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 83524 - "Background and Emblems" dialog box should have a help button.
"Background and Emblems" dialog box should have a help button.
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] Help System
0.x.x [obsolete]
Other Linux
: High major
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-05-30 12:27 UTC by Satyajit Kanungo
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (5.20 KB, patch)
2002-05-30 14:19 UTC, Satyajit Kanungo
none Details | Review
Revised patch that fixes the issues with the Help button placement (5.16 KB, patch)
2002-06-11 19:14 UTC, Damon Chaplin
none Details | Review

Description Satyajit Kanungo 2002-05-30 12:27:48 UTC
Help button is missing on "Background and Emblems" dialog box.
Comment 1 Satyajit Kanungo 2002-05-30 12:30:37 UTC
Creating a patch to create a help button on the dialog box 
and link the button to the appropieate section in the help
document.
Comment 2 Satyajit Kanungo 2002-05-30 14:19:20 UTC
Created attachment 8850 [details] [review]
Proposed patch
Comment 3 John Fleck 2002-05-31 02:41:15 UTC
I assume from this patch that there is a section in the docs to point
to here? Reassigning to nautilus-maint - I should not review code pathes.
Comment 4 Luis Villa 2002-06-03 17:32:45 UTC
Damon: could you shepherd this patch?
Comment 5 Damon Chaplin 2002-06-03 20:19:51 UTC
I'm not sure that help page is really appropriate here.
It links to '1.8.2. Changing Backgrounds', which only describes the
patterns and colors, not the emblems. I think ideally there should
be a help section that just describes the dialog.

I think we need to ask the doc authors if the section was intended
to be linked from here. I'll mail the Sun docs team.


Also, a few minor comments on the patch itself:

  o I don't think the Help button should grab the default or focus
    as it isn't the default button.
  o It needs to be on the left edge of the dialog, like normal Help
    buttons. Currently it is displayed right next to the other buttons
    with no space between them. Also if you switch to the 'Emblems'
    page one of the other buttons is drawn partly over it.
Comment 6 Satyajit Kanungo 2002-06-06 11:37:51 UTC
Thanks for the comment. I applied the patch on the latest 
source, but I see

-The help button on the left hand side only and "Add a new pattern"
 and "close" button on the right hand side.
-Clicking on emblems does not affect the help button
-It's the "close" button that has the default focus.

Could you tell me how do you get the above results, so that I can 
simulate it.


Comment 7 Damon Chaplin 2002-06-06 17:38:54 UTC
I've cc'ed Eugene. Eugene - did you intend the Help button on the
'Edit/Background and Emblems' dialog to link to the '1.8.2. Changing
Backgrounds' section?


About the button problem - it only becomes a problem after you'd added
patterns and emblems. Then you also get the 'Remove an Emblem/Pattern'
button, so there isn't much space left for the 'Help' button.
So if you add an emblem you should see it.


The focus thing isn't a problem, it is just unnecessary code:

+
gtk_widget_grab_default (temp_button);
+
gtk_widget_grab_focus (temp_button);

There isn't needed.

Comment 8 Eugene O'Connor 2002-06-07 16:40:01 UTC
Yes I did intend the Help button to link to the Changing Backgrounds 
information. I know that the information in this section does not 
cover all of the functionality of this dialog. 

Our approach in the User Guide is to document _tasks_ rather than 
dialogs. I think it makes most sense to make two dialogs: a 
Backgrounds dialog and an Emblems dialog. From a user point of view, 
there is no reason for them to be together. Putting these two 
disparate functions together is ultimately what causes the Help 
button to link to information for only one of the sections.

Cc'ing Calum for usability point-of-view.
Comment 9 Dave Bordoley [Not Reading Bug Mail] 2002-06-07 17:02:24 UTC
bug 84507 proposes separating this dialog into two. Actually as I
mention in that bug, i think we should just ditch thebackgrounds
feature...but i'll leave that discussion to bug 84507.
Comment 10 Calum Benson 2002-06-07 18:09:00 UTC
Certainly agree it's a bit of a hotch-potch in this area-- as well as
emblems bearing no relation to emblems, why should you be able to
change background colours via an item on the View menu at all, when
you have to go into Preferences to change the theme?  :/
Comment 11 Calum Benson 2002-06-07 18:10:05 UTC
s/no relation to emblems/no relation to background colo[u]rs :)
Comment 12 Damon Chaplin 2002-06-07 18:26:38 UTC
OK. I don't really mind if that's what was intended.
(I suppose we could make it show section '1.6.1. To Add an Emblem to a
File or Folder' if you are on the emblems page, if you think that is
better.)

I'll have a look at fixing the Help button.
Comment 13 Damon Chaplin 2002-06-11 19:14:59 UTC
Created attachment 9143 [details] [review]
Revised patch that fixes the issues with the Help button placement
Comment 14 Alexander Larsson 2002-06-12 15:32:31 UTC
+
gtk_widget_show(temp_button);
and
+
gtk_box_pack_start (GTK_BOX(property_browser->details->bottom_box),
temp_button, FALSE, FALSE, GNOME_PAD_SMALL);
Is lacking spaces before paranthesis.

The dialog in the help callback should be declared at the top of the
function.

Otherwise it looks fine. Please commit.
Comment 15 Damon Chaplin 2002-06-12 18:40:07 UTC
patch applied.
Comment 16 anju.premachandran 2002-09-20 12:43:10 UTC
Verified the fix on Sept 17th 2002 build checked out form CVS.So the 
bug can be closed.