Disappearing canvas
I have three canvases on my form :-
Canvas A is a content canvas
Canvas B is a tab canvas
Canvas C is a stacked canvas
When i move focus from canvas C to canvas B, canvas C disappears. What could be causing this disappearance? Please assist.
Edited by: Yeucai on 2010/06/28 12:36 AM
Hello Yeucai,
Its unfortunate that we can't place a stacked canvas over a tab canvas. If you do so during runtime the corresponding canvas where the control is over will show up instead of both. If you really want to use the stacked canvas over a tab canvas then keep all the navigable items on stacked canvas and may be non navigable items over tab canvas and whenever tab changed then show the corresponding stacked canvas and hide when tab changed.
May be this help you.
Regards,
Yathish
Similar Messages
-
Disappearing Canvas and Timeline
I have a project that when opened, only shows the browser and viewer, no canvas or timeline. If I open FCE without any projects open, all the windows are there. If I open another project, all the windows are there. If I open this project with all the windows open through another project, it still isn't a tab on the timeline or canvas. I checked Windows dropdown and the timeline and canvas are greyed out for this project, but not if I have other projects up. I tried checking Windows (drop down), then Standard and they still don't come up? I have FCE 4, upgraded from FCE HD.
Look in the Browser for a Sequence and double click it.
Ian. -
Java3D Disappearing canvas problem
I have a Canvas3D embedded in a JPanel, which is embedded in a JTabbedPane. When I resize the application, on average about one time out of six or so, the Canvas3D won't repaint properly and I'm left with an empty gray panel.
The recommended solution to this problem (which hasn't worked for me) is to subclass Canvas3D and override the paint method to call Toolkit.sync().
I'm using Java 1.5.0_06 and Java3D 1.4 (latest "release" build)
Here's some sample code to reproduce the problem:
public static void main(String[] args){
// Main Application Frame
JFrame frame = new JFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// Frame contains one component - a tabbed pane
JTabbedPane tabbedPane = new JTabbedPane();
frame.getContentPane().add(tabbedPane, BorderLayout.CENTER);
// First tab in tabbed pane is blank blue panel
JPanel bluePanel = new JPanel();
bluePanel.setBackground(Color.BLUE);
tabbedPane.add("Blank", bluePanel);
// Second tab in tabbed pane contains the canvas enclosed in a JPanel
JPanel panel3D = new JPanel(new BorderLayout());
Canvas3D canvas3D = new Canvas3D(SimpleUniverse.getPreferredConfiguration()){
public void paint(Graphics g) {
super.paint(g);
Toolkit.getDefaultToolkit().sync();
panel3D.add(canvas3D, BorderLayout.CENTER);
tabbedPane.add("3D", panel3D);
// Create a simple universe with a root branch grouop
SimpleUniverse universe = new SimpleUniverse(canvas3D);
universe.getViewingPlatform().setNominalViewingTransform();
BranchGroup bgRoot = new BranchGroup();
// Create a colored cube that is slightly rotated
TransformGroup tg = new TransformGroup();
Transform3D transform = new Transform3D();
transform.rotY(Math.PI / 8.0d);
tg.setTransform(transform);
tg.addChild(new ColorCube(0.2));
// Place the cube inside the universe and compile
bgRoot.addChild(tg);
bgRoot.compile();
universe.addBranchGraph(bgRoot);
// Display the frame
frame.pack();
frame.setSize(500,500);
frame.setVisible(true);
}After experimenting with this for a while, I can confirm this issue happens even if you don't use a JTabbedPane (i.e. you have a Canvas3D inside a JPanel inside a JFrame). Seems to be a race condition of some sort, because the following (ugly) piece of code will solve the problem (for now):
Canvas3D canvas3D = new Canvas3D(SimpleUniverse.getPreferredConfiguration()){
public void paint(Graphics g) {
try {
Thread.sleep(100);
} catch (Exception e){}
super.paint(g);
// Toolkit.getDefaultToolkit().sync();
}; Would really appreciate input from anyone who has experienced a similar problem. Thanks. -
Disappearing canvas & timeline
working with fc studio 3 on project.
when i tried to add clip to sequence, browser turned red, with notice; general error.
soon, browser and timeline disappeared, and are grayed out on tool bar, so can do nothing.
wondering what happened, and how to get back browser-timeline.
have turned off project several times. nothing. thank you.have been trying to work with some flip video hd stuff -..1280x720, h.264,60fps.
i have final cut studio 3, on new mac laptop.
i've been putting all this flip video on its own sequence, and some clips do not give me problem,
others first say:general error, then out of memory. (not possible)
again all my thanks to all -
Tab Canvas displaying Stacked Canvas at runtime disappears?
Hi,
I have 3 canvases that contain the following:
1) Content Canvas -- This contains the TREE item.
2) Tab Canvas -- A tab canvas with a single Tab Page
3) Stacked Canvas -- This is a Stack Canvas with a few
text items on it.
4) Single Window.
======At runtime the following actions occur: ==========
1) The Viewport of the stacked canvas is set to the
Viewport of the Tab Page on the Tab Canvas so that it
looks like the Tab Page has a vertical and horizontal
scrollbar with text items displayed.
2) A text item on the Stacked Canvas is in focus as soon
the as the form window is displayed.
===================Problem is : =====================
1) When I select a Node of the Tree Item, the Tab Canvas
automatically disappears(or becomes invisible) , as a
result the stacked canvas displayed within it at
runtime also becomes invisible. I am left with only
the Tree item being displayed.
=======================================================
PS : I have never experienced this problem with just the
content canvas and the Tab Canvas together.
Any soultion to this problem is most appreciated.
Thanks
SharathI am experiencing the exact same thing. The width of the tabs in the layout editor is varied depending on the length of the text. However, at run-time, the width of the tabs is fixed, causing the tabs to be wider than the window and a set of VCR buttons to appear in the upper right corner of the canvas. Personally, I think this is a Forms bug. Why would they intentionally let us set the width to variable at design-time only to force a fixed width at run-time?
-
Canvas disappear on sending multiple requests specifically from IE 11
I have a page which displays few javascript charts on it. I am using RGraph chart API to generate charts. The charts are been generated from a separate Ajax call.
The page is working fine with IE 7, 8, 9 and 10. Then recently I have upgraded to IE 11. After upgrade the page is not working as intended. On performing refresh operation for about 3-4 times, section of some charts are been disappers. It displays
blank section instead of chart. And random charts gets disapper. It is not fix that some specific charts will fade away.
And when this issue occur, all the CSS on the page goes messy.
I have checked for any javascript related error generated or not. But I didn't found any javascript error on the console.
I have checked from development tool. The canvas tag is available, bit it does not display on the page. It shows a blank section instead.
Any idea why this is happening?
I have moved this question from IE 11 Community Support Forum. Here is the link of the forum.
http://answers.microsoft.com/en-us/ie/forum/ie11-iewindows8_1/canvas-disappear-on-sending-multiple-requests/c433cf9b-fb82-48f1-8554-ebb3354795feI have a page which displays few javascript charts on it. I am using RGraph chart API to generate charts. The charts are been generated from a separate Ajax call.
The page is working fine with IE 7, 8, 9 and 10. Then recently I have upgraded to IE 11. After upgrade the page is not working as intended. On performing refresh operation for about 3-4 times, section of some charts are been disappers. It displays blank
section instead of chart. And random charts gets disapper. It is not fix that some specific charts will fade away.
And when this issue occur, all the CSS on the page goes messy.
I have checked for any javascript related error generated or not. But I didn't found any javascript error on the console.
I have checked from development tool. The canvas tag is available, bit it does not display on the page. It shows a blank section instead.
Any idea why this is happening?
I have moved this question from IE 11 Community Support Forum. Here is the link of the forum.
http://answers.microsoft.com/en-us/ie/forum/ie11-iewindows8_1/canvas-disappear-on-sending-multiple-requests/c433cf9b-fb82-48f1-8554-ebb3354795fe
Hi,
In order to get your issue solved more efficiently, I would recommend you post another thread in
https://forums.asp.net forum to get dedicated supports, since based on your description, you are having this issue with your web applications and that forum is for web development issues.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
The canvas background color disappeared when using updateDisplayList
If I put code in the updateDisplayList for canvas. The
background color is disappeared. if I called
super.updateDsplayList(), all the drawing is not show.
What 's wrong with my code or Canvas class?
<?xml version="1.0"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns:cmp="PlanUI.*" creationComplete="init()">
<mx:Style source="2dStyle.css"/>
<mx:Script>
<![CDATA[
import PlanUI.TestCanvas;
public function init():void
var dc:TestCanvas=new TestCanvas();
dc.percentWidth=100;
dc.percentHeight=100;
dc.setStyle("backgroundColor",0xFF0000);
this.addChild(dc);
]]>
</mx:Script>
</mx:Application>
package PlanUI
import mx.containers.Canvas;
public class TestCanvas extends Canvas
public function TestCanvas()
super();
this.percentHeight=100;
this.percentWidth=100;
override protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
this.graphics.clear();
// super.updateDisplayList(unscaledWidth, unscaledHeight);
this.graphics.lineStyle(1,0xFF0000,0.3);
this.graphics.drawRect(0,0,200,200);Yes, it is the same drag and drop project.
I changed color of draw rectangle The rectangle showed up. If
I called super.updateDisplayList(unscaledWidth, unscaledHeight) in
updateDisplayList function, the background will show up, however,
show in front of the rectangle.
There are 2 problems:
1> background color is show in front of rectangle,
2> I set rectangle.x=0, rectangle.y=0, but the begin point
is out side of the the canvas.
package PlanUI
import mx.containers.Canvas;
public class TestCanvas extends Canvas
public function TestCanvas()
super();
this.percentHeight=100;
this.percentWidth=100;
this.setStyle("borderThickness", 0);
override protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
// super.updateDisplayList(unscaledWidth, unscaledHeight);
this.graphics.clear();
this.graphics.lineStyle(33,0x00FF00,1.0);
this.graphics.drawRect(0,0,unscaledWidth/2,unscaledHeight/2);
// super.updateDisplayList(unscaledWidth, unscaledHeight);
<?xml version="1.0"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns:cmp="PlanUI.*" creationComplete="init()">
<mx:Style source="2dStyle.css"/>
<mx:Script>
<![CDATA[
import PlanUI.TestCanvas;
public function init():void
var dc:TestCanvas=new TestCanvas();
dc.percentWidth=100;
dc.percentHeight=100;
dc.alpha=1.0;
dc.setStyle("backgroundColor",0xFFEE00);
this.addChild(dc);
]]>
</mx:Script>
</mx:Application> -
Canvas and time line on final cut express disappearing
hi,
i was sorting recently captured video into clips when my canvas and timeline mysteriously disappeared. i think i might have pressed something but i can't remember what. now they are gray on my options window, witch is where the timeline, canvas, viewer, and browser options are.
can any body help?
thankshttp://www.fcpbook.com/Misc7.html
-
I am putting together my movie and my "canvas" has disappeared. How do I get it back so I can view what I have done as I go?
Double click on a Sequence icon in the Browser window or select Window>Canvas (or press command/2).
-
Tab canvas disappear when the main stacked canvas reach the end of column
Hi all,
I have 3 canvas ( 1 main canvas, 1 stacked canvas ) and this link to 1 tab canvas. All these are in the same window.
Whenever using the keyboard to press enter navigate from column to column and when it reach the end of the main canvas which is about to jump to the stack canvas, the two canvas ( stacked & tab ) was hide by itself. Even I have stated earlier to show all canvas in the pre-block trigger. when I keep on press the enter to jump to the next stacked canvas, this stacked canvas is being shown again. My tab canvas was not appear if I am press the enter key. However, if I press the arrow key down the tab canvas is appear. This I wasn't do any code to call the tab canvas.
When I keep on press enter and reach the end of the stacked canvas again the tab canvas is disappear, unless I have press the arrow key down to display the tab canvas.
Trying to use show_view( tab canvas ) in many trigger but still does not show the effect.
Anyone has this experience before ?
Thanks.
LimHi Lim
Pls check this hope it helps u to recognize dealing with muti-canvas in 1 window...
how to use stack canvas in tab canvas in oracle forms
Regards,
Amatu Allah.
Edited by: Amatu Allah on Sep 22, 2011 2:23 AM -
Tab canvas disappears at run time
Hi,
I have a Content canvas with a data block displaying fields in the top section of the canvas_main. Bottom half of the canvas_main has canvas_tab with three tab pages tab1, tab2, tab3 all have data block (child records fo above block) each.
At run time I can see the canvas main with its items but cannot see the tab pages.
since I execute a query in WHEN-NEW-FORM-INSTANCE which is supposed to populate fields in canvas_main as well as child records in tab pages. I have inlcuded debug messages to see if tab page does appear or not. So the tab pages do appear and also display child record but tab canvas does not stay on the scree.
Did try to use SHOW_VIEW('tab_canvas') without any luck.
Any advice is greatly appreciated.
ThanksHi,
a tab canvas is like a stacked canvas.
Both canvas types disappear, when they lie over an item, with input focus. When you press next block / next item (when the items on the tab canvas belong to the same block) should display the canvas again. When this is true, I am probably right.
Regards
Hans -
Question about stacked canvas disappearing
Hi,
I have a block which has some database items and non-database items. Since
there are many items in the block, I use a stacked canvas with horizontal bar
to display the less important items.
In the trigger of new-block-instance, show_view('stacked_canvas')
But I face one problem. When I click on a non-database item and then move
the cursor away from the item, the stacked canvas suddenly disappears.
Any idea ?
Many thanks in advanceImagine each canvas as a piece of paper stacked on a desk. Each piece of paper possibly has a different size and the top left corner of each piece is possible oriented in a different spot. When you say show_view('stacked_canvas') its like reaching to the bottom of the pile and putting that canvas top. When you click on an item not on the stacked canvas that items canvas is placed on top. Your problem is that your non-database item content canvas is covering up the stacked canvas. I think...
Your issue could be solved by simply rearranging the canvas order by putting the stacked canvas last (I think) in the object navigator.
Raise on Entry could also be causing your issue. Go to the help. Click the search tab. Type "raise on entry". Read "Working with the Raise on Entry Canvas Property". There is a good explanation in there on how stacked canvases get covered up by content canvases and when. -
Canvas disappears when I click on it.
Hi,
I am adjusting to CS6 on a Windows 7 machine, and cannot figure out why clicking any part of my canvas with either the bounding box tool, select path tool, or text tool make the canvas disappear.
The file, and all of its layers were working fine--allowing me to edit as I had in CS 3 (the last version I used). Suddenly, I'm unable to edit text because if I click on the line of it, the work area goes dark! Clicking on the MOVE tool recovers the usual view.
Have I inadvertantly changed some mysterious setting? If so, I'm incredibly frustrated about a problem that should be easy to detect and fix.
Thanks,
CarolineThis sounds like your GPU (Graphics processor) is having a problem with the heavier demands CS6 places on it.
For starters, go to Edit > Preferences > Performance and where Use Graphics Processor is checked, click on Advanced and see if a lower setting, Normal or Basic works for you.
If it doesn't, uncheck Use Graphics Processor.
Next go to to the manufacturer website that makes your GPU, noting the model under Help > System info, and look for and install updated drivers.
Hopefully this will fix it.
Gene -
I have a canvas with a drawing added to a Panel on my applet. I posted the applet on my website, when I visit the site, after the page is refreshed, the canvas disappears. Also, once I've opened Safari, if I revisit the page, the canvas won't show up at all, but when I quit Safari and reopen it, it shows up again until the page is refreshed. Does anyone know why this is happening?
Thanks,
JameySorry but my crystal ball is not working so well today. Maybe it would be easier for everyone if you posted the code (using [code] tags) for the Applet.
-
I've been experiencing this weird bug with CS4 where the canvas somehow gets minimized or just somehow disappears while all the tools and even layer . This becomes an issue when you are trying to close out photoshop and you are asked to save the document. You are unable to verify whether changes have been made or if anything has shifted since you last viewed the doc. Anyone else experience this or have a solution to prevent it from happening?
It happens to me sometimes too. Like just now.
Buko, when you are in Finder, say, and you want to shut down the computer and click onto Photoshop (i'm on an iMac 2.66GHz Intel Core Duo) with open docs minimized down in the dock you want to maybe save and quit, or don't save and quit, or undo a couple steps and quit, they just disappear.
They are shown under the Window menu at the bottom like normal, but are nowhere to be seen onscreen. You go to Quit and a dialog comes up "Save changes to whatever.doc before quitting?", but you can't get to the document in order to know. So you have to save changes hoping to hell you didn't flatten an image you'll need layers for later or something. Or vice-versa. Infuriating. Is it some keyboard shortcut? If it helps, this happened when I cmd-tabbed to select Photoshop from my open apps.
Apologies if this is addressed in another thread.
Maybe you are looking for
-
Hi I was wondering if anyone has ever had problems with these speakers.... I dont know what the problem is...it was working fine for about a month and the connection to the right rear speaker on the sub died. I cant explain it. The speaker works fine
-
My Macbook pro, a mid-2010 computer, new when I purchased it, keeps shutting off at random and restarts itself. I could be in the middle of typing and it just shuts off and restarts. I have unchecked the "automatic graphics switching" option in my
-
My appletv worked great....now it won't let me sign in to my Youtube account. It keeps saying that "The account name or password was incorrect,please try again". But I know for certain that it is correct! It is the same password I use for my laptop
-
dear fellows i have installed 9ids on wxp it connects but when i try to run any form it says "FRM-10142 HTTP LISTNER IS NOT RUNNING ON YOUR MACHINE PLEASE START THE LISTNER OR CHECK YOUR RNUTIME PREFRANCE" PLZ HELP ME TO GET OUT OF THIS PROBLEM THANK
-
Exception thrown like ORA-01000
Hi, I am getting the error in my java code like ORA-01000. Exception :ORA-01000: maximum open cursors exceeded How to check through code whether the cursor is opened or closed. Can anyone please help me to resolve this incident?.