Ticket #63 (closed Bug: fixed)

Opened 8 years ago

Last modified 7 years ago

Safari: context menu icons are not showing

Reported by: FredCK Owned by:
Priority: High 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

comment:1 Changed 8 years ago by FredCK

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

comment:2 Changed 8 years ago by FredCK

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 8 years ago by FredCK

comment:4 Changed 8 years ago by FredCK

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 8 years ago by fredck

  • Priority changed from Normal to High

comment:6 Changed 7 years ago by alfonsoml

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 7 years ago by alfonsoml

  • Status changed from new to closed
  • Resolution set to fixed

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 7 years ago by alfonsoml

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy