cyburbanyte 1 Posted February 7, 2021 Share Posted February 7, 2021 There is a minor issue opening Emby Theatre for Windows in full screen mode that seems to have cropped up since I upgraded to Win 10 20H2. Emby opens, but it is offset slightly up and to the left. I can force correction by clicking the fullscreen button in Emby. The windowsstate.json file in C:\Users\%username%\AppData\Roaming\Emby-Theater\data\electron seems to control this behavior. Inspecting the windowsstate.json file in shows: {"x":-11,"y":-11,"width":1942,"height":1104,"state":"Maximized"} I can correct this by manually editing the above to read (my screen resolution on these computers is 1080p) {"x":0,"y":0,"width":1920,"height":1080,"state":"Maximized"} But when I close Emby Theatre it updates windowsstate.json back to {"x":-11,"y":-11,"width":1942,"height":1104,"state":"Maximized"} which perpetuates the error. I speculate this is an error from Electron. It seems to be miscalculating the parameters for the screen characteristics. Do you have any ideas on what might be causing this behavior? The Emby Theatre for Windows version I am using is 3.0.14 which I believe is the current version. This is happening consistent on all 4 of my Win 10 machines. All are running Win 10 20H2. Manually maximizing the screen is an easy workaround. But this is a bit of annoyance. Got any ideas/suggestions? I see other users are experiencing this problem as well. Thanks. 1 Link to comment Share on other sites More sharing options...
aspdend 174 Posted February 7, 2021 Share Posted February 7, 2021 I've been getting this too after that windows 10 update...minor annoyance, but would be nice to fix Link to comment Share on other sites More sharing options...
daedalus 430 Posted February 7, 2021 Share Posted February 7, 2021 (edited) don't expect too much, this is well known, exists for very long and this platform has zero priority in the emby universe in the mean time, if ever, you can trick it by using this autohotkey script, restoring windowstate.json on every start of ET #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. ; overwrite windowstate.json FileCopy, C:\Users\***USER***\AppData\Roaming\Emby-Theater\data\electron\windowstate[fix].json, C:\Users\***USER***\AppData\Roaming\Emby-Theater\data\electron\windowstate.json, 1 FileSetAttrib, -R+N, C:\Users\***USER***\AppData\Roaming\Emby-Theater\data\electron\windowstate.json ; start ET Run, C:\Users\***USER***\AppData\Roaming\Emby-Theater\system\Emby.Theater.exe just get autohotkey, copy the text above into a new ahk script file, fill in your user folder (***USER***), copy your windowstate.json to windowstate[fix].json in the same folder, fill in your desired values and start ET by the ahk script Edited February 7, 2021 by daedalus Link to comment Share on other sites More sharing options...
cyburbanyte 1 Posted February 7, 2021 Author Share Posted February 7, 2021 Another user suggested editing windowstate.json and then marking readonly This does fix the problem, albeit I'm not sure of the side effects. I posed that question to Luke. Link to comment Share on other sites More sharing options...
daedalus 430 Posted February 8, 2021 Share Posted February 8, 2021 10 hours ago, cyburbanyte said: Another user suggested editing windowstate.json and then marking readonly it kinda "works", but the app always throws an error window on exit if u do so, so this is not an option 10 hours ago, cyburbanyte said: I posed that question to Luke. as said, much luck, u as new user have much more chance to get sth changed then we that report that for years Link to comment Share on other sites More sharing options...
pmac 132 Posted February 14, 2021 Share Posted February 14, 2021 On 07/02/2021 at 18:08, cyburbanyte said: Another user suggested editing windowstate.json and then marking readonly This does fix the problem, albeit I'm not sure of the side effects. I posed that question to Luke. I just made mine read-only tonight and opened/closed ET a bunch of time with no issues. Hopefully it's the last of the issue for me... Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted February 14, 2021 Share Posted February 14, 2021 Anyone adjusted the shortcut from Normal to Maximized? https://emby.media/community/index.php?/topic/94896-emby-theater-full-screen/&do=findComment&comment=983825 But in the end once I got it working these settings didn't matter. So not entirely sure where the issue is. Link to comment Share on other sites More sharing options...
daedalus 430 Posted February 14, 2021 Share Posted February 14, 2021 9 hours ago, Happy2Play said: Anyone adjusted the shortcut from Normal to Maximized? sure back in the old days worked for some times and then reverted back / ignored the maximized setting, things also get wonkey if you use a specific monitor i'm pretty happy for a long time now with my script cause its doing exactly what it should and can be customized to have some sort of "profiles" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now