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 76420 - GNOME Archive Generator needs a 'Stop' button
GNOME Archive Generator needs a 'Stop' button
Status: RESOLVED WONTFIX
Product: gnome-utils
Classification: Deprecated
Component: archive-generator
trunk
Other All
: Normal normal
: GNOME2.0
Assigned To: gnome-utils Maintainers
gnome-utils Maintainers
Depends on: 81142
Blocks:
 
 
Reported: 2002-03-26 13:33 UTC by Calum Benson
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for last item (3.34 KB, patch)
2002-05-03 13:57 UTC, arunapr
none Details | Review

Description Calum Benson 2002-03-26 13:33:34 UTC
- File menu: All items need mnemonics, Exit should be "Quit", Quit missing
stock icon

- Edit menu: Remove needs mnemonic

- Suggest "Clear" should be "Remove All" (for consistency with "Remove"
item)

- Help menu: About should be "About Archive Generator"

- "Archive" button should have a mnemonic

- Need progress indicator during archive creation + ability to Cancel

- No indication in application of what format archives are generated
in, or how to unarchive them again (since the app doesn't seem to support
unarchiving)

- First item in list should automatically get focus when you tab into it
and there is no current selection-- currently focus indicator just
vanishes, which is an accessibility issue
Comment 1 Kevin Vandersloot 2002-03-26 13:42:44 UTC
Calumn: a quick comment. Many of the menu items are stock libgnomeui
items. So the File/exit and Help/About... are generated in libgnomeui
using the GNOMEUIINFO_MENU_EXIT_ITEM and GNOMEUIINFO_MENU_ABOUT_ITEM
structures. I suggest filing a bug in libgnomeui pertaining to those
items so that every app will be complient in those issues. 

Also, for me the archive button has an icon. How should I assign a
mnemonic for that?
Comment 2 Calum Benson 2002-03-26 13:52:36 UTC
Apologies on the missing stock icon report-- stock icons on menus were
broken in the environment I tested, but are now working, but I forgot
to remove that part before filing the bug.  Please ignore.

There's still no icon on my "Archive" button, though (Solaris 8,
community beta 2 build)-- are you saying there should be?  The
mnemonic for this button should probably just be _A, as that wouldn't
clash with the mnemonics for any of the menu titles.
Comment 3 John Fleck 2002-03-26 14:05:56 UTC
adding "doc" keyword. I'm not sure what the status of these docs is,
but we need to track it down and coordinate any of these changes made
with the documentation.
Comment 4 Kevin Vandersloot 2002-03-26 16:52:52 UTC
Calumn, the code searches for the archive icon, and then makes the 
button display the icon. If the icon is not found then the button 
displays the text you have. I'm guessing probably the best thing here 
is to always display text instead of an icon.
Comment 5 Calum Benson 2002-03-26 17:00:51 UTC
Aha... that would explain a lot  :)  Where does it look for the icon? 
It sounds like it could be a bug against our Solaris builds, which
doesn't always put things in the places you might find them on
Linux...

As for always displaying text-- yes, that would be a good option for
accessibility reasons anyway.  Even better might be to read the
icon/text/both setting from the "Menus & Toolbars" control panel, and
decide what to display according to that.  (Assuming there's no
equivalent to the 1.4 'display icons on dialog buttons' setting any
more-- if there is, maybe that would be the one to use).
Comment 6 Calum Benson 2002-03-28 14:40:46 UTC
Actually, since it's already a stock item, it's probably more sensible
just to go with "Help->About" rather than trying to hack it to read
"Help->About <appname>" for 2.0.
Comment 7 Glynn Foster 2002-04-29 15:33:32 UTC
Okay, I've changed libgnomeui so it will do 'Quit' instead of 'Exit'.
Is this worth pursuing on the Help front?
GNOME 2.0 in any case unless we punt otherwise.
Comment 8 Glynn Foster 2002-04-30 23:56:14 UTC
Okay, I'm working on this and about 80% finished.
Comment 9 Glynn Foster 2002-05-01 16:00:49 UTC
1st 5 items are done. 
The other 3 are reasonably straightforward. Adding easy-fix.
The progress indicator is probably an enhancement - so I think this
could probably be punted.
Comment 10 arunapr 2002-05-03 13:57:12 UTC
Created attachment 8146 [details] [review]
patch for last item
Comment 11 Glynn Foster 2002-05-03 14:22:50 UTC
Hum, just applied this patch and it seems to be broken in that the
first item will always get focus...which makes keyboard navigation
through the icon view broken.
Comment 12 Glynn Foster 2002-05-03 14:49:27 UTC
Reassigning back for people wanting to work on this.
Comment 13 arunapr 2002-05-06 12:04:46 UTC
The first icon/item gets focused only when there is no previous
selection exists. Is it not the expected behaviour ?
Comment 14 Glynn Foster 2002-05-07 14:28:53 UTC
Well, when I tried the patch, the first item indeed got focused, but
then you were not able to tab between the other entries [when you
added more files] as it was always grabbed on the first item.
Comment 15 Kevin Vandersloot 2002-05-07 14:36:33 UTC
Guys: has anyone checked to see if the gnome-icon-selector widget is 
the problem? Wouldn't it be smarter to fix it in libgnomeui? I don't 
think archive-generator is doing anything special with the widget 
(though I haven't really looked at the code yet).
Comment 16 Glynn Foster 2002-05-08 10:12:36 UTC
To summarize what is left in this bug 
 * the focus problem
 * the progress indicator [we just need to add a hbox and dump the 
   existing status bar along with a progress bar] - hum, perhaps we 
   should be using gnome-app-bar now :/
Comment 17 Glynn Foster 2002-05-08 11:15:52 UTC
Okay, I'm pretty sure this is a libgnomeui bug as kevin said.
Comment 18 Glynn Foster 2002-05-08 18:40:00 UTC
Okay, I've commit code to make it into an gnome-appbar. I haven't had
time to figure out how to get the appbar pulsating yet for the
progress stuff...it kinda looks assy right now without the latest
libgnome[ui] that reverses the order of the status bar.
Comment 19 Glynn Foster 2002-05-12 00:43:16 UTC
Okay, I've hooked up the progress bar...because I'm getting weird
errors from /bin/sh -c :( I think it works, but the file selection
dialog still might not disappear immediately when you archive large
things - need to check this sometime ;)
Probably still needs a 'Stop button' - ie. Create Archive turns into a
Stop button.
Comment 20 Calum Benson 2002-05-14 11:27:17 UTC
Not sure whether a Stop or a Cancel button would be better here; Stop
would only be useful if you could see which files had already been
placed in the archive (or you could be shown immediately after you
pressed Stop, with an option to Resume).  Cancel would just delete the
incomplete archive file and you'd have to start again.

Definitely needs one or the other though, not to do so is
non-HIG-compliant :)
Comment 21 Glynn Foster 2002-05-27 17:04:24 UTC
Okay, removing keynav and accessibility - they've been fixed in
libgnomeui.
Comment 22 Luis Villa 2002-07-02 16:39:39 UTC
Changing keyword to 2.0.2, still welcome to work on it, of course, but
it won't stop 2.0.1.
Comment 23 Glynn Foster 2002-11-07 11:12:24 UTC
meatgrinder is going away for 2.2 - unless it doesn't make the
proposed modules list. we'll reopen if it doesn't.