Can't go back to a full-screen game after alt-tab switch

Hi,
A small problem suddenly appears.
I always could switch to desktop from games with Alt-Tab and go back in-game by clicking on the icons in the taskbar.
But since the last update, this make the game crash and I have to kill the process with powershell to relauch it.
Anyone have an idea of what's going wrong ?

I'm also having this problem for full screen games. Hope they fix this soon, it's very aggravating.

Similar Messages

  • Screen restoration after ALT+TAB

    Hi,
    I'm writting an application with 2D graphics in the full-screen mode. If I press ALT+TAB to switch to another window and then another ALT+TAB to go back to my application, I can see only a white screen. I have no idea what is wrong. Here is my code.
    GraphicsDevice graphicsDevice = GraphicsEnvironment
              .getLocalGraphicsEnvironment().getDefaultScreenDevice();
    JFrame screen = new JFrame();
    screen.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    screen.setIgnoreRepaint(true);
    screen.setUndecorated(true);
    screen.setResizable(false);
    graphicsDevice.setFullScreenWindow(screen);
    graphicsDevice.setDisplayMode(new DisplayMode(
              800, 600, 16, DisplayMode.REFRESH_RATE_UNKNOWN));
    screen.createBufferStrategy(2);
    BufferStrategy bufferStrategy = screen.getBufferStrategy();
    while (!done) {
         if (bufferStrategy.contentsLost() && !bufferStrategy.contentsRestored()) {
              System.out.println("skip");
              continue;
         System.out.println("draw");
         Graphics graphics = bufferStrategy.getDrawGraphics();
         try {
              //render the screen
         } finally {
              graphics.dispose();
         bufferStrategy.show();
    }After the second ALT+TAB bufferStrategy.contentsLost() is always true and bufferStrategy.contentsRestored() is always false. (i.e. I get only the "skip" debug message so the rendering commands are executed no more.)
    Thanks for any help.

    Hi,
    Why do you have the whole '!bufferStrategy.contentsRestored()' part in 'if (bufferStrategy.contentsLost() && !bufferStrategy.contentsRestored())' at all? Wouldn't your code work without it and the screen would paint? I can't see why you would skip the paint if contentsRestored() is false.
    Anyway, I use a VolatileImage to do the same thing as a BufferStrategy and it works in full screen mode or normal window mode. This is the code and it sits in a Canvas class:
         int currentWidth = 0;
         int currentHeight = 0;
         Graphics2D g2D = null;
        VolatileImage vImg = null;
        boolean hasBeenResized = false;
         public void reDisplay(Scenario scenario){
              if (hasBeenResized || vImg == null){
                   System.out.println("hasBeenResized == true");
                   currentWidth = getWidth();
                   currentHeight = getHeight();
                   vImg = createVolatileImage(currentWidth, currentHeight);
                   hasBeenResized = false;
              g2D = (Graphics2D)getGraphics();
              do {
                   renderOffscreen(scenario);
                   int returnCode = vImg.validate(getGraphicsConfiguration());
                   if (returnCode == VolatileImage.IMAGE_RESTORED) {
                        // Contents need to be restored
                        renderOffscreen(scenario);      // restore contents
                   else if (returnCode == VolatileImage.IMAGE_INCOMPATIBLE) {
                        // old vImg doesn't work with new GraphicsConfig; re-create it
                        vImg = createVolatileImage(getWidth(), getHeight());
                        renderOffscreen(scenario);
                   g2D.drawImage(vImg,0,0,this);
              } while (vImg.contentsLost());
              g2D.dispose();
         void renderOffscreen(Scenario scenario){
              do {
                   if (vImg.validate(getGraphicsConfiguration()) == VolatileImage.IMAGE_INCOMPATIBLE){
                        // old vImg doesn't work with new GraphicsConfig; re-create it
                        vImg = createVolatileImage(currentWidth, currentHeight);
                   Graphics2D g2D = vImg.createGraphics();
                   render(scenario, g2D);
                   g2D.dispose();
              } while (vImg.contentsLost());
         void render(Scenario scenario, Graphics2D g2D){
              // painting code here
         }I hope it helps,
    Keith

  • How can you get back to the registration screen to change information once registration is complete

    how can you get back to the registration screen to change information once registration is complete?

    You don't have to. Just go to Apple's Express Lane and add products.

  • I can't get back to my home screen? Is the home button broke?

    I can't get back to my home screen? Is the home button broke?

    A simple press on the home button should always get you back to your 'app-menu'. If this is not the case there is a problem. It is possible that your button is broken. Maybe you could try first to install the latest iOS version through iTunes if you haven't done already. Or try to reset your iPhone by pressing the power button a few seconds and then Slide to Power off.
    Let me know if it works!

  • I can't get Firefox to populate full screen. It's live on the task bar but nothing I try, including uninstall and re-downloading, has worked.

    I can't get Firefox to populate full screen. It's live on the task bar (because it will give me a mini preview when I move the mouse over it) but nothing I try, including uninstall and re-downloading, has worked.

    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • No full screen view after installing Yosemite

    Another Yosemite issue - I'm running iPhoto 9.6 on recently downloaded Yosemite. Now I can't view a picture on full screen. The iPhoto help refers to a full screen button in top right hand corner although i have no such view and have to use main toolbar. All I see is a black background and the thumbnails below. I can even see the info and edit options but no picture. When i use the zoom option in bottom left of screen i see the navigation panel and a thumbprint of the picture i want to view.
    Does anyone share my experience?
    David

    because if you go to Help and the view and organise section and select the 'see photos in full screen' it refers to a button into top right (this i cannot see in my iPhoto)
    This is out of date as of the release of Yosemite and iPhoto 9.6. To use iPhoto in full screen you click the free button.
    Your problem seems to be that your photo doesn't show in the full screen format?
    There are several possible causes for the Black Screen issue
    1. Permissions in the Library: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair permissions.
    2. Minor Database corruption: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    3. A Damaged Photo: Select one of the affected photos in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). (On iPhoto 11 this option is under the File -> Reveal in Finder.) Will the file open in Preview? If not then the file is damaged. Time to restore from your back up.
    4. A corrupted iPhoto Cache: Trash the com.apple.iPhoto folder from HD/Users/Your Name/ Library/ Caches...
    5. A corrupted preference file: Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    If none of these help: As a Test:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • Full screen issue after upgrade to Snow Leopard

    Can't seem to play back movie in full screen as before.  Picture stays black from start or freezes if played within project (audio ok) View settings are the same - Video Playback>Digital Cinema Desktop Preview - Main.

    Hi eaustria,
    Double check DNS is correctly configured in Server Admin (SA). Also where in Workgroup Manager (WGM) are you trying to create wikis? In 10.5 (Leopard) server wikis were enabled in WGM. In 10.6 (Snow Leopard) server you enable wikis in the web service in SA or under wiki's in Server Preferences.
    Let us know how you get on.
    Regards,
    John

  • Cannot broadcast full screen games on Windows 7 64bit

    I'm going to be as descriptive as possible in this. I'm running a dual-boot system (one OS Windows 7 64 bit, the other Windows XP 32 bit)
    I'm using ManyCams (but i've also tried Supercam, WebcamMax, and VHscrcap) as my virtual cam on both OS and FME. I've installed both programs on both operating systems the exact same way. I use the same exact settings for both, and I've made sure my video card drivers are up to date on both. Whenever I try to broadcast to any website (I'll use Justin.tv for this question) On the Windows 7 64 bit OS, i can capture my whole screen and everything just fine, until i go into a full screen game. I dont mean a game that's in windowed mode and taking up the whole screen, i mean a game that's running in full screen mode. The entire screen is black on the stream, but not on my monitor (obviously) until i alt-tab out of the game. Then the stream is fine and it's my desktop again. I can't capture my full screen games on my Windows 7 64bit OS. If I try this the exact same way on my XP 32 bit, it works fine with 0 problems.
    Just to rule these out, it's not a problem with my internet or my specs. Take my word for it.
    So, any takers on this? Is it just completely unfixable on W7 64bit or is there just something i'm missing here.
    Thanks

    At least you can broadcast at all I have been trying pretty much all day to get mine to stop crashing whenever I try to use my Dazzle dvc 100.. and yes I'm using windows 7 64 bit.. It worked on my old labtop that was Vista..and it still works on that but its too slow.. and its frustrating when I know I have everything I need installed and it wont work on my new labtop ._.

  • Xserver-1.5.3 doesn't reset resolution after ending a full screen game

    xserver-1.5.3 doesn't reset display resolution after ending a full screen game.
    Is this a issue of the new xserver or the ati driver (i switched from catalyst to xf86-video-ati)?
    And how can i solve it?
    so long
    ukognos
    Last edited by ukognos (2008-11-30 18:01:19)

    I have the same problem with catalyst 8.11 . On the game, if I change the resolution, the game halt.
    I have Kde4 and a ATI HD 3450 and lastet upgrade...

  • Alt tabbing with full screen games in Gnome Shell

    I'm using gnome shell 3.6.2 and whenever I launch a full screen game (like heroes of newerth) I can't alt-tab out of it or change to a different work space. I can do this in XFCE, KDE (with compositing disabled) and unity (have a press it a few times) but I can't do this in gnome shell. Is there a workaround I can use (besides starting it in a different X server).
    EDIT: I tried the package sdl-nokeyboardgrab and the libx11-nokeyboard grab and tried running hon as:
    LD_PRELOAD=libX11-nokeynomouse.so HoN/hon.sh
    but it still doesn't work. When I alt-tab/change workspace it shows the adwaita cursor (instead of the HoN one) and kinda blinks the gnome shell desktop.
    Last edited by Draucia (2012-11-22 13:25:46)

    Hello bferretti...sorry to hear you're having issues with the hot corners.
    I was playing WOW last night and started playing around with the video options. I noticed there are two full screen options now - Fullscreen and Windowed Fullscreen. If in Fullscreen the hot corners are disabled for me. If I use Windowed Fullscreen then the hot corners are still active.
    Not sure if you've taken a look at that...but just thought I'd pass along that info.
    Thanks!

  • Changing windows in a full screen game

    I play Call of Duty 2 and run TeamSpeex on my iMac. My problem is that, sometimes while I am playing I need to get to the TeamSpeex window without quitting CoD2. I've tried F9, F10, command-tab, and command-m. Nothing seems to work. Is there another way to minimize a full screen game without quitting the application?
    20" iMac   Mac OS X (10.4.9)   Intel C2D 2.33 GHz 1MB RAM

    Yeah, I just tried it. No dice. It seems like all the keyboard shortcuts in the game override the OSX shortcuts.

  • HT3258 can I revert back to mac os 10.6 after upgrading to 10.8?

    can I revert back to mac os 10.6 after upgrading to 10.8?

    riocruzan wrote:
    can I revert back to mac os 10.6 after upgrading to 10.8?
    Yes you can, however it is A LOT easier if you make a 10.6 TimeMachine (disconnect it) and/or (best) a 10.6 Carbon Copy Cloner bootable clone. (disconnect it too)
    TimeMachine drives are not bootable, so you will require your 10.6 install disk (slow) to be perfectly functional to boot and perform the ENTIRE drive erasure required to restore the 10.6 TimeMachine copy (slow) to the internal drive.
    With a 10.6 bootable clone on a external drive, it's hold the option key bootable, so your up in seconds on the 10.6 clone and can be erasing the entire internal drive while surfing the web.
    Also if your 10.6 disk is not working, the clone is, so it's another bootable backup.
    Most commonly used backup methods
    The other more complicated method to restore 10.6 on a machine that was upgraded to 10.7 or 10.8 is to extract all one's files into a neutral state on a external storage drive. (not TiThen use the 10.6 disk to wipe everything and reinstall 10.6 fresh, then programs then files.
    10.7 and 10.8 changes things in the User/Library, so you can't just restore from TimeMachine backwards.
    Also newer versions of programs from Apple changes their support files, like iTunes Library and iPhoto Library, so it's a lot more work extracting your original mp3's and jpg's for reimportation into 10.6 versions of those programs.
    How to revert your Mac to Snow Leopard

  • Can i revert back to version 3.6.15 after installing ff 4 without losing anything thats been saved

    can i revert back to version 3.6.15 after installing ff 4 without losing

    If you follow the instructions I gave it does not delete the profile folder where the user data such as bookmarks are stored. When you install the earlier version it will use the same profile data so you do not lose your user data.

  • How can i get back or download iphoto...after getting Photos

    How can i get back or download iphoto...after getting Photos

    Reinstall the backup you made before updating.
    Cheers
    Pete

  • Can't run flash player in full screen on 2nd monitor

    Hi all! I have a laptop with dual video displays. The main
    display is the laptop's LCD and the 2nd display is a 19" LCD
    connected via VGA cable. I want to let a Flash movie loop endlessly
    on the second monitor while I continue to work on the laptop. When
    I drag Flash Player 8 over to the 2nd monitor and start the movie,
    I can hit maxmize and it will take up the entire 2nd montior as it
    should...with the file options and boarder around as expected. I
    then hit Ctrl-F to go full screen and it snaps directly to the
    laptop's primary monitor. I tried it at work where my desktop has 2
    displays and the same thing happens. I need to force Flash player
    to run full screen on the 2nd monitor and cannot find a way to
    accomplish this. Any help is appreciated because it's driving me
    nuts. I can always make the external monitor my primary but then
    the start button and all my icons move there too and that is not
    acceptable. Thanx!

    Seriously? No one has any thoughts about this? I can't
    believe I would be the first to come across this issue.

Maybe you are looking for

  • My story

    My year anniversary as an Apple user is coming up in May. It is indeed a anniversary worthy of celebration. After being a Windows user since... well, I shall refrain from showing my age, suffice to say, I remember the yellow file manager icon on the

  • AMD AM2 P-states?

    Hello, doesn someone here has an AMD AM2 X2-cpu (preferably 65W, but maybe it doesn't matter). Please mention which one you have: 3600, 3800, 4200, ... Could you tell me how many P-states, and which ones, your processor has? I'm looking for this info

  • HT1363 how to put ipod touch into disk mode

    Hello, Does anyone know how to put an ipod touch in disk mode? I don't have the box in itunes to enable disk use! Thanks, Don

  • DVD D DH16D5S

    Dear Sir/ madam, I am using HP compaq alongwith DVD drive DVD D DH16D5S. I want to know whether this DVD have a writer or not? one of ur representative told me that CD can be written over through this DVD. But when using write option through NERO at

  • Set timeout for completion of each thread

    i have a requirement where i need to start n threads and set timeout for completion of each thread. if the thread is not executed successfully(because of timeout ) i have to enter in audit table that it failed because of timeout if executed successfu