Halloween - Spooky behaviour of Vbox

Our silver Vbox is in the bedroom, and normally behaves itself quite well. It's connected to the Home Hub 2.0 on the floor below over a pair of black Comtrend powerline adaptors (and, recently, via an Ethernet switch it shares with the BluRay player, though that was off at the time, and I anyway don't think the switch was involved).
About 2 am, we were awoken by the Vbox  buzzing and whirring like an angry wasp, and flashing a very bright green light on the front, either from the red 'Recording' LED, or the yellow 'Message Waiting' one. The flashing wasn't regular, but pulsed irregularly, though in sync with the buzzing/whirring.
If this had been a computer, I'd have said it was updating, the buzzing/whirring being disc writes and/or the fan, and the green light being the disc I/O light. (Actually, of course, it is a computer, but I don't think it's supposed to work like that, is it?)
The green Power light was also on, and steady. But putting the TV on showed 'No Signal' on the input for the Vbox, and it would respond neither to the remote, not even showing the blue light, nor to buttons on the Vbox itself.
I hesitated to interrupt it, aware that if this was an overnight update, that pulling the powerplug might brick it, so I let it run.
But awaking at six, it was still the same; so I pulled the Ethernet plug out. No change. Then I pulled the mains adaptor out - to **bleep** with bricking it, I wanted my sleep.
But putting it all back a few hours later, the Vbox powered back up normally, had a little think, and then showed the usual menus. All the recordings and schedules seemed intact; there was no evidence of any update. And there didn't seem to be any unexpected downloads, like a free HD movie from BT or whatever.
(Matter of fact, we've never downloaded anything, so we wouldn't even know what an overnight download looks like, but I don't think it would look like what we saw).
Any thoughts as to what this might have been?
Solved!
Go to Solution.

There were lots of problems with the Vision service yesterday, it was probably trying to connect to get listings, failing then rebooting - that would be my guess.  Depending on where you live, the service came back up at anytime from 1 in the morning to about 7ish.
---Remember to mark as 'solved' and give stars when you like a post---

Similar Messages

  • VBox bug?

    I met with weird behaviour of VBox layout.
    When I put on the scene vbox defined like that:
    var vb: VBox = VBox {
                width: 300
                height: 300
                managed: false
                content: [
                    Button {
                        text: "Button"
                        layoutInfo: LayoutInfo {hfill: true vfill: true; hgrow: Priority.ALWAYS;}
            }Button has width=300px, but height is default (about: 20 px)
    When i change VBox on HBox:
    var vb: HBox = HBox {
                width: 300
                height: 300
                managed: false
                content: [
                    Button {
                        text: "Button"
                        layoutInfo: LayoutInfo {hfill: true vfill: true; hgrow: Priority.ALWAYS;}
            }Button has width=300px and height=300px too.
    Is it normal behaviour of VBox layout that doesnt set control's height?

    I read this article several times, but I don' t see where the author explain that behaviour of vbox container.
    The section which you have on mind, may be it:
    +"Not All Containers Support Grow/Fill+
    +It only makes sense for containers to support these preferences when nodes are in contention for space, so HBox supports it horizontally, VBox supports it vertically, and Grid supports it in both directions. "+
    But this doesn't agree with my experience, where HBox (in my example) supports both directions, and VBox in only one direction (horizontally!!!).

  • LR3 Export Video Slide Show -- DVD

    Hi folks...
    I'm running Windows7 + Lightroom3.
    I'm trying to burn a DVD with a LR slide show. Seems simple. I can create the mp4 files no problem, and view them on the computer no problem.
    I try to open the mp4 in either of two Sony programs to get the burning process underway, and the video isn't recognizable. as if the right codec is missing. it does recognize the audio, for what that's worth. btw, the two Sony programs are Sony Vegas 9.0 and DVD Architect Studio 4.5.
    Any suggestions for me? Really appreciate any guidance...
    rowdy

    Hi,
    I seem to have a similar problem with LR3.2 on Win7 (I do not think the OS is to blame). A HD-video will not play from an USB-stick on my Sony Bravia. However, after reconverting the file with VLC media player, using exactly the same format as the original (AVCHD H.264, 1080p), my Bravia plays it without problem. But now, of course the file size is substantially smaller and the quality is degenerated.
    Spooky behaviour...
    Best regards
    Bertil
    (My Bravia is updated with the latest software version available on September 8)

  • Spooky keyboard behaviour

    This probably doesn't belong in the programming forum, but I'm interested in finding out if someone has had a similar problem. I have installed my app at a client site. The app is run on 9 machines. 7 of the 9 operate fine, but on two of the machines I have strange keyboard behaviour.
    Ocasionally the app will stop erwsponding to the keyboard, but will still respond to the mouse and still paints ok. Restarting the app doesn't help. But, if the user opens MS Word, types a few chars and then restarts my app, it operates normally.
    One of the machines is a laptop running WinXP home and the other is a Desktop running Win98.
    I am using JRE 1.4.2_05 as the runtime and Swing for the UI components.
    The only parts of my code I can think of that may interfere with keyboard processing are:
    I have a KeyEventPostProcessor which checks for the escape key nad arrow keys
    I also have an event processor which looks like this:
         private static final class EventProcessor extends EventQueue {
              public EventProcessor() {
              protected void dispatchEvent(final AWTEvent evt) {
                   try {
                        super.dispatchEvent(evt);
                   catch (Exception e) {
                        // Catch any uncaught AWT Exceptions
                        try {
                             MedEDI.showException(e);
                        catch (Exception ignored) {     
                        getInstance().shutdown();
         }I'm completely foxed as I cannot recreate this in my development environment. Has anyone else come across a similar issue?
    Graeme

    Some possibilities:
    1. Dirt under the keysIt is only my app (the only java app on the system) that has this trouble, which makes it unlikely that dirt is causing the problem. At one stage I thought that it might be a USB keyboard or keyboard driver problem, but given that one of them is a laptop with XP and the other is a desktop with 98, this seems unlikely too. Especially seeing that the other 8 terminals are all the same hardware and setup as the desktop.
    2. Badly-programmed spyware installedNever thought of that. Might not be the problem, but what the hey, it's worth a try. I'll have them check for spyware on Monday and I'll let you know how it turns out.
    Graeme

  • Windows 8.1 Enterprise Evaluation- Strange behaviour of network adapter

    Hello there are discussions and questions around this community about network adapter dropping connection while system is running. But I have found unique problem with my network adapter driver.
    I have tried to state my problem as clearly as possible. Please ask if any detail is required.
    My network status shows no access on following occasions:
    1. On alternate system wakeups.
        eg:  
    a. System boots up 
    Internet accessible
    no problem
    b. I put system to sleep(first time) and wake it up
    No access to internet !!!
    When I check in network and sharing center not even adapter shows in disabled status.(See video from the link given below).
    c. Without restarting system or without installing network adapter again,  I put system to sleep again and wake it up (2nd time).
    Internet accessible
    d. I put system to sleep for (3rd time) and wakes it up.
    No access to internet!!
    If I put system to sleep again and wake it up definitly I get network access.
    2. If I switch off the modem before windows shutdown completely or in the process of shutdown, next time when I boot system, even though the modem is switched on before booting the system, No internet access tooltip will be shown on network
    sysbol.
    Another strange behaviour is on no internet access status, I start installing adapter, and it loads required files and prompt me to click "next" and "click" install.
    But the thing is before I go to "next" button, I will get network access as shown in this link
    http://youtu.be/sPlXVEiYBeo. Ignore virtualbox adapter. Same behaviour was there when there is no vbox adapter. Same was happening in Windows 8 Pro, but not in windows 7, so that there is no H/W problem I think. 
    Any idea on how to fix this or any alternate solution ? 

    Hi,
    Firstly, access your network adapter official website to get the proper driver applied to your system.
    Then going to Control Panel > Device Manager, right click your adapter > Properties. Under the Power Management tab, make sure "Allow the computer to turn off this device to save power" checkbox unchecked.
    If it still persists, try to disable "fast startup" as below steps:
    1.In Control Panel, open the Power Options item.
    2.Click the Choose what the power buttons do link.
    3.Clear the Turn on fast startup (recommended) check box.
    4.Click Save Settings.
    Karen Hu
    TechNet Community Support

  • Simple layout question, shrinking TextField and TextArea inside VBox

    Given:
            VBox root = new VBox(10);
            root.getChildren().addAll(new TextField(), new TextArea());
            Scene scene = new Scene(root, 300, 250);When I shrink the application window vertically, the textfield starts to shrink first, while the text area stays its size, then when the textfield is only a narrow strip, the text area starts to shrink.
    1) Is this expected?
    2) Is it by design? If so, why?
    3) How can I avoid it, i.e. have the text area shrink first, then the textfield?
    It think the behaviour in 3) makes more sense, since a text area by its nature can have different heights; a text field on the other hand I would expect to have the height of a single line of text unless there is absolutely no space for it in its container. It doesn't make sense to have a textfield that is a fraction of the height of a line of text.
    I have tried various combinations of minHeight and prefHeight, but without luck.

    Hey,
    1) Yes, this is expected!
    2) Yes, why.. well I don't know why the minimum height of a TextField is smaller than the pref size.
    3) This can be avoid by setting your own sizes (min size - pref size - max size)
            VBox root = new VBox(10);
            root.setStyle("-fx-background-color: lightgray");
            TextField tf = new TextField();
            tf.setMinHeight(Control.USE_PREF_SIZE); //the minimum height = the preferred height
            TextArea ta = new TextArea();
            ta.setMinHeight(30);
            ta.setPrefHeight(50);
            ta.setMaxHeight(Double.MAX_VALUE); //maximum height, depends on the parent
            VBox.setVgrow(ta, Priority.ALWAYS); //use the maximum height available
            root.getChildren().addAll(tf, ta);
            Scene scene = new Scene(root, 300, 250);Edited by: FXdude on 21-jan-2013 6:13

  • Strange behaviour on preloading web page in WebView

    I have the following problem: In my Swing application i'd like to show a web page. In order to do so i use a JFXPanel that contains a WebView. The web page should be loaded in the background and just if the loading process is totally completed i want to make the JFXPanel visible. I use the getLoadWorker().workDoneProperty() method of the corresponding WebEngine to determine if the page is totally loaded.
    The problem is, that at the moment the JFXPanel gets visibile I see at first a totally empty panel, and only after a short time the web page in the WebView is visible. I have made a simple Demo Application that reproduces this behaviour. If the page is loaded a button gets enabled and a click on that button adds the WebView to the panel below. Furthermore the following link points to an animated gif which demonstrates the behaviour: http://tinypic.com/view.php?pic=oh66bl&s=5#.Ujv2IhddWKl
    Here is the code of the demo application:
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javafx.application.Platform;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.embed.swing.JFXPanel;
    import javafx.scene.Scene;
    import javafx.scene.web.WebEngine;
    import javafx.scene.web.WebView;
    import javax.swing.JFrame;
    import javax.swing.SwingUtilities;
    public class WebViewTest extends javax.swing.JPanel {
       private static JFXPanel browserFxPanel;
       private WebView webView;
       private WebEngine eng;
      * Creates new form WebViewTest
       public WebViewTest() {
      initComponents();
       Platform.setImplicitExit(false);
      browserFxPanel = new JFXPanel();
       Platform.runLater(new Runnable() {
       public void run() {
      webView = createBrowser();
       Scene scene = new Scene(webView);
      scene.setFill(null);
      browserFxPanel.setScene(
      scene);
      * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The
      * content of this method is always regenerated by the Form Editor.
       @SuppressWarnings("unchecked")
       // <editor-fold defaultstate="collapsed" desc="Generated Code"> 
       private void initComponents() {
      java.awt.GridBagConstraints gridBagConstraints;
      pnlMain = new javax.swing.JPanel();
      showWebpageButton = new javax.swing.JButton();
      setLayout(new java.awt.GridBagLayout());
      pnlMain.setLayout(new java.awt.BorderLayout());
      gridBagConstraints = new java.awt.GridBagConstraints();
      gridBagConstraints.gridx = 0;
      gridBagConstraints.gridy = 1;
      gridBagConstraints.gridwidth = 3;
      gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
      gridBagConstraints.weightx = 1.0;
      gridBagConstraints.weighty = 1.0;
      add(pnlMain, gridBagConstraints);
      showWebpageButton.setText("show web page");
      showWebpageButton.setEnabled(false);
      showWebpageButton.addActionListener(new java.awt.event.ActionListener() {
       public void actionPerformed(java.awt.event.ActionEvent evt) {
      showWebpageButtonActionPerformed(evt);
      gridBagConstraints = new java.awt.GridBagConstraints();
      gridBagConstraints.gridx = 1;
      gridBagConstraints.gridy = 0;
      gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
      add(showWebpageButton, gridBagConstraints);
       }// </editor-fold> 
       private void showWebpageButtonActionPerformed(java.awt.event.ActionEvent evt) {  
      pnlMain.removeAll();
      pnlMain.add(browserFxPanel, BorderLayout.CENTER);
       WebViewTest.this.invalidate();
       WebViewTest.this.revalidate();
       // Variables declaration - do not modify 
       private javax.swing.JPanel pnlMain;
       private javax.swing.JButton showWebpageButton;
       // End of variables declaration 
       private WebView createBrowser() {
       Double widthDouble = pnlMain.getSize().getWidth();
       Double heightDouble = pnlMain.getSize().getHeight();
       final WebView view = new WebView();
      view.setMinSize(widthDouble, heightDouble);
      view.setPrefSize(widthDouble, heightDouble);
      eng = view.getEngine();
      eng.load("http://todomvc.com/architecture-examples/angularjs/#/");
      eng.getLoadWorker().workDoneProperty().addListener(new ChangeListener<Number>() {
       public void changed(ObservableValue<? extends Number> ov, Number t, Number t1) {
       final double workDone = eng.getLoadWorker().getWorkDone();
       final double totalWork = eng.getLoadWorker().getTotalWork();
       if (workDone == totalWork) {
      showWebpageButton.setEnabled(true);
       return view;
       public static void main(String[] args) {
       SwingUtilities.invokeLater(new Runnable() {
       public void run() {
       final JFrame f = new JFrame("Navigator Dummy");
      f.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
      f.setSize(new Dimension(1024, 800));
       final WebViewTest navDummy = new WebViewTest();
      f.getContentPane().add(navDummy);
      f.setVisible(true);
    I don''t understand this behaviour in fact that the page should already been loaded. For mee it seems like the WebView starts renderering the site just at the moment when it gets visible. What can I do to achieve that the WebView already shows the loaded web page at the moment it gets Visible (to avoid this flickr effect)?
    I have already posted this issue at StackOverflow (see http://stackoverflow.com/questions/18873315/javafx-webview-loading-page-in-background ) but didn't get an answer there and found this forum today.
    Thanks in advance!

    Try the updated version in this post.
    It forces an offscreen snapshot before displaying the webview to ensure all of the rendering is done before the WebView is displayed.
    The code is kind of ugly and the "solution" is a bit of a hack, you would probably want to clean it up a bit before using it anywhere (for example it is unnecessary to create a new WebView and snapshot the web page on every load - I just did that to get a feel for a worst case scenario and to try to pinpoint where slowdowns are occurring).
    A small rectangle moves back and forth across the top of the screen so that animation smoothness can be monitored.
    On the first load there will be a slight stutter in the animation, however the rendered web page appears instantly when the clicks the "Show page" button.
    As you say, the stutter only occurs the first time the page is loaded, subsequently everything is smooth.  If you use a regular progress bar rather than an animation, then the initial stutter is likely fine, as people expect to see pauses in progress bars from time to time (most progress reported by progress bars isn't a smooth linear progression).  My guess is that, if you use a regular progress bar, the behaviour experienced with this sample is likely acceptable to almost all users.
    Regarding the differences between rendering between JavaFX 2.2 and JavaFX 8, there were many modifications to the internal JavaFX architecture for JavaFX 8 that improved the rendering performance, so that likely accounts for the delta.
    import javafx.animation.*;
    import javafx.application.Application;
    import javafx.concurrent.Worker;
    import javafx.geometry.*;
    import javafx.scene.Scene;
    import javafx.scene.control.*;
    import javafx.scene.layout.*;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.web.WebView;
    import javafx.stage.Stage;
    import javafx.util.Duration;
    public class WebViewJavaFXTest extends Application {
        public static final String PAGE_URL = "http://todomvc.com/architecture-examples/angularjs/#/";
        private Rectangle distractor;
        @Override
        public void start(Stage stage) throws Exception {
            distractor = new Rectangle(20, 20, Color.CORAL);
            TranslateTransition r = new TranslateTransition(Duration.seconds(10), distractor);
            r.setFromX(0);
            r.setToX(800);
            r.setInterpolator(Interpolator.LINEAR);
            r.setCycleCount(RotateTransition.INDEFINITE);
            r.setAutoReverse(true);
            r.play();
            VBox layout = initView();
            stage.setScene(new Scene(layout));
            stage.show();
        private VBox initView() {
            final ProgressBar progress = new ProgressBar();
            final Button showWebView = new Button("Show Page");
            showWebView.setDisable(true);
            HBox controls = new HBox(
                    10,
                    progress,
                    showWebView
            controls.setAlignment(Pos.CENTER_LEFT);
            Button tryAgain = new Button("Try Again");
            tryAgain.setOnAction(actionEvent ->
                    tryAgain.getScene().setRoot(
                            initView()
            StackPane webViewHolder = new StackPane();
            webViewHolder.setPrefSize(1024, 700);
            final WebView webView = new WebView();
            progress.progressProperty().bind(
                    webView.getEngine().getLoadWorker().progressProperty()
            webView.setPrefSize(1024, 700);
            webView.getEngine().load(PAGE_URL);
            webView.getEngine().getLoadWorker().stateProperty().addListener(
                    (o, old, state) -> {
                        if (state == Worker.State.SUCCEEDED) {
                            webView.snapshot(
                                    snapshotResult -> {
                                        showWebView.setDisable(false);
                                        return null;
                                    null,
                                    null
                        } else {
                            showWebView.setDisable(true);
            showWebView.setOnAction(actionEvent -> {
                controls.getChildren().setAll(
                        tryAgain
                webViewHolder.getChildren().setAll(webView);
            VBox layout = new VBox(
                    10,
                    distractor,
                    controls,
                    webViewHolder
            layout.setPadding(new Insets(10));
            return layout;
        public static void main(String[] args) {
            launch();

  • Strange layout behaviour with TilePane

    here is the demo
    1.rootLayout have 2 child,controlbox and contentLayout
    2.3 button on controlbox
    3.contentLayout will add content,when press deffrent button on controlbox
    4.watch button "Add TilePane" , strange layout behaviour , what is the matter?
    layout picture
    |--------------------------------|                 
    |           |                    |                 
    |           |                    |                 
    |           |                    |                 
    |           |                    |                 
    |controlbox |  contentLayout     |                 
    | (VBox)    |   (StackPane)      |                 
    |           |                    |                 
    |           |                    |                 
    |           |                    |                 
    |           |                    |                 
    |--------------------------------|               
                                            the code
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.geometry.Pos;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.Label;
    import javafx.scene.control.ListView;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.TilePane;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    public class testTilePaneLayout  extends Application {
         StackPane contentLayout = new StackPane();
         //add content with 2 Button
         public void addContent(){
              VBox vbox = new VBox();
              contentLayout.getChildren().clear();
              contentLayout.getChildren().add(vbox);
              StackPane.setAlignment(vbox,Pos.CENTER);
              Button btn = new Button("Button1");     
              Button btn2= new Button("Button2");
              vbox.getChildren().add(btn);
              vbox.getChildren().add(btn2);
         //add content with 2 Button & 1 ListView
         public void addListViewContent(){
              VBox vbox = new VBox();
              contentLayout.getChildren().clear();
              contentLayout.getChildren().add(vbox);
              StackPane.setAlignment(vbox,Pos.CENTER);
              Button btn = new Button("Button1");     
              Button btn2= new Button("Button2");     
              vbox.getChildren().add(btn);
              vbox.getChildren().add(btn2);
              @SuppressWarnings("rawtypes")
              ListView listView = new ListView();
              vbox.getChildren().add(listView);
         //add content with 2 Button & 1 TilePane
         public void addTilePaneContent(){
              VBox vbox = new VBox();
              contentLayout.getChildren().clear();
              contentLayout.getChildren().add(vbox);
              StackPane.setAlignment(vbox,Pos.CENTER);
              Button btn = new Button("Button1");     
              Button btn2= new Button("Button2");     
              vbox.getChildren().add(btn);
              vbox.getChildren().add(btn2);
              TilePane tilePane = new TilePane();
              tilePane.setMaxSize(100,100);
              Label lbl = new Label("Label on TilePane");
              tilePane.getChildren().add(lbl);
              vbox.getChildren().add(tilePane);
         public void start(Stage stage) {
              stage.setResizable(false);
              stage.centerOnScreen();
              Group root = new Group();
              Scene scene = new Scene(root,800,600);     
              stage.setScene(scene);
              //root  Layout =  StackPane
              StackPane rootLayout = new StackPane();
              root.getChildren().add(rootLayout);
              rootLayout.setMinSize(800,600);
              rootLayout.setMaxSize(800,600);
              //content  StackPane
              rootLayout.getChildren().add(contentLayout);
              contentLayout.setMinSize(100, 100);
              contentLayout.setMaxSize(200, 200);
              StackPane.setAlignment(contentLayout,Pos.CENTER);
              //control  VBox
              VBox controlBox = new VBox();
              rootLayout.getChildren().add(controlBox);     
              controlBox.setMaxSize(100, 200);
              StackPane.setAlignment(controlBox,Pos.CENTER_LEFT);
              //3 control  button
              Button btn1 = new Button("Add button");     
              Button btn2= new Button("Add Listview");
              Button btn3= new Button("Add TilePane");
              controlBox.getChildren().add(btn1);
              controlBox.getChildren().add(btn2);
              controlBox.getChildren().add(btn3);
              btn1.setOnMousePressed(new EventHandler<MouseEvent>() {
                   @Override
                   public void handle(MouseEvent arg0) {
                        addContent();     
              btn2.setOnMousePressed(new EventHandler<MouseEvent>() {
                   @Override
                   public void handle(MouseEvent arg0) {
                        addListViewContent();     
              btn3.setOnMousePressed(new EventHandler<MouseEvent>() {
                   @Override
                   public void handle(MouseEvent arg0) {
                        addTilePaneContent();     
              stage.show();
         public static void main(String[] args) {
              Application.launch(args);
    }Edited by: noregister on Oct 4, 2011 11:30 AM
    Edited by: noregister on Oct 4, 2011 11:31 AM

    Oh, my bad. I'm actually using a JToggleButton and not a JButton, so the getRootPane().setDefaultButton() doesn't apply because it only takes JButton as an input param. I wonder why it wasn't implemented to take AbstractButton. hmmm.

  • ListView appearing behind other graphical components in VBox

    I have created a ListView implementation of a ChoiceBox since I have a very long list of items and I don't like the fact that the entire list is displayed when opening the ChoiceBox. I have attached this ListView to a button so that when a user clicks on the button the ListView opens just like a ChoiceBox. My issue, however, is that when the ListView is diplayed it appears behind the other graphical components in my VBox container! I have tried to call "toFront()" on my ListView component however the VBox repositions my ListView component to the bottom of the VBox (which makes sense since toFront merely moves the node to the end of the VBox node list). Obviously this is not the behaviour I want and I don't want to have to convert my VBox to a StackPane (or just a Pane) and layout the components myself since the VBox lays out the components perfectly. It would be nice if there were a "z order" parameter but that doesn't appear to be the case and I have already looked into the "depth" parameter.
    Are there any other ways to bring my ListView to the front without the VBox repositioning this component? How does the ChoiceBox component itself accomplish this? I have also tried to embed the ListView in a PopupControl but the unfortunate side effect of this is that the Popup always appears in front of EVERY window on my screen which is a tad annoying.
    BTW, I think JavaFX is the next best thing to sliced bread! I have written a very large application and this is the only issue that I have run into since it went GA. JavaFX has far exceeded my expectations and the JavaFX team (and Oracle in general) and other developers who have contributed to this project should all be commended for the outstanding work they have done on this!!!

    fermat wrote:
    I have created a ListView implementation of a ChoiceBox since I have a very long list of items and I don't like the fact that the entire list is displayed when opening the ChoiceBox. I have attached this ListView to a button so that when a user clicks on the button the ListView opens just like a ChoiceBox. My issue, however, is that when the ListView is diplayed it appears behind the other graphical components in my VBox container! I have tried to call "toFront()" on my ListView component however the VBox repositions my ListView component to the bottom of the VBox (which makes sense since toFront merely moves the node to the end of the VBox node list). Obviously this is not the behaviour I want and I don't want to have to convert my VBox to a StackPane (or just a Pane) and layout the components myself since the VBox lays out the components perfectly. It would be nice if there were a "z order" parameter but that doesn't appear to be the case and I have already looked into the "depth" parameter.
    Are there any other ways to bring my ListView to the front without the VBox repositioning this component? How does the ChoiceBox component itself accomplish this? I have also tried to embed the ListView in a PopupControl but the unfortunate side effect of this is that the Popup always appears in front of EVERY window on my screen which is a tad annoying.Ya, the PopupControl is the way to go with this. The reason why is that if you use "lightweight" rendering of the drop down (er... popup?) and it extends beyond the end of the window, you will have your list appear clipped. So you have to use a real heavyweight window (the PopupControl) to make sure that if it extends beyond the edge of the window, it displays correctly.
    I believe the UI controls team is planning on adding a proper ComboBox (which, FWIW, we always planned to add) sometime between now and 3.0, but I'm not sure when. The ChoiceBox actually uses a ContextMenu, while ComboBox would use PopupControl, but some of the little details are the same. Here is a code snippet that might be useful from the ChoiceBox skin.
            // When popup is hidden by autohide - the ChoiceBox Showing property needs
            // to be updated. So we listen to when autohide happens. Calling hide()
            // there after causes Showing to be set to false
            popup.setOnAutoHide(new EventHandler<Event>() {
                @Override public void handle(Event event) {
                    ((ChoiceBox)getSkinnable()).hide();
            // fix RT-14469 : When tab shifts ChoiceBox focus to another control,
            // its popup should hide.
            getSkinnable().focusedProperty().addListener(new ChangeListener<Boolean>() {
                @Override public void changed(ObservableValue<? extends Boolean> observable, Boolean oldValue, Boolean newValue) {
                    if (!newValue) {
                        ((ChoiceBox)getSkinnable()).hide();
            // TODO remove this id once bug RT-7542 is fixed.
            popup.setId("choice-box-popup-menu");
    BTW, I think JavaFX is the next best thing to sliced bread! I have written a very large application and this is the only issue that I have run into since it went GA. JavaFX has far exceeded my expectations and the JavaFX team (and Oracle in general) and other developers who have contributed to this project should all be commended for the outstanding work they have done on this!!!Dude, thanks for that, you just made my day :-)

  • Different query behaviour (index or no index use) between sql and pl/sql

    Hi All,
    I have a query inside a cursor in a procedure, let's say:
    cursor c_emp (b_dept_no in number)
    is
    select *
    from emp
    where dept_no = b_dep_no;
    There is an non unique index on dept_no.
    In this procedure i first loop through another cursor which gets the dept_no and with this dept_no i go into a for loop for the c_emp cursor.
    When i run this procedure i see that the explain plan of above query gives me a Full table Scan on EMP, eventhough there is a index on dept_no and there are 1.3 million records in the em table. When i take the above query and explain it seperately, it uses the index on dept_no.
    I have rebuild/analyzed the tables and indexes, nothing seems to work. Even hints in the procedure cursor are not helping at all.
    I'm using Oracle Database 10.2.0.1.0 and have never seen such behaviour before.
    Anyone an idea what is going on here?
    Kind regards,
    Dave

    Hoi Rob,
    it's like i have three tables. The first i have to get data from for my output, then for every record of table one there are one or more records in table 2 and table 3.
    I had to create a xml file and it looks like this:
    <Table1 Record 1>
    <Name>...</Name>
    etc...
    <Table2 Record 1>
    </Table2 Record 1>
    <Table2 Record 2>
    </Table2 Record 2>
    <Table3 Record 1>
    </Table3 Record 1>
    <Table3 Record 2>
    </Table3 Record 2>
    <Table1 Record 2>
    etc.etc.etc.
    So that's why i programmed:
    for r_1 in c_table1 loop
    for r_2 in c_table2(r_1.dept_no) loop
    end loop;
    for r_3 in c_table3(r_1.dept_no) loop
    end loop;
    end loop;
    And when i look at the first record,
    it has 2 records in table2 en 16 records in table3. So nothing huge.
    For now i'm unable to trace the session. I will try to post the tkprof later.
    Kind regards,
    Dave

  • Has there been updates to transcription support in a PS 4 Windows Update? Behaviour has changed...

    I utilise PowerShell transcription support heavily in my PS scripts. Essentially I utilise transcription as a replacement to having a logging framework - all logging is performed via Write-Host, Write-Verbose and Write-Debug calls, and then logged to file
    via a call to Start-Transcript at the start of script execution.
    Transcription support in PS versions prior to 5 is limited in that it is hard coded in the Start-Transcript and Stop-Transcript commands to throw an exception if the host is not an instance of Microsoft.PowerShell.ConsoleHost. Also, to make it even more difficult,
    Stop-Transcript throws an error when there is no active transcript; but there is no way to detect if there is. Therefore, I use reflection to get the ConsoleHost.IsTranscribing internal property value to determine whether to call Stop-Transcript at script
    completion. This logic has worked fine for PS versions 2, 3 and 4. However, more recently I believe a Windows Update patch has changed the way the transcription works. It appears that PS 4 now supports transcription functionality that I thought was PS 5 (CTP)
    specific - nested transcription sessions (i.e. you can now continually call Start-Transcript and it will create more sessions, rather than throw an error when there is an active session).  Also, the internals of how transcription is managed must have
    changed because the IsTranscribing property no longer returns the correct value. I am unsure if there is now a "supported" way of checking for this rather than hacking into the internals of the host. This change results in my script creating multiple
    transcription sessions as it does not know there is already transcription started.
    Does anyone know if there has been any updates in PS 4 for the transcription functionality? Or any other details regarding this?
    Cheers

    Hi Anna,
    Thanks for the response. Can you make sense of the info below? Transcription appears completely broken
    on the build on my machine, which I have not installed any PS CTP on. I am worried a hotfix such as KB3000850 which has also caused me the grief here:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/eaa4a532-5ff5-4a2f-89ce-7e72c71a8fb7/powershell-30-stuck-in-infinite-loop-resolving-members-internally-is-this-a-ps-bug?forum=winserverpowershell
    https://connect.microsoft.com/PowerShell/feedback/details/1045858/add-member-cmdlet-invokes-scriptproperty-members-when-adding-new-member
    ...has been installed via Windows Update. I am running Windows 8.1 and all latest updates applied as at 23 April.
    My $PSVersionTable is the same as yours except for "BuildVersion" 6.3.9600.17400. I can also call Start-Transcript continually and it will keep creating sessions. Once I do this all sessions receive data once I
    enter more commands in the console (i.e. each file is getting the same data). This is the behaviour I would have expected in PS 5 with the transcription updates, but not in a PS 4 update.
    NOTE: In addition to this, the data being fed into the transcription file is NOT the same format as the standard transcription format. The transcription file contains different data and
    is not a true reflection of what is on the console). The following data is being output to the transcription file after each command:
    CurrentMatchIndex              ReplacementIndex             ReplacementLength CompletionMatches
                               -1                            
    0                             8 {System.Management.Automat...
    In addition to that (I haven't had a chance to look into this in detail), but the log files that are being generated by the PS module I have written are now containing a heap of contents that appear to be generated each time an exception
    is thrown (even if it has been caught?)
    "PS>TerminatingError(Invoke-Expression): xxxxxxx" and
    "PS>TerminatingError(): "The pipeline has been stopped.""
    messages, but no host, verbose, or debug data (i.e. terminating error details only, which I have never seen in the transcript file before). That's correct -
    the transcription file doesn't contain any of the data it used to, just error info that did not used to be in there!!
    Please assist urgently, this is a critical issue for me.

  • APEX Application behaviour in a RAC setup

    Hi
    Caveat first: I'm pretty new to Oracle RAC and just looking into it as an option. We have an APEX application currently running in Oracle 11gR2 single node currently and are considering HA for this.
    My question is: What would be the expected behaviour seen by a User of an APEX application, in the event of a node failure, when running with an OHS / RAC configuration? Will they get "transparent fail-over" and see nothing or will they see an error?
    I appreciate I could post in the APEX forum, but feel that is probably more of a development forum and possibly someone here has had to look at things at this level.
    I have read what I think may be the definitive reference for this:
    http://www.oracle.com/technetwork/developer-tools/apex/learnmore/apex-rac-wp-133532.pdf
    but while it covers most of what I want I don't believe I have found an answer to my question
    This states:
    "The Transparent Application Failover (TAF) feature of Oracle Net Services is a runtime failover for high-availability environments. It enables client applications to automatically reconnect to the database if the connection fails and, optionally, resume a SELECT statement that was in progress. The reconnection happens automatically from within the Oracle Call Interface (OCI) library. For applications that do insert, update or delete transactions, the application must trap the error when the failure occurs, rollback the transaction, and then resubmit. If the application is not written to be TAF aware, the session will get disconnected."
    However (as I understand it) APEX runs in the database and would fail with the database, it isn't a typical "client application" connecting to Oracle via a TAF aware connection pool - it is essentially a large pl/sql package and TAF only covers SELECT statements not packages.
    May be I'm over-reading this and it's simpler than that: APEX/Mod_plsql might just handle it?
    - APEX User/HTTP session state is stored in database APEX: Understanding session state which is available on other nodes
    - Mod_plsql in OHS can detect the error returning and reissues the request to good server and APEX on that instance can retrieve Users/HTTP state and process the request (APEX/RAC doc states mod_plsql can see an error from database and cleanup connection up and form a new connection, but not that it will retry the request for the client into other APEX/DB node).
    I'm really just after a (transparent/non-transparent) statement based on experience, but an outline of how the components behave would be useful.
    Thanks in advance
    Dave

    Hi
    Any chance of getting that link outside of Metalink? - I'm trying to get our customer support id, but no luck at present.
    I'm aware that APEX can run with RAC (as per the link I posted) - I'm really after next level info around behaviour in that environment.
    Thanks
    Dave

  • HT4864 When trying to update my Mail Account Mailbox Behaviours settings, when I try to close the settings pane the following messages occur: Invalid Incoming Mail Server The "Incoming Mail Server" field cannot be empty. The incoming mail server box has p

    When trying to update my Mail Account Mailbox Behaviours settings, after making the changes when I try to close the settings pane the following messages occur: Invalid Incoming Mail Server The “Incoming Mail Server” field cannot be empty. The incoming mail server box has in light grey colour: p02-imap.mail.me.com in it and I cannot edit its content. Any ideas what is going on and how to fix it?

    Hi all,
    Mattreichenbach is probably on the right track here with a reset of settings.  I think I've determined the issue has to do with cached account information and inconsistencies for the account name.  This seems to crop up when I've changed my password and it hasn't propagated fully to all the servers, devices, certificates, etc.
    Hopefully many here are on their way to restoration of service by now but it's clear that a lot of people are having the same issues.  Very frustrating and definitely something Apple needs to resolve:  incoming mail server field grayed out, incorrect autopopulation of different fields, other unanticipated behaviors.  If you're still having issues, though, here's what worked for me...
    First, head to the iCloud preferences pane in System Configuration and choose "Sign Out".  When I did this it prompted me with a number of "are you sure" type questions about retaining information on my local machine.  I chose to delete/remove the info each time simply because it should all be restored by the cloud and I didn't want to risk a massive duplication of my data... I will say, I'm back up and running with no issues so I suspect you can make the same delete/remove choices...  But use your own judgment.  I don't want you to lose any data (ie.. please use care as you do this because I cannot bear the thought of causing anyone to experience the pain of data loss).
    Once you've signed out of iCloud, restart your system.  When you get back in, head to the Mail, Contacts and Calendars section of your System Preferences and add your account back by choosing the brushed aluminum "iCloud" button.  When it asks for your account name, use your @iCloud.com email address.  I am all but certain my issue had started because one of my devices (iPhone or whatever) had been set up with an email alias specified instead of my @iCloud.com address.
    Apple, if you're reading through any of these issues (there are TONS of users having this same problem).  Take note, that your icloud service somewhat frequently is not responding and yet tells the user that the password is wrong and this prompts people to be changing their passwords unnecessarily.  This has happened to me on numerous occasions.  Also, I noticed that last week's outage corresponded to a VERY similar outage exactly one year ago to the day.  Sounds like planned maintenance to me and I think you could do a better job notifying folks so we're not wasting HUGE amounts of time troubleshooting a problem that we have no hope of fixing.
    Hope that helps some of you!
    Terry Mullane
    Washington, DC

  • Behaviour of Microsoft Transporter Suite (Notes migration to Exchange 2007)

    Dear Sir, 
         I have a question about configuraiton of Microsoft transporter, not sure whether it is a behaviour or it can be fixed.
    Question 1:
    Lotus Notes 7.04 --> Exchange 2007
    Microsft Transport: Scheduler set to every 15 min.
    Q1. Does it mean that Notes sync to AD User account setting only in every 15 min only ?
    Q2. It seems that it will not sync Notes email mailbox message with Exchange mailbox until manual press
        'Migrate selected mailbox', may I confirm that is it a design behaviour.
    Q3. After created free/busy connector (Every 60 minutes of sync), it seems that it will not sync
          user calendar until manual pressed 'Synchronize Now'.
    Q4. Can Mirocosft transport suit support workstation NSF file to PST file ?
    Q5. In notes environment, ACL will be used to configure boss/secretary condition which allow send as permission.
        Does it mean that all permission will be reconfigured manually? Or any Microsoft tools to work on it.
    Regards,
    Joe

    Hello Joe,
    I checked with a specialist regarding your questions and here are the responses.
    I hope this helps!
    Q1. Does it mean that Notes sync to AD User account setting only in every 15 min only ?
    If this is referring to Direcctory Synchoronization, then yes, it will synch any updates every 15 minutes. However, there is no reason to do a dirsync that often.
    Q2. It seems that it will not sync Notes email mailbox message with Exchange mailbox until manual press
        'Migrate selected mailbox', may I confirm that is it a design behaviour.
    This one seems to refer to migration. If you are wanting to migrate the mailboxes and email, you would have to manually migrate each user. In other words, this is not an automated process. So yes, this is by design
    Q3. After created free/busy connector (Every 60 minutes of sync), it seems that it will not sync
     user calendar until manual pressed 'Synchronize Now'.
    A dirsync will have to be run after the Free/Busy Connector is created. However, it should only have to be run once. After that, when a user requests new calendar information, it will pull information for that user
    Q4. Can Mirocosft transport suite support workstation NSF file to PST file ?
    Yes, you will have to use the EMS to do this. It's not possible via the GUI.
    Q5. In notes environment, ACL will be used to configure boss/secretary condition which allow send as permission.
        Does it mean that all permission will be reconfigured manually? Or any Microsoft tools to work on it.
    There is not an automated way of doing this.
    Kevin Ca - MSFT

  • APEX Listener and EPG - strange behaviour

    Hi
    For some years, I've used EPG for APEX but have struggled with performance particularly as I can have up to 150 student developers using at any one time.
    I do a fair amount of work using ORDImage and have successfully developed APEX applications to upload image files and display full-size and thumbnail images.
    After upgrading to APEX 4.1 (from 4.0), I decided to install APEX Listener standalone.
    Before I did so I checked that my applications still worked in 4.1 and they did.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.
    Configuring APEX Listener and running the same application through that DOES display the images.
    So this part of the application works under APEX Listener but not under EPG.
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank page with a wwv_flow.accept URL although the image does indeed upload. Under EPG it works as expected and I get a success confirmation.
    So this part of the application works under EPG but not under APEX Listener.
    Has anyone else come across different behaviour depending on the mode of connection?
    Thanks
    Brian
    [Oracle EE 11gR2, Windows Server 2008R2, APEX 4.1, APEX Listener 1.1.3]

    Hi Brian,
    it sounds like you have both EPG and APEX Listener running on the same machine, so your problem might result from a port conflict. Note that both services use TCP port 8080 as default.
    At least a port conflict would explain the strange behaviour in your case, some things working on one web server and some on the other.
    Some parts of your initial post hint to that direction, e.g.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on >wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.... because the APEX Listener only interfere with the EPG if it is at least running on the same machine as your database and furthermore, if it is unconfigured in terms of ist database connection, a port conflict might be the only way it could cause anything like that.
    However, if you are sure that's not the issue, please check if you see any error in the APEX Listener's log for the following action you performed:
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank >page with a wwv_flow.accept URL although the image does indeed uploadIf you actually see just a blank screen, something very bad must have happened and you should see some kind of stack trace there.
    For further investigations, if necessary, it would be helpful to know how you deployed or started your APEX Listener and which JDK version you use.
    For the moment, I still think the port conflict is my best guess.
    You could avoid it by either changing the port for EPG (I'd not recommend that if you have other users still using it) or by changing the port for your APEX Listener.
    -Udo

Maybe you are looking for