Opened 10 years ago

Closed 10 years ago

#14699 closed defect (patchwelcome)

BorderContainer: dragging vertical splitter between two panes causes <object> based graphics to diplay double images

Reported by: Larry Howard Owned by:
Priority: undecided Milestone: tbd
Component: Dijit Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

I have a three pane dijit.layout.BorderContainer with vertical splitters between them to allow dynamically adjusting the pane sizes. The right most pane has a <object> tag to display a graphic image (PDF, SWF or isoView CGM graphic). When either splitter is clicked and dragged, the graphic in the <object> tag is displayed twice, once in the graphic pane and also in the center region pane which creates a double image of the graphic while dragging. When dragging stops, everything goes back to normal.

Note that this behavior did not occur prior to Dojo v1.6.X.

This behavior occurs in IE and FF (all version) browsers, but displays properly in the latest Chrome browser.

Attachments (3)

wiggleBug-testcase.zip (36.9 KB) - added by Larry Howard 10 years ago.
Testcase to display double images when dragging
frameWork.html (1.3 KB) - added by bill 10 years ago.
simplified test case. put in dijit/ or sibling directory along with test1.pdf
test1.pdf (38.4 KB) - added by bill 10 years ago.
put next to frameWork.html

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by Larry Howard

Attachment: wiggleBug-testcase.zip added

Testcase to display double images when dragging

comment:1 Changed 10 years ago by Earl Hood

Checked test case against 1.7.1 dojo, and the double-image effect still occurs.

The double-image effect seems to be restricted to cases when a browser plugin is required to view the media object. Since the test case is using a PDF, Chrome is able to render it directly, hence the effect does not happen in Chrome.

comment:2 Changed 10 years ago by bill

Description: modified (diff)
Summary: Dragging Vertical splitter between two panes causes <object> based graphics to diplay double imagesBorderContainer: dragging vertical splitter between two panes causes <object> based graphics to diplay double images

Hmm, well I can take a look. Which of the test files do I run?

comment:3 in reply to:  2 Changed 10 years ago by Larry Howard

Replying to bill:

Hmm, well I can take a look. Which of the test files do I run?

Run the file frameWork.html. That will load everything else.

Changed 10 years ago by bill

Attachment: frameWork.html added

simplified test case. put in dijit/ or sibling directory along with test1.pdf

Changed 10 years ago by bill

Attachment: test1.pdf added

put next to frameWork.html

comment:4 Changed 10 years ago by bill

Resolution: patchwelcome
Status: newclosed

I did reproduce this, but I just have no idea how to fix it. Turning off liveSplitters helps but there's still a glitch. If you have a possible patch I'd be happy to integrate it.

Note: See TracTickets for help on using tickets.