Mozilla Mac: collapsible fieldsets display error

robertgarrigos - January 16, 2008 - 10:11
Project:Drupal Administration Menu
Version:5.x-2.2
Component:CSS / Browser Support
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I'm having this strange behavior since months ago and I cannot understand how this have not been reported yet. At least, I could not find any fixed nor a pending issue about it.

I attach an image for a better understanding: on pages with some form fieldsets, like the admin/build/modules page, when there is a large fieldset placed anywhere in the page, like when you have plenty of views modules installed or the core modules filedset, the elements inside that fieldset doesn't show properly, and make actually some of those elements invisible. See the attached image. I had this same problem on admin/build/themes with a large list of themes installed. You might only see this problem when scrolling the window.

I'm using Firefox 2.0.0.11 on a Mac with no add-ons (I deactivated them) and the garland theme. I'm having this same problem with Netscape Navigator 9.0.0.1 for Mac. (no problems with Safari or Opera)

Possibles solution I've found:

1.- Deactivating admin menu module. Too bad.
2.- Deleting the following css value in modules/system/system.css (core css file)

line 333

html.js fieldset.collapsible .fieldset-wrapper {
  overflow: auto;
}

AttachmentSize
admin_menu_error.png5.13 KB

#1

sun - January 16, 2008 - 20:46
Title:display error within form fieldset» Mozilla Mac: collapsible fieldsets display error
Component:Code» CSS / Browser Support
Priority:critical» normal
Status:active» patch (code needs review)

First shot. I have no Mac available, so I'm not able to test attached patch.

AttachmentSize
admin_menu-DRUPAL-5--2.css-fieldsets.patch535 bytes

#2

robertgarrigos - January 17, 2008 - 10:48

nop. Setting the height doesn't help either. I changed the patch a bit and this fixed the problem.

AttachmentSize
admin_menu-DRUPAL-5--2.css-fieldsets_2.patch543 bytes

#3

Grugnog2 - February 8, 2008 - 03:37

Subscribing

#4

robertgarrigos - February 8, 2008 - 09:08
Status:patch (code needs review)» patch (reviewed & tested by the community)

this is ready to be commited, if no one else thinks differently

#5

sun - February 8, 2008 - 19:04

@Grugnog: Did the last patch work for you?

#6

Grugnog2 - February 11, 2008 - 06:42

@sun: I don't have a mac (yay Ubuntu!), so I can't actually test this one...

#7

marcoBauli - February 12, 2008 - 16:09

same problem

just used the patch above and things work sweet now :)

#8

sun - February 12, 2008 - 16:32
Status:patch (reviewed & tested by the community)» fixed

Committed, thanks!

#9

netgenius - February 25, 2008 - 17:45
Priority:normal» critical
Status:fixed» active (needs more info)

Thanks for throwing some light on this which has been driving me nuts since I started using Druapl a few months ago. My problem is *not* fixed by the patch or latest version of Admin Menu. This is clearly not a bug in Admin Menu, but somehow triggering a bug in Firefox OSX (I also confirmed some time ago that Camino, another Gecko based browser for OSX behaves similarly.) Please see attached screen shots - this looks to me like memory corruption in Firefox, but I've confirmed it only happens when Admin Menu is in use. Seems to occur with a long page with lots of collapsible fieldsets, maybe only in "edit" mode (I always get the problem on node edit screens.) Can anyone confirm this? I want to put in a bug-report to the Firefox team, but I'm not sure what the factors are - Drupal, collapsible fields and Admin Menu - maybe depends on Mac model, I've had this problem with an old iMac G3 and a newer eMac G4. It doesn't happen with Safari (Apple's own browser offering)
The screen corruption occurs when scrolling down the page. In the second screen-shot, part of the contents of a different tab (showing Google main page) are left on the screen after switching from the Drupal tab to the Google tab and then back. Again, this is *not* a bug as such in Admin Menu, but something it and/or Druapl collabsible fields are doing is triggering a Firefox/Gecko bug (or is it a lower-level video driver bug in the Mac?) Please give whatever info you can so I can put a more meaningful report together for the Firefox folks. Thanks.

AttachmentSize
Firefox OSX bug screenshot2.png68.91 KB
Firefox OSX bug screenshot.png50.69 KB

#10

netgenius - February 25, 2008 - 22:14
Category:bug report» support request
Priority:critical» normal

Spoke via irc to the Mozilla people - not much chance of getting any response unless the bug is also exhibited in Firefox 3 - I can't run Firefox 3 as it needs OS X 10.4.x which is a chargeable upgrade from 10.3.x -- Anyone using OS X 10.4.x with firefox 3 can confirm whether or not this is a problem?

#11

robertgarrigos - February 25, 2008 - 22:38

mmmm I had the same problem shown in your screenshots and this patch actually fixed the problem. Have you tried to run firefox without plugins? With what drupal urls are you still having this problem?

#12

netgenius - March 3, 2008 - 10:45
Status:active (needs more info)» patch (reviewed & tested by the community)

Um... Thanks for the pointer. I checked again, and took a closer look at what css was actually active on the page (thank you firebug) - turned out that some custom theme css was setting the overflow property so that's why the problem was occurring even after the patch/new version. So, apologies, the fix works (just make sure nothing else is setting the overflow property again.) Still not good that Firefox can be broken in this way but nothing's perfect.

#13

sun - March 3, 2008 - 11:30
Status:patch (reviewed & tested by the community)» fixed

#14

Anonymous (not verified) - March 17, 2008 - 11:32
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.