Unable to Move or Resize window after XGrabKeyboard

When gaining focus is detected in java, a call to XGrabKeyboard is made through JNI.
When losing focus, a call to XUngrabKeyboard is used.
Intermittently after the call to xGrabKeyboard the Java window is not able to be moved or resized.
When hovering over the window titlebar the cursor appears as a single arrow cursor instead of the normal 4 arrow (N,E,S,W) cursor.
After losing and gaining focus a few times, the cursor will eventually return to normal and the window can be moved or resized.
When commenting out the call to XGrabKeyboard the issue does not occur.
Has anyone else experienced this and if so, found a solution?

Probably a timing issue. You're doing basic X Windows calls outside of what the JVM's X Windows handling is aware of.

Similar Messages

  • Iphone 5s - IBM  Notes Traveler 9.01  -Unable to move messages to trash after a few hours

    I have a problem with one of my Iphone 5s users.  Everything was working with his IPhone 4S, but the phone died and so they replaced it with a 5S
    We are using an IBM Lotus Notes 9.01 Server  (latest FP patch) and Traveler 9.01 FP4 with the iphone 5 s.
    On his Iphone 5S  we install  Notes Traveler...  Everything works on it, but after a few hours  we not able  to delete messages on the IPhone.  When he clicks Delete on a message  on his Iphone,  it comes back saying it is "Unable to Move the message" 
    If I remove Traveler and reinstall it, he can delete the messages for  a few minutes or even  a few hours, but then it comes back and says it cannot move the  messages when we try to delete the email on the Iphone 5S.   The Iphone had   7.1.1 OS...  I updated it to latest Apple 7.1.2 OS on it..  Same problem.   We also have an AOL account on the Iphone ....that works fine...      All other Traveler users on Iphones  4S or 5S users are working Fine...  
    I had IBM look at it.  They did some testing and the  email deletions only appeared on the logs when   it synchronized to Traveler, but when the problem occurs...  it never did show anything in the Notes logs, about the Delete request.   They are saying it is an Apple problem.
    I even reset his IPhone 5 S to factory defaults and re-setup Notes Traveler and after a few minutes or a few hours... When he deletes a email he gets the  Cannot move the messages again.   I opened a bug report with Apple by never heard back from them.  All other functions of the email work..   He can send and receive emails...  He just cannot delete after a few hours.  I ran checks on he email database and everything comes up OK...

    That's odd.  You will probably have to contact Apple support on this one.  I'm not sure if their is a problem with your account or a server glitch at their end but in either case, they will probably have to look into it for you.  You can reach them here: http://www.apple.com/support/icloud/contact/.

  • I'm unable to move or resize an image within a layer

    If I copy and paste an image into a new layer then I'm unable to drag and drop it, nor resize it.
    When I paste it then it gets pasted into the middle of the layer, if I select it and try and move it around it 90%  snaps back to the center. 
    Snap-to guides and snap-to grid are both disabled.
    This is something I've always been able to do in the past, for some reason its stopped working. What's going on?
    Thanks

    Sounds like this thread from yesterday involving some difference between Flash 11.3 and earlier versions of the Flash player plugin: [https://support.mozilla.org/en-US/questions/929842 Since update last week, unable to resize popup windows]. Does that help?

  • Unable to move Firefox 29 window in Windows 7

    I can resize just fine, but moving the Firefox window does not work.

    The problem with not being able to move (reposition) your Firefox window might lie it the Theme you have chosen. Try going back to the Appearance tab under Add-Ons and switch back to the "Default" theme and the problem goes away. There are some very nice themes out there but some of them will not allow the Window to move.

  • Safari 8 resizes window after reboot

    Everytime I reboot my MBPr late 2013 since installing Yosemite, my Safari window (but not Google Chrome) resizes to be shorter and more narrow.  I drag the bottom right corner right and down to make it larger and then use my computer.  After I restart, bang.  Resized itself again.  All other windows in other apps (MS Office, Chrome, Messages, Disk Utility, finder windows) return exactly as sized before the reboot... except Safari.  Other people having this problem and any fix?

    This problem has become worse, in the last few days. With 2 specific websites; hmv.ca, and youtube, after viewing I quit Safari, if I go back on it goes to the same web page as if Safari had crashed. Furthermore, if i do not go back, my iPhone shows the web page is open on Safari, even though I have quit it. If I still do nothing an hour later the iMac restarts, saying there was a kernel panic.
    Is this a problem with the website or Safari, and how do I fix it?

  • Unable to move the Itunes8 window. Silly !

    Don't ask me why... I don't know.
    The fact is that i can't move the Itunes 8 window on my desktop anymore... Everything works fine (Genius and so on), but the window is stuck in the middle of my desktop. Did I miss something
    Thank's for our help.

    From MacFixIt
    The iTunes window seems stuck in place Several users have had an issue where the iTunes window is frozen in place. The program seems to function perfectly in every respect, except users cannot drag or resize the window. This problem has been associated with an incompatible "Accubeat" plugin that had been installed for iTunes 7. Apparently this plug-in is not yet compatible with iTunes 8, and should be removed for users who have updated. It is recommended that users remove any third-party plugins if they are experiencing faulty application behavior upon updating. If problems still occur then users should remove the iTunes preferences file (called com.apple.iTunes.plist and is located in /username/Library/Preferences/.

  • PerformancePoint right click action opens in un-resizable window after migration.

    Greets all,
    We've recently upgraded a client's SharePoint 2010 farm to 2013 including a number of PerformancePoint dashboards. Most of these dashboards include Analytics charts with Right-click actions that open Reporting Services Reports.
    Since the migration, these windows now open in a 600 * 600 window, with no toolbars and no ability to resize in IE. Firefox and Chrome work fine.
    We've traced the problem to the PPSMA.NewWindow.openUrl() method that is supplied in the dashboardframework.js as part of PerformancePoint. This method calls window.open(URL,name,options) but doesn't specify the resizable=yes option. This is a completely
    different method tot hat used by the SP2010 version of PPS as far as we can see.
    My current workaround is to currently try and overide this function be redefining it on the page but with the option. I'd be greatful if anyone else has come across this and solved it another way? (Or if it's a bug in PPS that MS have fixed with an update,
    but I can't find any info..)
    Many thanks
    Paul.
    PS.. The client environment is using IE9, so I haven't been able to test this in 10 or 11.
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

    Hi Cimares,
    We are currently looking into this issue and will give you an update as soon as possible.
    Thank you for your understanding and support.
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • HT1399 i updated the lastest version now i am unable to move songs around and after it is does playing one song it doesnt go to the next song automatically like it did before. can anyone help?

    hello

    AND yea i afraid to sync my iphone and lose everything ;( i had everything perfect sync ing perfect ical,contacts,mail,apps and now sence new library I dont wana lose everything.....my hole life runs on my fone i need help bad

  • SAP Script  - resize window / paragraph

    Hello Gurus,
    I have two problems related to sap script. ( ver 4.6c)
    I have copied the original order confirmation form from 000 client in diff.languages like FR/DE/EN ( these forms are used by diff. offices in diff. location ) now we have to create a form for our china office location so I copied an existing form ( FR language) to language ZH.
    a. I cannot resize or move the window of the form ZH, to do this I have to convert the original laguage to ZH ( original language of the form is FR) , to change the original language I have to edit the FR language form and use the utilities->convert org.lang option , my question is if I do this process what will happen to our FR language settings users? or is there anyother way to do this ( move or resize window ) without disturbing other forms.
    b. I am using two paragraph settings for printing the item line in the order form, ex. ZZ and IS , if I use IS the item line appears but for ZZ there is no item lines printed on the form. ( blank ) What could be the problem for using ZZ Par.format.
    Any help is appreciated.
    Thanks and best regards,
    A drop in an Ocean

    Try to identify the original language of the SAPscript.
    EX: GOTO SE71, give your form name and language ZH. select radio button Header and click change.
    under adminstrative data, identify the original language. EX: if original language is DE
    GO back to SE71, now give your form name and key in language as DE. Modify all windows here.. i.e. re-size etc., it will automatically gets changed in your ZH language. Also you can create new paragraph formats or change existing paragraph formats here using original language. you can see all changes in form ZH.
    If you want to re-size in "ZH" itself .. try to change original language to ZH.
    I guess, this info will help you to close the thread.
    Regards,
    SaiRam

  • Drag on top for resizing window gesture don't work

    Hello,
    I got a problem with the drag on top gestoure to resize windows after deleting of my old account:
    Before I had only one  account on my iMac, i downloaded and updated Lion with Mountain Lion; no problem.
    Then I created another account, transferred all my documents in to it and deleted the old account. There began the problem: in the new account the drag on top to resize on max dimension gesture stop working. I restored Mac two times thinking about a software error, but anything has chanded. I didn't found anything on the internet. Did you know ho to solve my problem?
    thanks and sorry for my not perfect english

    I mean file & folder Permissions.
    In the Finder highlight say your user's Library folder, do a Get Info on it, does it say the new you has Read & Write Permissions?
    To find out if it's system wide or user specific, try this...
    Open System Preferences>Users & Groups, unlock the lock, click on the little plus icon, make a new admin account, log out & into the new account.
    Does it work in the new account?

  • Unexpected performance of Firefox in Windows 7, namely minimize/maximize/close buttons not working and unable to move/resize window.

    I have been using FF for a while now. My main computer was WinXP-32, though I recently bought a new laptop with Win7-64 installed. This problem was never experienced on my WinXP machine.
    Brief description of problem:
    After a time of having FF up and running, the minimize/maximize/restore/close buttons in the top-right no longer work as expected and, if not maximised, I cannot move the window around my desktop nor resize the browser window. When clicked, the buttons will
    rapidly flash on and off continuously without appearing to perform any noticeable function other than temporarily hogging CPU cycles. I've found that clicking (sometimes double clicking) in the main browser window then mousing over the buttons again seems
    to stop them flashing, though does nothing else.
    To minimize/maximize/restore/move/close the window(s), I have to right-click on the relevant tab in my taskbar and pick the desired option. Occasionally, however, even this doesn't work and the right-click menu will disappear as soon as I move the mouse
    over it after right-clicking. 'Show desktop' is a temporary fix for minimising windows and 'ALT + F4' or 'CTRL + W' for closing windows or tabs. This isn't satisfactory and to move or resize a window, I have to close the window in question (sometimes all other
    windows too), reopen it and do what I need to do, though sometimes even this is only a very short fix. If I have to close all the windows, FF will sometimes keep running for a while afterwards, even though no windows are actually open - simply ending the process
    via the windows task manager will fix this though is only a work-around, not a fix.
    One thing I have noticed is that if I manage to move the browser window (when not maximised), for a short period afterwards I can often resize the window successfully. This is more likely to occur if the browser window is not flush with the edge of my screen
    once moved.
    I've tried to include as much information as I can - most of which was determined after several minutes/hours of playing around with different scenarios, trying to manually reproduce particular problems or simply through sheer luck of happening to click
    in the right place at the right time! I hope there is a reasonably fix for this at some point in the not-too-distant future.
    I noticed in some of the threads at another site where people have voiced problems similar to mine, that a link to 'ObjectDock' was discovered in some cases. I do have 'ObjectDock 1.90 Plus' installed on my machine and use it in many ways and so decided
    to see if I could find a connection between the two. I have uninstalled, tested, and reinstalled both programs in a multitude of ways, though could find no conclusive correlation between having both bits of software running or installed at the same time and
    the problems I am experiencing. In my case, at least, this does not appear to be an answer.
    Also, in another thread on this site, someone suggested there might be a link with AVG Anti-Virus Free (I have version 9.0.819) though I've tried uninstalling it and its various add-ons in several different combinations, with no noticeable improvement.
    Sorry for such a long question... If you need to know anything more, just let me know!
    - James
    System Information:
    Operating System: Windows 7 (64 bit)
    Firefox Version: 3.6.3
    Application Basics
    Name
    Firefox
    Version
    3.6.3
    Profile Directory
    <button onclick="openProfileDirectory()"> Open Containing Folder </button>
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Update Service
    1.2
    true
    [email protected]
    Java Console
    6.0.17
    true
    {CAFEEFAC-0016-0000-0017-ABCDEFFEDCBA}
    Adblock Plus
    1.2
    true
    {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
    Download Statusbar
    0.9.6.8
    true
    {D4DD63FA-01E4-46a7-B6B1-EDAB7D6AD389}
    Cooliris
    1.11.6
    true
    [email protected]
    FoxTab
    1.3
    true
    {ef4e370e-d9f0-4e00-b93e-a4f274cfdd5a}
    Save File to
    2.0.1
    true
    [email protected]
    1-Click YouTube Video Downloader
    1.4
    true
    [email protected]
    British English Dictionary
    1.19
    true
    [email protected]
    Tab History
    1.0.7
    true
    {84417002-6445-49b4-9fd7-1ef48240fa41}
    Universal Print
    0.4.23
    true
    {BE2100B3-1D80-48eb-ACCF-D26750644378}
    Active Stop Button
    1.3.0
    true
    {9e96e0c4-9bde-49b7-989f-a4ca4bdc90bb}
    Fission
    1.0.9
    true
    {1280606b-2510-4fe0-97ef-9b5a22eafe41}
    Smart Bookmarks Bar
    1.4.3
    true
    [email protected]
    Compact Menu 2
    3.1.1
    true
    {57068FBE-1506-42ee-AB02-BD183E7999E4}
    Menu Editor
    1.2.6
    true
    {EDA7B1D7-F793-4e03-B074-E6F303317FB0}
    Locationbar²
    1.0.5
    true
    [email protected]
    RealPlayer Browser Record Plugin
    1.0
    true
    {ABDE892B-13A8-4d1b-88E6-365A6E755758}
    AVG Safe Search
    9.0.0.812
    true
    {3f963a5b-e555-4543-90e2-c3908898db71}
    Searchbar Autosizer
    1.4.5
    true
    {655397ca-4766-496b-b7a8-3a5b176ee4c2}
    Open Bookmarks in New Tab
    0.1.2010043001
    true
    [email protected]
    Remove New Tab Button
    1.0
    true
    [email protected]
    New Tab Homepage
    0.4.2
    true
    {66E978CD-981F-47DF-AC42-E3CF417C1467}
    SwiftTabs
    0.3.6.8
    true
    {5F4EC95A-FFA8-11DE-898C-667D55D89593}
    Tab Kit
    0.5.8
    true
    [email protected]
    Hide Find Bar
    1.3.1
    true
    [email protected]
    Toolbar Buttons
    0.6.0.8
    true
    {03B08592-E5B4-45ff-A0BE-C1D975458688}
    Java Console
    6.0.19
    true
    {CAFEEFAC-0016-0000-0019-ABCDEFFEDCBA}
    View Cookies
    1.10.1
    true
    {8F6A6FD9-0619-459f-B9D0-81DE065D4E21}
    Adobe DLM (powered by getPlus(R))
    1.6.2.63
    true
    {E2883E8F-472F-4fb0-9522-AC9BF37916A7}
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar
    0
    browser.history_expire_days.mirror
    180
    browser.places.importBookmarksHTML
    false
    browser.places.smartBookmarksVersion
    2
    browser.startup.homepage
    http://www.bath.ac.uk/
    browser.startup.homepage_override.mstone
    rv:1.9.2.3
    browser.tabs.closeButtons
    0
    browser.tabs.tabMinWidth
    77
    browser.tabs.warnOnClose
    false
    extensions.lastAppVersion
    3.6.3
    network.cookie.prefsMigrated
    true
    network.http.pipelining
    true
    network.http.pipelining.maxrequests
    50
    network.http.proxy.pipelining
    true
    places.last_vacuum
    1271706454
    privacy.sanitize.migrateFx3Prefs
    true
    privacy.sanitize.timeSpan
    0
    security.warn_viewing_mixed
    false
    security.warn_viewing_mixed.show_once
    false

    Hi Kossa,
    You can also check if the issue occurs in
    Clean Boot. If the issue disappears in the Clean Boot environment, you can continue to narrow down which entry is causing the issue.
    Besides, uninstall it and re-download
    a fresh copy of FireFox to check the result. If the issue still exists, create a new user account to see if it occurs.
    If the issue persists, you can contact Mozilla Support directly and use Internet Explorer (IE) during the time.
    J
    Please Note: The third-party product discussed here is manufactured by a company that is independent of Microsoft. We make no warranty, implied or otherwise,
    regarding this product's performance or reliability.
    Regards,
    Linda

  • When I open a pdf file, after a few seconds, it hides the toolbar and I don't know how to get it back.  I use multiple monitors and, without being able to grab the toolbar, I am unable to move the pdf file to a different monitor.  How do I stop this?

    When I open a pdf file, after a few seconds, it hides the toolbar and I don't know how to get it back.  I use multiple monitors and, without being able to grab the toolbar, I am unable to move the pdf file to a different monitor.  How do I stop this?

    Does Firefox switch to full screen if you press F11 ?
    You can also try the F10 key to see if that brings up the menu bar.
    * If the above steps didn't help then see http://kb.mozillazine.org/Corrupt_localstore.rdf
    Note: Do not delete localstore.rdf in the program folder (Windows: "C:\Program Files\Mozilla Firefox\defaults\profile\") (Mac: "/Applications/Firefox.app/defaults/profile/")

  • Can't close, resize or move report viewer window

    In my application, I have a window with a button. When I click the button, a report viewer window opens. After the report has loaded, everything works fine, except that I can't close, move or resize the report viewer window.
    Some of my code:
    Private Sub btnLogReport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogReport.Click
             Dim tmpFrm As New frmLogReport
             tmpFrm.Show()
    End Sub
    Private Sub frmLogReport_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Me.CrystalReportViewer1.ReportSource = Application.StartupPath.Replace("\bin", "") & "\Reports\LogReport.rpt"
    End Sub
    Any help?

    What version of CR?
    What CR Service ppacks have been applied?
    What version of .NET?
    What OS?
    Is this on your dev box or after you deploy?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Use of Java Swing +Applescript to move and resize Mac OS X windows using

    Here is an interesting use of Java on Mac OS X and Applescript to
    enable moving and resizing of windows using mouse and keyboard:
    [MoveResize tool|http://code.google.com/p/sandipchitalesmacosxstuff/#Move_and_resize_windows_on_Mac_OS_X]
    How it works:
    The implementation uses Applescript to get the front most window and
    it's bounds. It sends the bounds rectangle to a server implemented in
    Java over a socket connection. The Java server takes the screen shot
    of the full Desktop and uses it as the Image label (a JLabel with
    ImageIcon) as the content pane of an undecorated JFrame which has the
    same bounds as the Desktop. A JPanel with semitransparent background
    and a dark rounded rectangular border is given the same bounds that
    were received over the socket. This JPanel is added to the
    PALETTE_LAYER of the JFrame's layered pane - which makes it appear
    floating in front of the front window. A Mouse and a Key listener
    added to the JPanel allow moving and resizing of the JPanel. When the
    user types the ENTER key the JFrame is hidden and the new bounds of
    the JPanel are sent back to the Applescript over the socket connection
    which moves and resizes the front most window.
    Enjoy!
    Sandip
    Edited by: chitale on May 14, 2009 4:12 AM

    Copy the /Home/Documents/ folder to the NAS drive. That drive needs to support AFP or you may run into filename problems and/or other file related problems due to filesystem differences.
    Once the folder has been moved to the NAS select the folder on the NAS and CTRL- or RIGHT-click. Select Make Alias from the drop down menu. You should now have an alias named "Documents alias." On the Mac put the /Home/Documents/ folder in the Trash but don't delete it. Copy the alias file from the NAS to the /Home/ folder. Rename it to simply "Documents." Double-click on it to be sure it opens the folder on the NAS. If so you can empty the Trash. You're done.

  • Cannot move or resize any window

    Hello there,
    I have a brand new rMBP which I could be very happy with ... unless for whatever reason I cannot move or resize any window at all.
    Cannot resize/move Finder, Safari, Preview, ... anything !!!
    How the **** is that ?
    I have googled a bit but found nothing.
    Anybody can help ?
    It's OSX Lion 10.7.4
    Thanks

    ok found it
    preferences > universal access > mouse & trackpad > trackpad options > dragging
    I had to check that box !!
    I really wonder why it was not checked by default, but anyway I am happy now.

Maybe you are looking for