Window not refreshing after lock/unlock screen.

I've noticed an issue where if I lock the screen (windows key + L) before the visible property of some component is changed, then unlock the screen, the component visibility is not updated until I mouse over the JavaFX application window.
I'm including some sample code to demonstrate the problem. To use:
1. Run.
2. Click the button.
3. Lock the screen.
4. Wait 15 seconds.
5. Unlock the screen, but do not touch the mouse.
6. Verify that the progress indicator animation is still visible, but is not animated.
7. Mouse over the application window.
8. Verify that the progress indicator disappears.
In addition, if steps 3-7 are not executed, the behavior is as I would expect... The progress indicator disappears 15 seconds after the button is clicked.
Does anyone have any ideas on a workaround that would force a UI update when the screen is unlocked?
I'm using the version of JavaFX packaged with Java 1.7.0_09
* App javadoc goes here..
public class App extends Application
     * @param args
    public static void main( String[] args )
        Application.launch(args);
    @Override
    public void start(Stage stage) throws Exception {
        VBox root = new VBox();
        final ProgressIndicator pi = new ProgressIndicator();
        pi.setMaxSize(300d, 300d);
        pi.setStyle("-fx-progress-color: dodgerblue;");
        Button button = new Button("Hide after 15 seconds...");
        button.setOnAction(new EventHandler<ActionEvent>() {
            @Override
            public void handle(ActionEvent arg0) {
                pi.setVisible(true);
                Thread t = new Thread(new Runnable() {
                    @Override
                    public void run() {
                        try {
                            Thread.sleep(15000);
                        } catch (InterruptedException e) {
                            // TODO Auto-generated catch block
                            e.printStackTrace();
                        } finally {
                            Platform.runLater(new Runnable() {
                                @Override
                                public void run() {
                                    pi.setVisible(false);
                t.start();
        root.getChildren().addAll(pi, button);
        Scene scene = new Scene(root);
        stage.setTitle("Lock/Unlock Windows Issue");
        stage.setScene(scene);
        stage.show();
}

The Java8 and see if it has been fixed:
http://jdk8.java.net/download.html
If not, check the JavaFX issue tracker for a duplicate (it's probably already logged there), if not, then log an issue against the runtime project:
http://javafx-jira.kenai.com

Similar Messages

  • Screen not refreshing after sleep mode

    Hello All,
         I have had a problem since 10.7.XX where my screen does not refresh after the computer goes into screen saver mode and then into sleep mode. When I move my mouse to resume i get a line drawn where I move my mouse and it reveals the login screen slowly. I can click on a login account and a small section of the screen refreshes where the login password is. Once I login it goes away. Was hoping Mountail Lion would address, but the problem continues from Snow Leopard. I am on a Imac 24" 2009 3.06Ghz dual core with 4 Gig of Ram, Nvidia GeForce 8800 GS 512mb. Thanks in advance for any advice.
    Chad

    Hello,
    See if it's related to this...
    It also seems to be related to later OSX versions, like 10.8.x & 10.9.x
    The 2012 macs (and later apparently) (also later OSX versions on earlier Macs can do it also), not waking normally from sleep after hours being in sleep. (noted here ...
    http://www.xlr8yourmac.com/archives/feb13/022813.html#2012macswontwake
    "Why 2012 iMac/2012 Mac Mini won't Wake After Hours of Sleep (Hibernates/Powers Off)")
    The sleepimage file still reappears even if never slept. Delete it (hibernate off, etc) - within minutes its back.
    A note on that here - http://www.xlr8yourmac.com/feedback/Chameleon_SSD_Optimizer.html
    About iMac sleep...
    http://forums.macrumors.com/showthread.php?t=1529750
    Try this: "sudo pmset autopoweroff 0" and "sudo pmset standby 0"
    http://xlr8yourmac.com/archives/sep13/091313.html#10.8.5SleepEjectTip

  • Management Studio 2008 does not refresh after table create / alter

    hello
    Management Studio 2008 does not refresh after table create / alter, why?
    f5 / refresh button does not work in "Object Explorer".... i always need the restart the whole application to see any changes, this is strange...
    regards, jan

    Hi jm,
    I’m writing to follow up with you on this post. Was the problem resolved after performing Vishal ‘s steps? If you are satisfied with our solution, I’d like to mark this issue as "Answered". Please also feel free to unmark the issue, with any new findings
    or concerns you may have.
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Manual rebate condition exclusion not refreshed after redetermination of it

    Hi Experts.
    I am working with CRM 4.0.
    Lately, we realized there is an error occurring in the price deternination:
    The condition exclusion for manual rebate condition is not refreshed after redetermination of the product. There is missing a price validation before saving the document with the new product.
    Step-to-step description of the error:
    1)     I am creating an order in trx. CIC0 or CRMD_BUS2000115 and determine the product (sector A).
    2)     Now I assign a manual rebate (condition Z...) of 20 % on item level.
    3)     On header level I replace the product to one of another sector (B).
    4)     I check the pricing conditions of the new product on item level. The same rebate of 20 % is maintained.
    This is an error, because the condition exclusion for products of sector B allows rebates only until 5 %.
    Can anybody help me, please.
    Best regards,
    Cristina

    This is not standard due to information of SAP OSS.

  • Password does not work after Lock windows 8

    Hi Experts,
    I have windows 8 Pro on my Laptop. I have started facing a weird issue if late.
    When I login to the laptop after restart of PC, it connects fine but when I am connected to my domain in my office network, after locking screen (Windows+L) the system does not accept the password. I have to disable the Wi-Fi and then it logs in and
    when I enable Wi-Fi I am in the network and continue to work. here are answers to some basic questions I am sure will be asked.
    - I am entering the correct password.
    - When I am connected to domain I get this problem. At home, it works fine and accepts password after unlocking system. But as soon as I connect to VPN, same problem.
    - I have tried connecting via LAN cable and face the same issue.
    - problem is not with my account, only with my desktop, I can connect from other desktops and other folks using my laptop face the same problem.
    - Our IT guy here has given me a workaround to disable wifi everytime I have to relogin after locking screen. It works but it is not a very good workaround. disabling enabling wifi disconnects all my applications.
    Have asked me to reimage the laptop. I have not given it a thought but I am getting more and more frustrated.
    - I have tried deleting my profile and same problem, i don't think my profile may be a problem though as other folks using my laptop face the same problem.
    Just when i started getting comfortable with Windows 8, i am stuck with this nightmare.
    looking forward for some suggestions.
    Yogi

    Hi,
    I'm a bit confused with your description. Is your account was domain account when encountering this problem?
    When did this problem occures, if it just occures recently, it would be better to use system restore to reset your system to a former normal state.
    Roger Lu
    TechNet Community Support

  • Windows 8.1 refresh error "Drive where windows is installed is locked, Unlock the drive and try again"

    Hi all,           My model is Sony Vaio SVF15213SNB. I had upgraded to windows 8.1 about a year ago from windows 8 using windows store. Recently i had issues with my Vaio and want to refresh back to windows 8. But when i tried to refresh using Assist key on my vaio, i get an error " driver where windows is installed is locked, please unlock the drive and try again" and i am unable to refresh. Is there any way i could refresh my Vaio? Sincerely, Nilesh Wagh

    Hi NileshWagh,
    Welcome to sony Community!
    Here is the link on how to properly go back to factory setting. Please read and follow the steps carefully.
    For further assistance regarding your concern, please contact the Sony offices/Sony representative offices nearest to your place of residence in Asia Pacific region http://www.sony-asia.com/countryselector.html?hpid=countryselector:AsiaPacific. Due to proximity, they are in a better position to respond to your questions or concerns.
    Regards,
    Jen
    If my post answers your question, please mark it as "Accept as Solution"

  • Problems after upgrading to 4.2. Not able to lock the screen.

    I updated the software of my IPad to 4.2 yesterday and I can now not lock the screen, so it does not turn when moving the ipad. The button that I used to lock the screen now turns the audio off/on.
    Has anyone experience this problem and does anyone know how to solve it?
    Many thanks,
    Myra

    4.2.1 is designed to operate that way.
    The hardware switch does not turn the audio off/on. Rather, it turns the alerts (from email, etc.) on/off so that you can listen to music or movie sound without the annoying alerts.
    If you need to lock the orientation, tap the Home button twice. When the "Recent" tray appears slide it to the right. A software switch is at the extreme left.

  • My iPad will only use the speaker for movies, music, and YouTube, but not for games, locking/unlocking the screen, keyboard clicks, or anything else. What can I do to fix that?

    I have reset all the settings, and there is no change. Please help!

    If you lose sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • WebI report not refreshed after BW pwd change - SAP EP-KM asPoint of entry

    Config:
    BOXI3.1 SP3 FP3
    INTG. KIT SP3 FP3
    BW 7.01 SP5
    SAP EP 6.0
    Imported all transports
    Configured BW Publisher
    Configured SAP Authentication in CMC
    Imported required roles in CMC
    Imported KM Par file in Portal
    Issue:
    Users logon to EP with SAP BW credentials and clicks on a webi report within KM with Infoview structure -> report is executed and can be refreshed successfully.
    User forgets his pwd and the security team reset his pwd
    User logon to SAP EP with reset initial pwd and gets a prompt to enter new pwd -> new pwd chosen and logon successful -> clicks on a report within KM with Infoview structure -> report pops up but can not be refreshed as an error msg below pops up
    A database error occured.
    The database error text is: Unable to connect to SAP BW server Name or password is incorrect (repeat logon). (WIS 10901)
    Temporary solution:
    Logon to Infoview directly and login with SAP account -> report executed and refreshed successfully -> Logout
    Then go back to EP to execute report and since then works fine but issue occurs again if pwd is changed and logon to Infoview directly process have to be done to move on.
    Has anybody had these issues or have an idea what config might be missing?
    Please note that SNC was not configured as we are not using AD for logon or report bursting for now. All docs read have specified that SNC is not required for my scenario.
    Also certificates have been established btw BW and EP and SSO works well with BEX queries deployed thru EP.
    Any ideas will be appreciated.
    Thanks,
    Norita

    More info -
    If I clear the error msg and continue to click on refresh values in prompt screen multiple times then the bw account gets locked in SAP BW backend.
    Please note that the universe was created to use SSO authentication and no user credentials hardcoded.
    FQDN are also used for all the configs.
    Has anybody encountered these issues before? Please let me know if you have any ideas or pointers.
    Thanks,
    Norita

  • Character Styles Panel not refreshing after adding character styles

    Hello,
    Anyone know how to get Illustrator's Character Styles panel to refresh after programatically adding new styles by calling CreateCharStyle()?
    Currently, the user must save the document and reopen it in order for Illustrator to refresh the character style list within the UI.  This is obviously not ideal.
    You may replicate this issue in the sample code by executing the SnippetRunner Text Styles snippet and then executing the CreateCharacterStyle snippet.  This sample code also successfully adds a new character style but fails to update the Character Styles panel within the UI.
    One side note: The AIATECurrentTextFeaturesSuite has an Invalidate() method.  I tried adding this call but it doesn't seem to have any impact.
    Any help would be greatly appreciated.
    Thanks,
    Peter

    I'm seeing success with the Notification call in CS4 too; thanks. But not in CS5 (Windows). I still need to save the document to refresh the panel. And (in fact, probably due to this fact), while the new Style has appeared, none of the features (such as font size, leading) that I have added using NewCharStyle.SetFeatures(features) show up. Any clues? The code (basically copied from the SnipperRunner project) is identical between CS4 and CS5; I'm just building against the different SDKs.
    DF

  • Workbook not refresh after running Planning Function (BI-IP)

    Hi! Folks,
         I have a problem with the Bex Analyser which not refresh the data after running Planning Function.
    Step 1: Run Planning Function (There are some changes in records)
    Step 2: I have to Run Process Variables again and input the same selection in the pop-up variables
    Step 3: The changed records will be shown...
    Can I have some coding in the Layouts of Bex Analyzer to refresh the data after running Planning Function?
    Brgds,
    Supasake

    Hi,
    I had a similar problem that the resuls of my planning function were not automatically shown. Only if I did "something else" like saving or running another function the results were displayed.
    I think I solved it by upgrading my SAP GUI6.4 with patch 14. the results of planning functions should be automatically displayed.
    D

  • Master-Detail Detail does not refresh after it's been empty

    I have a master detail page (both are tables) that works just fine, until I click a master record that has no details.
    After that the panelHeader of teh detail is refreshed with the PPT but the table underneath it is not, I keep seeing "no rows yet", no matter which master record I click.
    When I go to a different page and return it's fine again.
    Only one of my pages has this behavior, I tested this on another and it was fine. Has anyone seen this behavior before?
    My console has this message:
    May 11, 2007 10:52:38 AM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    Message was edited by:
    Wendy Tromp

    Ok I found it,
    My details iterator had the following properties:
    <iterator id="AfdelingMedewerkersIterator" RangeSize="-1"
    Binds="AfdelingMedewerkers"
    DataControl="PRBAppModuleDataControl"
    Refresh="IfNeeded" RefreshCondition="#{!adfFacesContext.postback}" />
    I have no idea why I set it like that, but removing the Refresh properties fixed my problem.
    I am still clueless as of why this led to the behavior as described above. I could have understood it if my iterator was not refreshed at all, but I have no idea why it stopped working only after the details were empty and not a second before...
    Anyway, problem solved!

  • Table does not refresh after database level action

    We have defined an Advanced table on a VO to represent invoice lines. The VO is referenced by a VL from the invoice header.
    At one point during our process, a database level package is executed on the current lines. We have a "Requery" button to refresh the lines, however, the lines do not refresh unless we exit the invoice entirely and come back to it via the VL.
    How can we refresh the lines on a current table after a database level transaction occurs?
    Thanks, Jerry.
    Our AM code is as follows...
    // handleRefreshInvoiceLines( )
    public void handleRefreshInvoiceLines()
    OAViewObject vo = (OAViewObject)getInvoiceLinesVO1( );
    if( !vo.isPreparedForExecution( ) )
    getTransaction( ).validate();
    vo.executeQuery( );
    clearVOCaches( "InvoiceLinesEO", true ); // troubleshooting
    } // handleRefreshInvoiceLines()

    Thank you. I've moved clearCache around a bit. apparently vo.isPreparedForExecution() is false. I wonder why?
    --Jerry.                                                                                                                                                                                                                                                   

  • Attribute binding value not refreshed after transaction rollback

    Hi,
    Using ADF Faces/Trinidad + ADF Data Bindings + ADF Business Components.
    I was experimenting with task flows vs transaction control vs form validation and met the following problem.
    First, here's a little intro to my application design. A page template defines the layout. There's only one page in the application using a dynamic region to show a dynamic task flow. The template defines a menu containing navigation items; each item action changes the current dynamic task flow id.
    One of the flow starts with a data bound table listing users. Each row has an edit button to navigate to an edit form. The edit form is in a separate task flow as I want the automatic rollback triggered when a flow is abandoned.
    The problem occurs when I quit the form clicking a menu item AFTER a validation error occurred. Transaction is rollbacked as expected, however when I go back to the form (whatever row I choose), the invalid value that failed the previous validation is shown.
    It seems the attribute binding is not refreshed. To validate this hypothesis, I added a button that explicitly calls refreshControl on the attribute binding as shown below. When the button is clicked, the form shows the correct value.
        // In a managed bean
        public void refreshFirstName(ActionEvent evt)
            getBindingContainer().findCtrlBinding("FirstName").refreshControl();
        }I working on a possible workaround, but I've not succeeded yet. I'm looking into using the finalizer of the task flow (or possibly the initializer) to force a refresh of the control bindings.
    Any ideas?
    Thanx!
    Olivier

    Hi,
    I am experiencing similar strange behaviour, it sounds like it could be related, i am not using task flows though.
    I have a read only table, and when a user double-clicks on a row an af:popup is displayed which displays an edit form (contentDelivery is set to "lazyUncached" in the popup). Pressing the cancel button on the edit form executes a rollback and hides the popup. However, after this has occurred, whenever another row (or the same row) is selected in the read only table, the edit form will display data from the old record that was rolled back. I've noticed that the old data is only displayed in editable fields, while the correct data is displayed in read-only fields. I'm pretty sure the rollback works properly, and the iterator is on the correct row, just it is displaying incorrect data in the editable text fields. I've tried implementing cancel functionality with both a rollback action and refreshing the row using REFRESH_WITH_DB_FORGET_CHANGES, but the same issue exists regardless of which method is used. I've also noticed that the application starts behaving correctly again if the commit button is pressed.
    Has anyone come up with a workaround for this issue?
    By the way, is there any way we can keep track of the bug numbers that are mentioned in this forum?
    Thanks,
    Michael.

  • NWDS WebDynpro views are not refreshing after changes in layout...

    Hello experts..
    I'm using NWDS 7.0.13 and every time I'm modifiying a webdynpro view in layout mode the view does not refresh, instead I get this message:
    This program cannot display the webpage
    Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
    What you can try:
    Check your Internet connection. Try visiting another website to make sure you are connected.
    Retype the address.
    Go back to the previous page.
    More information
    In order to display the changes I have made, I have to close the WD View and re open it, the funny thing is my other team mates can change their views and see their changes inmediately without closing/opening the view.. hope anybody can help me out on this one..
    Thanx in advance..
    JV

    Hi Armin, thanx for your answer and effectively I have installed IE7, I read other posts and after reading the "solutions" I rather close and open my WD views insted of removing security patches of IE.. I guess I'll have to wait until SAP fixes this and meanwhile I'll work the way I just mentioned.
    I'll let this question unanswered until this fix comes out.
    Cheerio !
    JV

Maybe you are looking for