Bug (DSK-293302): Opera couldn't redraw when set DIV style.display='none'

Forums » Opera for Windows/Mac/Linux » Beta testing (including snapshots and previews)

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

8. April 2010, 15:42:45

NTMan

Posts: 188

Bug (DSK-293302): Opera couldn't redraw when set DIV style.display='none'

This page demostrate it
Try play with this page on differents browsers and compare results.

8. April 2010, 15:56:21

mikeray

Posts: 253

Confirming the bug with Opera 10.52 build 3347 on Windows XP+SP2. The bug is also present in Opera 10.10, but surprisingly it works fine with Opera 9.27

8. April 2010, 16:00:20

Frenzie

Posts: 15541

I'm not sure if it's related, but you're using buggy IE-behavior here. document.getElementById('bbb') is the proper way. I'll take a look at it later.
The DnD Sanctuary — a safety net for My Opera's demise.

8. April 2010, 16:38:49

Frenzie

Posts: 15541

Okay, I just took a quick look at it and it seems like some repainting issue. Switch to another page and back and you'll see it works.

To properly test (and include Fx in the tests) you'll still need to make the alteration I suggested though.

Also is the textarea stuff required to make the bug occur?
The DnD Sanctuary — a safety net for My Opera's demise.

8. April 2010, 16:51:39

NTMan

Posts: 188

Frenzie, thanks for feedback.
1) remake with getElementById
2) textarea new required (removed)
3) Removed all unnecessary elements
New version of test page are uploaded.

Originally posted by Frenzie:

Switch to another page and back and you'll see it works.


Enough even resize the Opera window.

8. April 2010, 17:41:26

Frenzie

Posts: 15541

Originally posted by NTMan:

Frenzie, thanks for feedback.

1) remake with getElementById

2) textarea new required (removed)

3) Removed all unnecessary elements

New version of test page are uploaded.


Neat! Now Firefox also shows the correct behavior.

Originally posted by NTMan:

Enough even resize the Opera window.


Indeed, as long as it's repainted.
The DnD Sanctuary — a safety net for My Opera's demise.

8. June 2010, 17:50:08

NTMan

Posts: 188

On build 3409 still not fixed yet sad

8. June 2010, 19:08:21

simexi

Posts: 37

Confirmed 10.60 3409 / x64 Win7.

9. June 2010, 10:53:05

rolandb313

Posts: 96

Confirmed as well on 3409. Could be related to the graphical glitches I get. Seems Opera recently has repainting/painting issues.

14. September 2010, 07:56:15

termi1uc1

Posts: 56

The same bug here with pure css, without js.
I'm use my css table for twitter:
body {  padding: 0 20px !important;  }
#container, ol.statuses span.status-body {  width: 100% !important;  }
#profilebox:hover > div {
	display: block !important;
	position: fixed !important;
	background-color: white !important;
	border: 1px solid gray !important;
}
#profilebox:hover > div:last-child {  left: 50% !important;  }
#profiletext, #profilebutton, #header>a {  display: none !important;  }
#profilebox_outer, #content div, #content h2 {  padding: 0 !important;  }
#content {  width: auto !important;  }

and see this bug every time on mouse over #profilebox

WinXP SP3 Opera 10.70 9046

14. September 2010, 14:56:29

sacharja

Posts: 667

Known issue since ages:
redraw.html

18. January 2011, 16:33:39

NTMan

Posts: 188

Opera 11.01 Build 1170, this bug is there...

2. April 2011, 19:17:47

Special-Opera-Lover

Opera's Rocks!

Posts: 5

I just recently re-discovered this bug all by myself while making a popup dialog complete with transparent mask. This style of coding is important to me, is there no better way to get their attention? ninja

I filed a bug report myself, and listed the issue as a "Spec Violation"... yikes While it's merely a repaint glitch, it's still not doing what the DOM spec says must happen. (Also, I thought they might pay better attention to a spec violation than some obscure glitch nobody cares about) doh

Forums » Opera for Windows/Mac/Linux » Beta testing (including snapshots and previews)