Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#63 closed Bug (fixed)

Safari: context menu icons are not showing

Reported by: Frederico Caldeira Knabben Owned by:
Priority: Must have (possibly next milestone) Milestone: Safari Compatibility
Component: General Version:
Keywords: Cc:

Description

In the context menu, the icons are not being shown. The "?" image placeholder is shown instead.

Change History (8)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

The arrow for nested menus is not being displayed too. Probably for the same reason.

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Actually the icons seam to load when the context menus are displayed, but they are all replaced with the "?" image right after it.

comment:3 Changed 17 years ago by Frederico Caldeira Knabben

comment:4 Changed 17 years ago by Frederico Caldeira Knabben

The icons are loaded from a image strip (a single image with all icons on it). The icon tag is something like this:

<img class="TB_Button_Image" src="spacer.gif" style="background-position: 0px
-16px;background-image: url(strip.gif);">

So, it seams that for some reason "spacer.gif" is not being found.

comment:5 Changed 17 years ago by Frederico Caldeira Knabben

Priority: NormalHigh

comment:6 Changed 17 years ago by Alfonso Martínez de Lizarrondo

Just as the editor loads it generates a bad request for _samples/html/images/spacer.gif, and that same request does repeat again when the context menu is shown.

It can be related to this one: http://bugs.webkit.org/show_bug.cgi?id=12408

comment:7 Changed 17 years ago by Alfonso Martínez de Lizarrondo

Resolution: fixed
Status: newclosed

After creating the simplified testcase for the Webkit bug I've made some other tests and setting the base element of the created iframe in the FCKPanel element seems to be enough to workaround the problem. I've committed the change in [368], although it might be necessary to do the same change in the FCKToolbarSet_Create function (but first we should check how the bug exhibits there so we can check that it's been fixed).

BTW: the [367] testcase is about this bug, of course.

comment:8 Changed 17 years ago by Alfonso Martínez de Lizarrondo

I've commited in [431] the change to FCKToolbarSet_Create as it was visible the problem using the sample 10 (that looks quite bad in windows, but on the mac seems to behave much better)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy