Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck in full screen #94

Closed
DesertCookie opened this issue May 20, 2021 · 15 comments
Closed

Stuck in full screen #94

DesertCookie opened this issue May 20, 2021 · 15 comments
Labels
bug Something isn't working

Comments

@DesertCookie
Copy link

Jellyfin Media Player is stuck in full screen after I exited it via ALT+F4 while watching a movie in full screen.

I've tried restarting, uninstalling, manually disabling the fullscreen setting in the client options, starting a movie and going back to windowed mode that way, F11, ALT+ENTER.

This occurred on Windows 10 20H2 with JMP v1.6 using the Windows installer. See my JellyfinMediaPlayer.log.


Solution: Delete jellyfinmediaplayer.conf in %APPDATA%/Local/JellyfinMediaPlayer.

Please look into why this happened to prevent future users from having to manually delete the config file. Cheers.

@DesertCookie DesertCookie added the bug Something isn't working label May 20, 2021
@rhdata1
Copy link

rhdata1 commented Aug 20, 2021

Search for "jellyfinmediaplayer.conf" file in C drive and open the file in notepad when you find the file. Find the "forceFSScreen":
in "main" section and change it's value from "DISPLAY2" to "DISPLAY1". I also was facing the same issue for last few days and just an hour ago figured out the problem and solved it.
Hope it helps.
thanks.
Capture

@foxlet
Copy link

foxlet commented Nov 15, 2021

Are there any fixes for this? It still occurs in the latest stable version (v1.6.1).

@davidmurdoch
Copy link

Not sure if I have the same problem since it's always Fullscreen for me, except for the Windows Taskbar at the bottom. Is there supposed to be be way of exiting the app (traditionally via an X in the upper right corner in Windows)? Alt+F4 or right clicking the taskbar entry and clicking Close Window seem like an odd thing.

@DexLuther
Copy link

DexLuther commented Jun 3, 2022

I'm having the same issue.

Jellyfin Server 1.7.7
Jellyfin Media Player 1.7.0-Pre4

  • F11
    • Briefly flashes into Windowed mode for s split second, then reverts back to Fullscreen.
  • ALT+Enter
    • Does nothing.
    • Spamming ALT+ENTER repeatedly flashes the screen. A Slight blur can be seen. Looks like the program is attempting to resize into windowed mode, but immediately snaps back to fullscreen.
  • Client Settings
    • Fullscreen Checkbox
      • Does nothing when on or off.
    • Turning off Fullscreen, clicking save and then returning to the Client settings window.
      • The fullscreen check box is checked again.

The fullscreen checkbox seems to automatically revert to being checked (forceFSScreen:true)

After trying all the above mentioned possibilities the log show this:

2022-06-03 03:02:00 [ DEBUG ] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::Windowed 
2022-06-03 03:02:00 \[ WARN  \] KonvergoWindow.cpp @ 487 - winging it! 
2022-06-03 03:02:00 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1938, 1127) 
2022-06-03 03:02:00 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1920, 1080) 
2022-06-03 03:02:00 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::FullScreen 
2022-06-03 03:02:00 \[ DEBUG \] KonvergoWindow.cpp @ 257 - Restoring geo: QRect(4110,129 982x551) 
2022-06-03 03:02:00 \[ DEBUG \] KonvergoWindow.cpp @ 209 - Load FullScreen geo... 
2022-06-03 03:02:17 \[ DEBUG \] KonvergoWindow.cpp @ 294 - setting fullscreen =  false 
2022-06-03 03:02:17 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::Windowed 
2022-06-03 03:02:17 \[ WARN  \] KonvergoWindow.cpp @ 487 - winging it! 
2022-06-03 03:02:17 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1938, 1127) 
2022-06-03 03:02:17 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1920, 1080) 
2022-06-03 03:02:17 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::FullScreen 
2022-06-03 03:02:17 \[ DEBUG \] KonvergoWindow.cpp @ 257 - Restoring geo: QRect(4110,129 982x551) 
2022-06-03 03:02:17 \[ DEBUG \] KonvergoWindow.cpp @ 209 - Load FullScreen geo... 
2022-06-03 03:02:18 \[ DEBUG \] KonvergoWindow.cpp @ 294 - setting fullscreen =  false 
2022-06-03 03:02:18 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::Windowed 
2022-06-03 03:02:18 \[ WARN  \] KonvergoWindow.cpp @ 487 - winging it! 
2022-06-03 03:02:18 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1938, 1127) 
2022-06-03 03:02:18 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1920, 1080) 
2022-06-03 03:02:18 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::FullScreen 
2022-06-03 03:02:18 \[ DEBUG \] KonvergoWindow.cpp @ 257 - Restoring geo: QRect(4110,129 982x551) 
2022-06-03 03:02:18 \[ DEBUG \] KonvergoWindow.cpp @ 209 - Load FullScreen geo... 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 294 - setting fullscreen =  false 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::Windowed 
2022-06-03 03:02:20 \[ WARN  \] KonvergoWindow.cpp @ 487 - winging it! 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1938, 1127) 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1920, 1080) 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::FullScreen 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 257 - Restoring geo: QRect(4110,129 982x551) 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 209 - Load FullScreen geo... 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 294 - setting fullscreen =  false 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::Windowed 
2022-06-03 03:02:20 \[ WARN  \] KonvergoWindow.cpp @ 487 - winging it! 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1938, 1127) 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1920, 1080) 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::FullScreen 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 257 - Restoring geo: QRect(4110,129 982x551) 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 209 - Load FullScreen geo... 
2022-06-03 03:02:20 \[ INFO  \] JS: Sending web socket message: KeepAlive 
2022-06-03 03:02:20 \[ INFO  \] JS: Received KeepAlive from server. 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 294 - setting fullscreen =  false 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::Windowed 
2022-06-03 03:02:20 \[ WARN  \] KonvergoWindow.cpp @ 487 - winging it! 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1938, 1127) 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1920, 1080) 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::FullScreen 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 257 - Restoring geo: QRect(4110,129 982x551) 
2022-06-03 03:02:20 \[ DEBUG \] KonvergoWindow.cpp @ 209 - Load FullScreen geo... 
2022-06-03 03:02:21 \[ DEBUG \] KonvergoWindow.cpp @ 294 - setting fullscreen =  false 
2022-06-03 03:02:21 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::Windowed 
2022-06-03 03:02:21 \[ WARN  \] KonvergoWindow.cpp @ 487 - winging it! 
2022-06-03 03:02:21 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1938, 1127) 
2022-06-03 03:02:21 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1920, 1080) 
2022-06-03 03:02:21 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::FullScreen 
2022-06-03 03:02:21 \[ DEBUG \] KonvergoWindow.cpp @ 257 - Restoring geo: QRect(4110,129 982x551) 
2022-06-03 03:02:21 \[ DEBUG \] KonvergoWindow.cpp @ 209 - Load FullScreen geo... 
2022-06-03 03:02:50 \[ INFO  \] JS: Sending web socket message: KeepAlive 
2022-06-03 03:02:50 \[ INFO  \] JS: Received KeepAlive from server. 
2022-06-03 03:03:20 \[ INFO  \] JS: Sending web socket message: KeepAlive 
2022-06-03 03:03:20 \[ INFO  \] JS: Received KeepAlive from server. 
2022-06-03 03:03:50 \[ INFO  \] JS: Sending web socket message: KeepAlive 
2022-06-03 03:03:50 \[ INFO  \] JS: Received KeepAlive from server. 
2022-06-03 03:04:18 \[ DEBUG \] KonvergoWindow.cpp @ 479 - QWindow visibility set to QWindow::Hidden 
2022-06-03 03:04:18 \[ DEBUG \] KonvergoWindow.cpp @ 596 - resize event: QSize(1920, 1080)

The only solution is the one that @mekemahmud suggested, which is to edit the jellyfinmediaplayer.conf file. The file appears to be located in Local appdata and did not appear on searches (at least for me it didn't), but can be found by going to %localappdata%/Jellyfinmediaplayer/ or by simply opening %localappdata%/JellyfinMediaPlayer/jellyfinmediaplayer.conf in notepad++

@iwalton3
Copy link
Member

Well there really is just code in here that sets the view to fullscreen on Windows in some conditions. Not sure why I have never had it happen in testing...

#ifdef Q_OS_WIN32
  if (visibility == QWindow::Windowed)
  {
    QScreen* realScreen = findCurrentScreen();
    if (realScreen && realScreen->geometry() == geometry())
    {
      QLOG_WARN() << "winging it!";
      setScreen(realScreen);
      setVisibility(QWindow::FullScreen);
      return;
    }
  }
#endif

@iwalton3
Copy link
Member

This change will be in this next hotfix. Please let me know if this fixes the issue.

@DexLuther
Copy link

Seems fixed. Everything I've tried to break it fails to work, and I'm able to pop in and out of fullscreen using any of the shortcuts even having closed the app while in fullscreen.

@tevenfeng
Copy link

tevenfeng commented Oct 1, 2022

Emm I'm still get the same problem on Windown 11 with Jellyfin Media Player version 1.7.1, even after I uninstalled it and removed all the config files in %APPDATA% and reinstalled it. It always open in fullscreen mode, and alt+enter does nothing, and the titlebar is missing.

@tevenfeng
Copy link

Emm I'm still get the same problem on Windown 11 with Jellyfin Media Player version 1.7.1, even after I uninstalled it and removed all the config files in %APPDATA% and reinstalled it. It always open in fullscreen mode, and alt+enter does nothing, and the titlebar is missing.

I've found out what the problem is. It may be related to the scaling ratio in windows setting. My laptop has a 2k display so I use 150% scaling for display. And jellyfin media player could not handle this situation correctly, making the titlebar out of the display so I misunderstood that it was stuck in fullscreen mode. I reset to 100% scaling, resize the jellyfin window and then change scaling back to 150%, and finallly it worked perfectly.

@tevenfeng
Copy link

Emm I'm still get the same problem on Windown 11 with Jellyfin Media Player version 1.7.1, even after I uninstalled it and removed all the config files in %APPDATA% and reinstalled it. It always open in fullscreen mode, and alt+enter does nothing, and the titlebar is missing.

I've found out what the problem is. It may be related to the scaling ratio in windows setting. My laptop has a 2k display so I use 150% scaling for display. And jellyfin media player could not handle this situation correctly, making the titlebar out of the display so I misunderstood that it was stuck in fullscreen mode. I reset to 100% scaling, resize the jellyfin window and then change scaling back to 150%, and finally it worked perfectly.

@Tychus
Copy link

Tychus commented Feb 25, 2023

Can confirm this is actually a scaling issue. Happened to me on windows 11 (100% scaling 2K) changed scaling to 125% the bar showed up maxed the window then scaled back to 100% all good now. First time i ever get this issue nothing changed just randomly after waking up from sleep.

@DexLuther
Copy link

Can confirm this is actually a scaling issue. Happened to me on windows 11 (100% scaling 2K) changed scaling to 125% the bar showed up maxed the window then scaled back to 100% all good now. First time i ever get this issue nothing changed just randomly after waking up from sleep.

Completely different issue. This issue was litterally that the fullscreen check box didn't update the config correctly, which either was always stuck in fullscreen, or wouldn't go into fullscreen. It was fixed a while ago, and this issue should have probably been closed.

@iwalton3
Copy link
Member

iwalton3 commented Mar 6, 2023

Closing fixed and stale issue.

@iwalton3 iwalton3 closed this as completed Mar 6, 2023
@larkwiot
Copy link

larkwiot commented Oct 6, 2023

Having this issue too, except neither editing nor deleting that configuration file fixes it. Had to uninstall and delete both directories in AppData\Local (opened another issue because that should have been done automatically with the uninstallation #506) to get it back in windowed mode.

@larkwiot
Copy link

larkwiot commented Feb 6, 2024

Closing fixed and stale issue.

This issue is not fixed as of 1.9.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants