You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: 2.0.5 Reported for operating system, platform: Linux, x86_64
Comments on the original bug report:
On 2017-07-28 14:51:38 +0000, James Legg wrote:
Created attachment 2809
Program illustrating issue
When a fullscreen window is minimized (which happens by default when it looses focus) or hidden, the fullscreen state is removed, and the window resized to its previous size (either the size it was before entering fullscreen mode or size specified on creation if created fullscreen). On GNOME, the window contents can still be updated in this state as the window is visible in the Activities view, however it is not screen size and should be.
Steps to reproduce:
Compile attached program with c++ $(sdl2-config --cflags --libs)
Run the program on GNOME
Press Super + H to hide the window
Press Super to show the Activities view
Expected result:
The program's window appears:
undecorated
all red, with a darker patch in the middle,
with the same proportions as its display, and
at the same size as any non-SDL fullscreen windows if any are present on the workspace.
(Basically, as it was before it was hidden, scaled to fit)
Actual result:
The window appears:
decorated,
with no dark red patch,
square, and
at most 64×64 pixels in size.
On 2017-07-28 14:57:03 +0000, James Legg wrote:
Created attachment 2810
Patch removing the fullscreen changes
This patch removes the change to non-fullscreen windows, which fixes the behaviour for the test program. However, I think this needs more thought when entering and leaving fullscreen would involve a video mode change (a subset of the SDL_WINDOW_FULLSCREEN but not SDL_WINDOW_FULLSCREEN_DESKTOP case), and I haven't tested this on other platforms.
The text was updated successfully, but these errors were encountered:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.5
Reported for operating system, platform: Linux, x86_64
Comments on the original bug report:
On 2017-07-28 14:51:38 +0000, James Legg wrote:
On 2017-07-28 14:57:03 +0000, James Legg wrote:
The text was updated successfully, but these errors were encountered: