Closed
Bug 150396
Opened 23 years ago
Closed 16 years ago
Cropped smiley icons
Categories
(MailNews Core :: Composition, defect)
MailNews Core
Composition
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: christophe.thalet, Unassigned)
References
Details
Attachments
(2 files, 1 obsolete file)
Smiley icons in the mail composer are cut off on their tops and bottoms
if line height does not allow for displaying them at their required height.
Expected behaviour: icon should be scaled down
Reporter | ||
Updated•23 years ago
|
Severity: normal → minor
Target Milestone: --- → mozilla1.1beta
Reporter | ||
Updated•23 years ago
|
Severity: minor → normal
Comment 1•22 years ago
|
||
*** Bug 206270 has been marked as a duplicate of this bug. ***
Comment 2•22 years ago
|
||
Confirming, based on dupe; resetting milestone, dropping severity to minor.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: mozilla1.1beta → ---
Comment 3•22 years ago
|
||
Branch build 2003-06-19: Mac 10.1.5
Branch build 2003-06-20: Linux RH 8
I see the problem when composing a message and after
sending/receiving/displaying the message.
Comment 4•22 years ago
|
||
Setting Hardware/OS to 'All' based on comment 3.
OS: Windows NT → All
Hardware: PC → All
Comment 5•22 years ago
|
||
What about simply taking more attractive, textured icons, such as those used on
the Mozillazine forums, and using them? They may be small enough to fit in the
'smaller' or 'smallest' font category. I don't know what copyright issues with
the forums might be. Other than that, the only option I can see is to create
new emoticons that would fit for all font sizes.
Sorry, that last attachment didn't seem to work :-P
Attachment #131083 -
Attachment is obsolete: true
Comment 8•22 years ago
|
||
Maybe not optimal, but i totally agree that the mozillazine smileys are better
than the existing ones (that are quite ugly).
Comment 9•21 years ago
|
||
Comment 10•21 years ago
|
||
Bug 199958 is about improving the look of the smileys itself.
So, after verification of the fix for the 'cropped' effect, this one can be closed.
Comment 11•21 years ago
|
||
Comment 12•21 years ago
|
||
A kit to solve this issue can be found in bug 84950:
http://bugzilla.mozilla.org/attachment.cgi?id=143634&action=view
With this kit the smiley-span's are bound to a image construct, so
that we can do list-style-image, with -moz-image-region.
This solves two issues:
* prevents cropping of images
* use of a image-map for all the smileys (save a lot of resources).
Updated•20 years ago
|
Product: MailNews → Core
Comment 13•19 years ago
|
||
(In reply to comment #12)
> A kit to solve this issue can be found in bug 84950:
> http://bugzilla.mozilla.org/attachment.cgi?id=143634&action=view
>
> With this kit the smiley-span's are bound to a image construct, so
> that we can do list-style-image, with -moz-image-region.
> This solves two issues:
> * prevents cropping of images
> * use of a image-map for all the smileys (save a lot of resources).
Alfred, can you please make a patch of that so it can get reviewed? It would be nice to solve the issue once for all :)
Comment 14•17 years ago
|
||
I don't see this with current trunk of SM or TB.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Comment 15•17 years ago
|
||
Wayne, did you try with a smaller font-size? iirc, the height of the span with the smiley is determined by the height of the font, so this will always happen when the font's height is smaller that the height of the smiley icon...
Comment 16•17 years ago
|
||
yes, I tested using compozer's font size changer in html mode, i.e. not plain text.
But, is this problem caused instead by small OS default font?
Comment 17•17 years ago
|
||
Actually, they are still cropped (I think I was wrong re the font, it doesn't seem to matter) in SeaMonkey. With a fresh profile:
1) open mailnews
2) open msg compose
3) focus the content area, and do Insert --> Smiley (pick one you like)
--> smiley is cropped at the top
I think seamonkey uses different smiley icons (slightly larger) than thunderbird, so the problem might not exist in thunderbird.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 18•17 years ago
|
||
oh, and this is on mac (Tiger atm) seamonkey trunk.
Comment 19•17 years ago
|
||
hmm, don't doubt you but there must be something more to causing this, because I tested SM (it was on XP). And I just retested, changing SM default font sizes to teeny tiny 8. I still dont see it.
Maybe no longer happens on window? (this was reported initially as a windows)
Comment 20•17 years ago
|
||
I haven't looked at this for ages (2005), but from what I remember the issue only happened on mac. From some quick testing, it seem to depend on what font you use.
Comment 21•17 years ago
|
||
smileys in seamonkey are 19x19. They're background-images in a <span/>, which has a font-size of 17px (thunderbird has 18px in its smileys.css) and a margin-top of 2px. What probably happens is that depending of what font-family you use, the height of the span isn't enough, so the 19px high background-image get cropped, in my case it gets cropped at the top.
Comment 22•17 years ago
|
||
These days we could probably fix this by making the span an inline block thus allowing us to set the height and width.
Updated•17 years ago
|
Assignee: ducarroz → nobody
Status: REOPENED → NEW
QA Contact: esther → composition
Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
Comment 23•16 years ago
|
||
I don't see this anymore, it probably disappeared when we started to use :before. I'm resolving this as wfm.
Status: NEW → RESOLVED
Closed: 17 years ago → 16 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•