Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Full Screen Programs in Windows

Full Screen Programs in Windows

Scheduled Pinned Locked Moved The Lounge
game-devquestion
25 Posts 15 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Richard Andrew x64R Richard Andrew x64

    Why is it that when switching back from a full screen program (like a game,) all of the other (non-full screen) application windows are screwed up? They will switch monitors, some of them will be maximized when before, they weren't. And most of them will be resized and moved seemingly randomly. :mad:

    The difficult we do right away... ...the impossible takes slightly longer.

    N Offline
    N Offline
    Nelek
    wrote on last edited by
    #6

    In addition to what already was told about different monitors and zooms or so. Even with only one monitor there are sometimes weird things happen. That's because full Screen does not necessarily mean full resolution. I.e. some games are full screen but in older resolutions like 800x600 or 1024x768. If you usually use 1920x1680 then the graphic card / monitor manager has to switch up and down depending on what is actively focused. If you have an app that is not maximized but is using a bigger area than the full screen game resolution... it reacts weirder as it would have been maximized from the beginning.

    M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

    D 1 Reply Last reply
    0
    • R Rick York

      I have noticed that too in other situations like when switching a laptop to an external monitor of a different resolution. My guess is there are some weird sizing messages sent during the transition but I have never bothered to find out. One of these days I should.

      "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

      K Offline
      K Offline
      KarstenK
      wrote on last edited by
      #7

      Maybe M$ should do its job and fix it :~

      Press F1 for help or google it. Greetings from Germany

      R 1 Reply Last reply
      0
      • L Lost User

        I don't know, but it has always been like that, and (extrapolating from the past) it seems like it always will be. It usually helps to pick the "borderless windowed"-mode (if it exists) instead of "exclusive fullscreen". There are even some tools to force that mode onto games that don't have it built-in.

        S Offline
        S Offline
        Shao Voon Wong
        wrote on last edited by
        #8

        Games can run optimally with higher FPS in "exclusive fullscreen" mode. For me, I do not bother because the maximum refresh rate of my monitor is only 60.

        1 Reply Last reply
        0
        • Richard Andrew x64R Richard Andrew x64

          Why is it that when switching back from a full screen program (like a game,) all of the other (non-full screen) application windows are screwed up? They will switch monitors, some of them will be maximized when before, they weren't. And most of them will be resized and moved seemingly randomly. :mad:

          The difficult we do right away... ...the impossible takes slightly longer.

          C Offline
          C Offline
          CodeWraith
          wrote on last edited by
          #9

          Because Highlander and DirectX. There can be only one who has the screen context at a time, all others must detect that they lost access to it and reinitialize and redraw when they get it back.

          I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

          Richard Andrew x64R 1 Reply Last reply
          0
          • Richard Andrew x64R Richard Andrew x64

            Why is it that when switching back from a full screen program (like a game,) all of the other (non-full screen) application windows are screwed up? They will switch monitors, some of them will be maximized when before, they weren't. And most of them will be resized and moved seemingly randomly. :mad:

            The difficult we do right away... ...the impossible takes slightly longer.

            M Offline
            M Offline
            megaadam
            wrote on last edited by
            #10

            Richard Andrew x64 wrote:

            Windows

            That's why!

            "If we don't change direction, we'll end up where we're going"

            1 Reply Last reply
            0
            • K KarstenK

              Maybe M$ should do its job and fix it :~

              Press F1 for help or google it. Greetings from Germany

              R Offline
              R Offline
              Rick York
              wrote on last edited by
              #11

              I agree fully but this is a case where I think they would say there is no problem. "That behavior is by design" is the phrase they like to use.

              "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

              K 1 Reply Last reply
              0
              • R Rick York

                I agree fully but this is a case where I think they would say there is no problem. "That behavior is by design" is the phrase they like to use.

                "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                K Offline
                K Offline
                KarstenK
                wrote on last edited by
                #12

                M$ forever ... :-D

                Press F1 for help or google it. Greetings from Germany

                1 Reply Last reply
                0
                • C CodeWraith

                  Because Highlander and DirectX. There can be only one who has the screen context at a time, all others must detect that they lost access to it and reinitialize and redraw when they get it back.

                  I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                  Richard Andrew x64R Offline
                  Richard Andrew x64R Offline
                  Richard Andrew x64
                  wrote on last edited by
                  #13

                  Eh, what's Highlander? Is that the code name for the Desktop Window Manager?

                  The difficult we do right away... ...the impossible takes slightly longer.

                  C 1 Reply Last reply
                  0
                  • Richard Andrew x64R Richard Andrew x64

                    Eh, what's Highlander? Is that the code name for the Desktop Window Manager?

                    The difficult we do right away... ...the impossible takes slightly longer.

                    C Offline
                    C Offline
                    CodeWraith
                    wrote on last edited by
                    #14

                    You are pulling my leg, right? It's the code word for one head's length shorter: There can be only one.[^]

                    I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                    Richard Andrew x64R 1 Reply Last reply
                    0
                    • C CodeWraith

                      You are pulling my leg, right? It's the code word for one head's length shorter: There can be only one.[^]

                      I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                      Richard Andrew x64R Offline
                      Richard Andrew x64R Offline
                      Richard Andrew x64
                      wrote on last edited by
                      #15

                      Ah, I see. I thought you were drawing a distinction between two different mechanisms for painting to the screen. :-O

                      The difficult we do right away... ...the impossible takes slightly longer.

                      C 1 Reply Last reply
                      0
                      • Richard Andrew x64R Richard Andrew x64

                        Ah, I see. I thought you were drawing a distinction between two different mechanisms for painting to the screen. :-O

                        The difficult we do right away... ...the impossible takes slightly longer.

                        C Offline
                        C Offline
                        CodeWraith
                        wrote on last edited by
                        #16

                        :-) It is the same game as always. When two programs use the same resources, in this case the video memory and the GPU, there must be some kind of mutual exclusion mechanism. otherwise you will have race conditions or deadlocks. DirectX is quite radical. The Desktop Manager looses all rights to access to the screen and has to wait until it gets the context back. Then it's time to reinitialize and redraw everything. More than one monitor does not make it easier. A lot of games suffer from that problem as well. It took Bethesda until Skyrim to get that right without occasional glitches or deadlocks.

                        I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                        R 1 Reply Last reply
                        0
                        • Richard Andrew x64R Richard Andrew x64

                          Why is it that when switching back from a full screen program (like a game,) all of the other (non-full screen) application windows are screwed up? They will switch monitors, some of them will be maximized when before, they weren't. And most of them will be resized and moved seemingly randomly. :mad:

                          The difficult we do right away... ...the impossible takes slightly longer.

                          K Offline
                          K Offline
                          Kiriander
                          wrote on last edited by
                          #17

                          Resolution. Windows, sadly, doesn't remember windows per-resolution. When the full-screen app changes the screen resolution, things get bad. Run the full-screen app in your desktop resolution. Or a higher one. But not a lower one.

                          N 1 Reply Last reply
                          0
                          • K Kiriander

                            Resolution. Windows, sadly, doesn't remember windows per-resolution. When the full-screen app changes the screen resolution, things get bad. Run the full-screen app in your desktop resolution. Or a higher one. But not a lower one.

                            N Offline
                            N Offline
                            Nelek
                            wrote on last edited by
                            #18

                            Pity some games can't get higher resolutions and playing them in windowed mode is a PITA. That's why, when I play, I usually don't have any other stuff open, or if open minimized in the tray.

                            M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                            1 Reply Last reply
                            0
                            • Richard Andrew x64R Richard Andrew x64

                              Why is it that when switching back from a full screen program (like a game,) all of the other (non-full screen) application windows are screwed up? They will switch monitors, some of them will be maximized when before, they weren't. And most of them will be resized and moved seemingly randomly. :mad:

                              The difficult we do right away... ...the impossible takes slightly longer.

                              M Offline
                              M Offline
                              MKJCP
                              wrote on last edited by
                              #19

                              I get this type of stuff when using my work VM from home connected with Citrix WS. Usually works pretty swell, full screen, with 2 monitors. The other day I had been reading a page for 2 minutes, hadn't touched my keyboard/mouse. Suddenly, the 16 windows that were minimized, reappeared in a cascading fashion that made it seem like the thing was haunted or someone was dickin around with my rig. :confused:

                              1 Reply Last reply
                              0
                              • Richard Andrew x64R Richard Andrew x64

                                Why is it that when switching back from a full screen program (like a game,) all of the other (non-full screen) application windows are screwed up? They will switch monitors, some of them will be maximized when before, they weren't. And most of them will be resized and moved seemingly randomly. :mad:

                                The difficult we do right away... ...the impossible takes slightly longer.

                                M Offline
                                M Offline
                                milo xml
                                wrote on last edited by
                                #20

                                In my opinion, Microsoft hasn't had multimonitor right since Win 7. I think their focus on managing touch screens in Win 8 and 10 had them forget how to manage more than one monitor properly.

                                1 Reply Last reply
                                0
                                • Richard Andrew x64R Richard Andrew x64

                                  Why is it that when switching back from a full screen program (like a game,) all of the other (non-full screen) application windows are screwed up? They will switch monitors, some of them will be maximized when before, they weren't. And most of them will be resized and moved seemingly randomly. :mad:

                                  The difficult we do right away... ...the impossible takes slightly longer.

                                  O Offline
                                  O Offline
                                  obermd
                                  wrote on last edited by
                                  #21

                                  I don't see this with the applications I run. I suspect it's primarily a game issue and frankly, game developers don't care because to fix this would take them more time to get the next best thing released.

                                  1 Reply Last reply
                                  0
                                  • C CodeWraith

                                    :-) It is the same game as always. When two programs use the same resources, in this case the video memory and the GPU, there must be some kind of mutual exclusion mechanism. otherwise you will have race conditions or deadlocks. DirectX is quite radical. The Desktop Manager looses all rights to access to the screen and has to wait until it gets the context back. Then it's time to reinitialize and redraw everything. More than one monitor does not make it easier. A lot of games suffer from that problem as well. It took Bethesda until Skyrim to get that right without occasional glitches or deadlocks.

                                    I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                                    R Offline
                                    R Offline
                                    Rusty Bullet
                                    wrote on last edited by
                                    #22

                                    Lame answer, but when the program gains the context, it needs to save off the original context so that it can restore the original context when it loses context.

                                    C 1 Reply Last reply
                                    0
                                    • R Rusty Bullet

                                      Lame answer, but when the program gains the context, it needs to save off the original context so that it can restore the original context when it loses context.

                                      C Offline
                                      C Offline
                                      CodeWraith
                                      wrote on last edited by
                                      #23

                                      It does not work that way. You don't get any chance to save anything. You are informed that you just lost the context and from then on all graphics related calls will fail. by the way, how do you save a graphics processor? Don't call me lame. I'm just the messenger. Talk about it with Mickeysoft.

                                      I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                                      R 1 Reply Last reply
                                      0
                                      • C CodeWraith

                                        It does not work that way. You don't get any chance to save anything. You are informed that you just lost the context and from then on all graphics related calls will fail. by the way, how do you save a graphics processor? Don't call me lame. I'm just the messenger. Talk about it with Mickeysoft.

                                        I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                                        R Offline
                                        R Offline
                                        Rusty Bullet
                                        wrote on last edited by
                                        #24

                                        Accepted. My answer was based on screen context memory, which is why it was lame. Well answered!

                                        1 Reply Last reply
                                        0
                                        • N Nelek

                                          In addition to what already was told about different monitors and zooms or so. Even with only one monitor there are sometimes weird things happen. That's because full Screen does not necessarily mean full resolution. I.e. some games are full screen but in older resolutions like 800x600 or 1024x768. If you usually use 1920x1680 then the graphic card / monitor manager has to switch up and down depending on what is actively focused. If you have an app that is not maximized but is using a bigger area than the full screen game resolution... it reacts weirder as it would have been maximized from the beginning.

                                          M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                                          D Offline
                                          D Offline
                                          dandy72
                                          wrote on last edited by
                                          #25

                                          This. I'm late to this thread, but for some reason my RSS reader marked it as unread, and I didn't remember going through it. What you've described above matches my experience as well. If my desktop is running at 1920x1080, but a game switches fullscreen but at 1280x720 (for example), then the windows that were already opened on the desktop, and the icons on the desktop themselves, get resized/moved around to fit 1280x720 when the game takes over (if they don't fit the 1280x720 area starting from the top-left corner), and while the desktop *resolution* is restored back when exiting the game, the icons/windows don't follow. Everybody passes the blame around - it's not an app's responsibility to restore the desktop layout when it exits, and once items have been moved/resized to fit the lower resolution, those new sizes/positions get committed, and no window manager that I know of (including anything on Linux) thinks it's its job to undo that. By now it's been years I've played nothing but *one* game, which happens to run at the same resolution as my desktop (native 4K), and I haven't encountered that problem since. I have zero doubt that's the key.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups