Screen redraw errors with resizable textareas in Firefox

Zoologico - February 12, 2007 - 22:57
Project:Zen
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Zen looks great, but when I try to create or edit a node, I am seeing these lines appear as I scroll up and down and I cannot explain them. Maybe you can. I only see them in Firefox so that leads me to believe that it is a browser thing. I attached an image showing this.

Anyone else see this?

To reproduce:

1) Use Firefox browser
2) Create or edit an existing node whose node editing page spans at least 1.5 times the height of your screen.
3) While editing the node, scroll up or down slowly using scroll wheel or up and down arrows
4) Look for horizontal lines that are out of place

AttachmentSize
zenlines.jpg23.23 KB

#1

NikLP - February 20, 2007 - 16:15

Yes I get this too. I think it's more likely to be something to do with javascript than anything though?

#2

Zoologico - February 20, 2007 - 21:17

So is there any way to fix this? Only happens in zen, not any other theme.

#3

plhosk - April 12, 2007 - 22:50

I'm getting this too. Any clues as to what causes this problem? It only appears in Firefox for me, not IE.

#4

sovietfunk - August 14, 2007 - 11:58

I have also seen this, on an older powerbook with Firefox 1.5 and very little (256mb) RAM. My first thought was that it was a memory issue, but disabling tinymce didn't help. The pb has since been beefed up to double ram and I'm waiting for an update on how this is working now. If this doesn't help, I'll be experimenting with disabling fieldsets in drupal, or javascript in the browser.

#5

WorldFallz - August 14, 2007 - 13:36

yep, i get this too and haven't been able to figure out why or how to fix it. will post back if i get anywhere.

#6

leandrosiow - August 16, 2007 - 01:31

The lines seems to disappear partially when you do something like

1. move your mouse over a form field
2. do a "Crtl+A

in the edit node mode.

It seems as if something causes the page or that particular bugged area not to refresh on screen.
I am using Firefox 2.0.

Trying to look at the javascripts and CSS to try resolve the problem.

#7

sovietfunk - August 16, 2007 - 15:16

I have confirmed this behaviour for Mac OS 10.3.9, in Firefoxes 1.5 and 2.x. It did not occur on an identical Mac with 10.4 and FF 2. It seems to have little to do with physical memory, but memory handling may be quite different between 10.3.9 and 10.4. I was to exasparated to test thoroughly, but I don't think Zen is the only template to suffer from this. Will come back on that later. Idea: could the way in which Zen deals with sidebars and squeeze area, with overlapping and negative margins and z-orders, have anything to do with this?

(Sadly Safari on 10.3.9 crashes spectacularly on node editing forms with Tinymce, so the only option for my 10.3.9 users is Opera.)

#8

leandrosiow - August 17, 2007 - 11:13
Title:Weird lines showing up when editing a node» Weird lines showing up when editing a node [Solution]

Hi guys,

I think i might have found a solution for the "Weird Lines" showing up when editing a node but not too sure if it will affect any other formatting.

Here is what I did.

Open style.css and search for this block below.

#node-form, #node-form .node-form
{
/* overflow:auto;*/
}

comment the "overflow:auto" out as shown above and the lines seems to disappear. The downside is that if you have too many icons for your TinyMCE it may stick out of the page if your site is built for 800by600.

Well yea hope it works for you.

#9

sovietfunk - August 17, 2007 - 14:17

Yay progress. Just in case this is not a decent workaround, could all issue readers report which OS/FF-version scenaria this happens? I am already in a situation where I'll have to give some UA-based css overrides, so it would be handy to know.

My report: FF1.x-2.x on MacOS 10.3.9.

#10

leandrosiow - August 18, 2007 - 00:12

My report: FF2.x on XPsp2

#11

sovietfunk - August 29, 2007 - 08:10

I would just like to report that I have seen no problems with my Zen themes after following leandrosiow's fix.

#12

leandrosiow - September 25, 2007 - 05:34
Status:active» fixed

Just updated the status to fixed

#13

andrewfn - September 25, 2007 - 18:00

I am not sure what the status of fixed means. Has this been fixed in Zen, or fixed in the sense that we now know how to patch Zen?

#14

toemaz - September 26, 2007 - 16:32

I can reproduce this issue as well and confirm that the solution in #6 is working.

#15

Gurpartap Singh - September 28, 2007 - 18:50
Status:fixed» active

Fixed status means the project has included the proposed changes. You might want to submit a patch.

#16

JohnAlbin - October 15, 2007 - 08:02
Title:Weird lines showing up when editing a node [Solution]» Screen redraw errors with resizable textareas in Firefox
Version:5.x-0.6» 5.x-1.x-dev
Component:Miscellaneous» Code
Status:active» fixed

Originally, I wasn’t seeing this.

To reproduce you have to actually try to re-size one of the textareas, then you see "left-over lines" from improper screen re-draw.

Removing the #node-form, #node-form .node-form { overflow: auto; } fixed the problem.

Committed. Thanks, everyone!

#17

Anonymous - October 29, 2007 - 08:13
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.