Closed
Bug 68480
Opened 25 years ago
Closed 24 years ago
toolbar menubuttons in msgcompose need cleanup
Categories
(MailNews Core :: Composition, defect, P2)
MailNews Core
Composition
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9
People
(Reporter: hewitt, Assigned: hewitt)
References
Details
Attachments
(5 files)
50.03 KB,
patch
|
Details | Diff | Splinter Review | |
6.08 KB,
patch
|
Details | Diff | Splinter Review | |
46.30 KB,
patch
|
Details | Diff | Splinter Review | |
25.66 KB,
patch
|
Details | Diff | Splinter Review | |
1.01 KB,
application/x-gzip-compressed
|
Details |
The menubuttons on the right side of the formatting toolbar in mail compose
(align, insert object, and smileys) need some tender loving care. There are a
number of anoying problems with them that are fairly easy to remedy. I could
probably file a dozen bugs on this subject alone, but I'll just file one and
list the problems. I've done the work of fixing this already, so my patch will
follow shortly.
The specific problems are:
* in the xul, these are currently menus with buttons inside of them. They
should just be menubuttons.
* in the xul, the menuitems have buttons inside of them. The buttons are not
necessary, these should just be menuitems.
* in classic, hover and active feedback is out of sync with the theme with
regard to icons and borders
* none of these menubuttons become disabled when the other buttons on the
toolbar become disabled
* there are no theme-matching smiley icons for modern and classic.
anatoliya@netscape.com seems to be the one who did the work on the smiley stuff,
but he's not a registered bugzilla user yet so I'll pass this bug on to him
directly.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9
Assignee | ||
Comment 1•25 years ago
|
||
Assignee | ||
Comment 2•25 years ago
|
||
Assignee | ||
Comment 3•25 years ago
|
||
Some comments regarding the patch:
* in ComposerCommands.js I removed some code that was causing the smiley button
to never become enabled. Previously, this command was never even observed so
the problem was hidden. This code checked to see if the selection is collapsed
and the current editing node is text. Why this is criteria for inserting a
smiley, I have no idea. All I know is it works fine with that gone.
* in editorOverlay.xul I removed the oncommand handler for the commands
cmd_align and cmd_smiley. This is because these are stateful commands and
observers of this command should not call goDoCommand. The menuitems already
make a call to doStatefulCommand, and having oncommand on the broadcaster which
the menubutton observes only causes the command to be fired twice.
Reviews, anyone?
Comment 4•25 years ago
|
||
He's anatoliya@aol.com. cc'd
Comment 5•25 years ago
|
||
Hi Joe,
Thank you for your comments and proposed patch.
However it is in according with specifications.
Your patch cannot implement suitable functionality for ALL applications for
this smiley menu (it wasn't primary for mailnews).
Way like you insert images isNOT suitable for my applications (smiley codes
will be inserted incorrectly with your patch, that is a reason for collapsed
and other exceptions).
Also Smiley images areNOT a part of skin (they are the same like anchor image,
for instance, for internal needs).
there are and other incompatabilities.
Currently I am doing my patch 67981 and so I propose mark this patch is an a
dependent of my patch.
Thank you.
Comment 6•25 years ago
|
||
Anatoliy, if something is critical for your application and will break if the
other moz developers change something then you should implement it on your own
tree only. As an addon.
Assignee | ||
Comment 7•24 years ago
|
||
Based on Anatoliy's comments I will remove from my patch the stuff affecting
updating of the smiley command. However, the rest of the stuff is still valid.
Assignee | ||
Comment 8•24 years ago
|
||
The revised patch has the following changes:
* removed command updating for smiley button pending bug 67981
* moved css for smiley images out of skin and into content
Assignee | ||
Comment 9•24 years ago
|
||
Comment 10•24 years ago
|
||
Looks good for me for the message compose part, R=ducarroz. You still need a review from editor team (cmanske).
Comment 11•24 years ago
|
||
r=cmanske
Assignee | ||
Comment 12•24 years ago
|
||
Ick. I just noticed some problems this patch is causing outside of msg compose.
I'll have to revise it a bit...
Assignee | ||
Comment 13•24 years ago
|
||
I've updated the patch to fix a problem I discovered in the Classic theme
(toolbar bookmarks got an extra border) and to completely remove all changes
related to anatoliy's smiley changes. This now only affects the align and
insert menubuttons.
The messiness comes into play with regard to my changes to the Modern theme.
I'm about to checkin a major re-organization of Modern, and the fix for this bug
needs to go in simultaneously. I'd rather do that than try to separate them and
check them in separately.
The following patch incorporates the xul changes and the classic theme changes.
Anyone who wants to see the modern theme changes, see bug 65745
Assignee | ||
Comment 14•24 years ago
|
||
Assignee | ||
Comment 15•24 years ago
|
||
*** Bug 69813 has been marked as a duplicate of this bug. ***
Comment 16•24 years ago
|
||
Assignee | ||
Comment 17•24 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Target Milestone: mozilla0.9 → mozilla0.8.1
Comment 18•24 years ago
|
||
Build 2001-03-29-04: NT4, Mac 9.04
Build 2001-03-29-08: Linux RH 6.2
Reopening due to Classic problems with the Smiley drop down.
1. Modern: OK
2 Classic:
a. Icons not appearing for Link, Anchor, Image etc... (bug# 63624)
b. Smiley drop down looks strange
- Mac: blank lines at top and bottom
- NT4 and Linux: up arrow at top, box appearing around each smiley item and
down arrow at bottom.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 19•24 years ago
|
||
1. the issue with icons in the insert/align buttons in classic is a separate bug
(bug# 63624)
2. anatoliya recently fixed the smiley thing (bugscape 4013)
Marking fixed again
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Target Milestone: mozilla0.8.1 → mozilla0.9
Comment 20•24 years ago
|
||
Is there a bug on the border that's around the word descriptions
for the smileys in the dropdown menu? Doesn't look very good.
Comment 21•24 years ago
|
||
I fixed, but didn't check-in yet. Will do that today.
Assignee | ||
Comment 22•24 years ago
|
||
Beth, Anatoliya's fix for 4013 should resolve that problem. Don't know if he's
checked it in yet.
Comment 23•24 years ago
|
||
scalkins is going to log a bug on the Smiley dropdown menu not looking correct.
In a build from a couple of days ago I saw the borders that beppe describes. In
the 4/5 build on the Mac I don't see the borders but an empty area appears above
and below the smileys. She will copy beppe, hewitt and anatoliy in the new bug.
I'm verifying this bug because the majority of the issues are fixed. Separate
bugs will be logged for additional problems (i.e. smiley drop down)
Status: RESOLVED → VERIFIED
Comment 24•24 years ago
|
||
Actually, that was cmanske, not beppe! I'm on her machine today and forgot to
log off bugzilla first!
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•