Closed
Bug 135607
Opened 23 years ago
Closed 21 years ago
Help toolbar needs work
Categories
(SeaMonkey :: Help Documentation, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.6alpha
People
(Reporter: kinger, Assigned: rjkeller)
References
Details
Attachments
(3 files, 9 obsolete files)
527 bytes,
image/gif
|
neil
:
review+
|
Details |
1.40 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
5.31 KB,
patch
|
neil
:
review+
alecf
:
superreview+
asa
:
approval1.6a-
|
Details | Diff | Splinter Review |
Build ID: 2002040314
At the very least, I think the following needs to be done:
- New icon for Home. That was designed for the personal toolbar in the browser
and is smaller that the others, making the toolbar look out of proportion.
- Print button moved away from right to beside the Home button
- Mozilla logo button (throbber) should go on the right side to make it
consistent with other apps in the suite.
Comment 1•23 years ago
|
||
Yes, kinger. It does need work. The CSS has lagged behind from inattention, and
now that masthead no longer shows up, and the navigation button in the classic
skin are having problems, I think because of the image sheet slicing that should
not be used.
Status: NEW → ASSIGNED
Reporter | ||
Comment 2•23 years ago
|
||
any thoughts appreciated on this Matthew
Comment 3•23 years ago
|
||
[<][>][A] [ ] (( Search ))
Where < is Back, > is Forward, and A is Home. Print isn't nearly common enough
to deserve its own toolbar button; `File' > `Print...' is quite sufficient for that.
Comment 4•23 years ago
|
||
In addition to the lack of color differentiation between the selected tab and
the other tabs, this screenshot shows some weird blocking above and below the
sloped right side of the tab itself. Above the tab, the background color is too
dark to blend with the shadow of the tab, and in the panel, there is some
object that is picking up this same light color. Need to import the sidebar.css
styles in some better way.
Comment 5•23 years ago
|
||
cc'ing hewitt, father of sidebar.css
Reporter | ||
Comment 6•23 years ago
|
||
> ... Print isn't nearly common enough to deserve its own toolbar button; `File'
> `Print...' is quite sufficient for that.
Are you saying a menubar should be added to the Help window. I don't think there
is enough functionality to warrant that.
Assignee | ||
Comment 7•21 years ago
|
||
This makes the Home button look right in the classic theme. I think we need to
get something going on this bug.
Assignee | ||
Comment 8•21 years ago
|
||
The home images added.
Comment 9•21 years ago
|
||
moving stuff over to an outside-the-firewall email for the time being, looking
for people to pick these Help and doc bugs up for me.
Assignee: oeschger → oeschger
Status: ASSIGNED → NEW
Assignee | ||
Updated•21 years ago
|
Attachment #129620 -
Flags: review?(oeschger)
Assignee | ||
Comment 11•21 years ago
|
||
I'm incorporating these ideas into the new help menu for
1.6a/Firebird/Thunderbird. I currently have the following:
[b][f][n][i][d] <-- space --> [p][t]
b = Back Button
f = Forward Button
n = Find Button
i = Increase Text Size Button
d = Decrease Text Size Button
p = Print
t = Throbber
What do you all think of this layout?
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.6alpha
Assignee | ||
Comment 12•21 years ago
|
||
Comment on attachment 129620 [details] [diff] [review]
Fixes problem with Home button in classic theme.
jag, can you r/sr this? This patch also includes the attached image files
zipped up.
Attachment #129620 -
Flags: review?(oeschger) → review?(jag)
Assignee | ||
Updated•21 years ago
|
Attachment #129620 -
Flags: superreview?(jag)
Attachment #129620 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #129620 -
Flags: review?(jag)
Assignee | ||
Updated•21 years ago
|
QA Contact: tpreston → stolenclover
Updated•21 years ago
|
Attachment #129620 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Comment 13•21 years ago
|
||
Comment on attachment 129621 [details]
Images added
home-act.gif is the wrong size, also the hover effect isn't quite right.
Attachment #129621 -
Flags: review-
Comment 14•21 years ago
|
||
LET ME DO THE HOME ICON!!!
will attach one shortly, depends on how fast I work :-)
Comment 15•21 years ago
|
||
heh, I thought home icons need a lot of work, didn't know it only needs some
mnor tweaking...
Assignee | ||
Comment 16•21 years ago
|
||
Comment on attachment 129620 [details] [diff] [review]
Fixes problem with Home button in classic theme.
Looks good to me. What are the dimensions of each image?
Attachment #129620 -
Flags: superreview?(jag)
Assignee | ||
Comment 17•21 years ago
|
||
Patch makes Daniel's images work. Thanks daniel!
Assignee | ||
Updated•21 years ago
|
Attachment #129620 -
Attachment is obsolete: true
Attachment #129621 -
Attachment is obsolete: true
Attachment #132611 -
Attachment is obsolete: true
Assignee | ||
Comment 18•21 years ago
|
||
Comment on attachment 133043 [details] [diff] [review]
Patch
Neil, this review should include Daniel's images.
Attachment #133043 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 19•21 years ago
|
||
Comment on attachment 132611 [details]
home image
This is the correct image, right? So why was it marked obsolete?
Attachment #132611 -
Attachment filename: home2.gif → home.gif
Attachment #132611 -
Attachment is obsolete: false
Attachment #132611 -
Flags: review+
Updated•21 years ago
|
Attachment #133043 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Comment 20•21 years ago
|
||
OK, next up is the throbber add-on and maybe a show/hide sidebar button. I'd
like it to look somewhat like Firebird Help
(http://firebirdhelp.mozdev.org/screenshots.html), but not exactly.
Why have a throbber, you say? Because someone could use the Help Viewer to get
Help documents online. With the throbber, you could see the status.
Comment 21•21 years ago
|
||
the last check-in isn't working. The Home button now has no picture
Assignee | ||
Comment 22•21 years ago
|
||
Daniel: I made a checkin yesterday that fixed the home button. It should be in
today's nightlies.
Comment 23•21 years ago
|
||
Actually you still got it wrong and I had to fix it.
FYI, you need to use cvs add -kb when adding images.
Assignee | ||
Comment 24•21 years ago
|
||
Adds the throbber so that Help can be used to access documents on a website.
This will be more useful once content packs is in (bug 220561).
Comment 25•21 years ago
|
||
question: what happens when the user click the trobber?
Assignee | ||
Comment 26•21 years ago
|
||
Goes to the help home page. Brant told me he thought it'd be better than loading
the Navigator home page in Navigator.
Assignee | ||
Updated•21 years ago
|
Attachment #133534 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 27•21 years ago
|
||
Comment on attachment 133534 [details] [diff] [review]
Adds a throbber
>+ if (aStateFlags &
>+ aWebProgress.STATE_START &&
Won't work, STATE_START is defined on nsIWebProgressListener, not
nsIWebProgress
> onProgressChange : function(aWebProgress, aRequest, aCurSelfProgress,
> aMaxSelfProgress, aCurTotalProgress, aMaxTotalProgress) {},
> onSecurityChange : function(aWebProgress, aRequest, state) {},
onStateChange appears to be missing, could you add it please?
>+ init : function()
>+ {
>+ this.throbberElement = document.getElementById("navigator-throbber");
>+ },
>+
>+ destroy : function()
>+ {
>+ //this is needed to avoid memory leaks.
>+ this.throbberElement = null;
>+ },
I don't see where you call these.
>+ <button id="navigator-throbber" oncommand="goHome();" tooltiptext="&throbber.tooltip;"/>
This tooltip is wrong.
Attachment #133534 -
Flags: review?(neil.parkwaycc.co.uk) → review-
Assignee | ||
Comment 28•21 years ago
|
||
> onStateChange appears to be missing, could you add it please?
Missing? It's the function the throbber code is in!
> I don't see where you call these.
this.throbberElement is called a lot in the functions.
All other comments are in this patch.
Attachment #83737 -
Attachment is obsolete: true
Attachment #133534 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #134086 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 29•21 years ago
|
||
Comment on attachment 134086 [details] [diff] [review]
Adds Throbber v2
>+ const nsIWebProgressHandler = Components.interfaces.nsIWebProgressListener;
Use nsIWebProgressListener for consistency (it's confusing to have a const with
a different name).
>+
>+ init : function()
>+ {
>+ this.throbberElement = document.getElementById("navigator-throbber");
>+ },
>+
>+ destroy : function()
>+ {
>+ //this is needed to avoid memory leaks.
>+ this.throbberElement = null;
>+ },
>+
This won't work as you don't actually call these functions anywhere.
Attachment #134086 -
Flags: review?(neil.parkwaycc.co.uk) → review-
Assignee | ||
Comment 30•21 years ago
|
||
> This won't work as you don't actually call these functions anywhere.
How does the navigator throbber do this? This is a tough patch for me because I
can't debug it (Help is to fast to see if the throbber moves!)
I've been trying to copy the navigator throbber as much as possible.
Comment 31•21 years ago
|
||
I use those easily identified external links :-)
OTOH I think that init() is called before addProgressListener() and destroy() is
called after removeProgressListener().
Assignee | ||
Comment 32•21 years ago
|
||
Patch with Neil's comments. The help.dtd file looks a little messed up because
it's in the wrong encoding. I think that Neil ran into this problem.
Attachment #134086 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #134115 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 33•21 years ago
|
||
Comment on attachment 134115 [details] [diff] [review]
Adds throbber v2.1
I thought I had made it clear, but you need to call
window.XULBrowserWindow.init(); too. Also can you please reference the memory
leak bug number in the comment, thanks.
Attachment #134115 -
Flags: review?(neil.parkwaycc.co.uk) → review-
Comment 34•21 years ago
|
||
Comment on attachment 134115 [details] [diff] [review]
Adds throbber v2.1
>--- resources/content/help.js 16 Oct 2003 08:17:06 -0000 1.48
>+++ resources/content/help.js 25 Oct 2003 16:09:29 -0000
>@@ -321,7 +321,22 @@
>
> nsHelpStatusHandler.prototype =
> {
>- onStateChange : function(aWebProgress, aRequest, aStateFlags, aStatus) {},
>+ onStateChange : function(aWebProgress, aRequest, aStateFlags, aStatus)
>+ {
>+ const nsIWebProgressListener = Components.interfaces.nsIWebProgressListener;
>+
>+ // Turn on the throbber.
>+ if (aStateFlags &
>+ nsIWebProgressListener.STATE_START)
>+ {
>+ this.throbberElement.setAttribute("busy", "true");
>+ }
>+ else if (aStateFlags &
>+ nsIWebProgressListener.STATE_STOP)
>+ {
>+ this.throbberElement.renoveAttribute("busy");
>+ }
Style nits: please follow the file's bracing style, which happens to be:
function foo()
{ // brace on own line at start of function
if (cond) // try and fit cond on a single line
bar; // subsequently, no braces here.
else if (cond2)
baz; // and still no braces
}
You have plenty of space to put the contents of the if and else if conditions
all on one line following even the most stringent column requirements.
Fortunately, our requirements are not that stringent (<80 columns) and the 58
and 61 columns required here respectively for the conditions to fit on a single
line dictate that they should be.
Assignee | ||
Comment 35•21 years ago
|
||
Attachment #134115 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #134129 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 36•21 years ago
|
||
Comment on attachment 134129 [details] [diff] [review]
Adds throbber v2.2
>+ //Start the status handler.
>+ window.XULBrowserWindow.init();
Although it seems to work I would prefer to see this just after it's created.
Actually I think that displayTopic(); should be last, but I'm not too worried
about that.
>+ this.throbberElement.renoveAttribute("busy");
And fix this typo too.
Attachment #134129 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Comment 37•21 years ago
|
||
Attachment #134129 -
Attachment is obsolete: true
Assignee | ||
Comment 38•21 years ago
|
||
phew! If this isn't the final patch, then I don't think one will ever come ;)
Attachment #134131 -
Attachment is obsolete: true
Comment 39•21 years ago
|
||
BTW, you don't appear to need destroy(), it doesn't actually leak.
Comment 40•21 years ago
|
||
Although who's to say that it won't start leaking again in the future ;-)
Assignee | ||
Comment 41•21 years ago
|
||
Attachment #134132 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #134351 -
Flags: review?(neil.parkwaycc.co.uk)
Updated•21 years ago
|
Attachment #134351 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #134351 -
Flags: approval1.6a?
Comment 42•21 years ago
|
||
Comment on attachment 134351 [details] [diff] [review]
Adds throbber - moves init() before adding progress listener
We've wrapped up 1.6a. This will have to land when the tree opens for 1.6b.
Attachment #134351 -
Flags: approval1.6a? → approval1.6a-
Assignee | ||
Updated•21 years ago
|
Attachment #134351 -
Flags: superreview?(alecf)
Comment 43•21 years ago
|
||
Comment on attachment 134351 [details] [diff] [review]
Adds throbber - moves init() before adding progress listener
sr=alecf
Attachment #134351 -
Flags: superreview?(alecf) → superreview+
Comment 44•21 years ago
|
||
I hope you don't mind, but I checked in attachment 134351 [details] [diff] [review].
Assignee | ||
Comment 45•21 years ago
|
||
fine with me. Thanks Neil!
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•