Bug: Small Screen on Mac is Back

Jonathan
Jonathan Member Posts: 671 ✭✭
edited November 2024 in English Forum

After months of not experiencing this bug, it is back with a vengeance. I am now seeing it virtually every time I add a resource to Logos. See screenshot and logs below.

2627.LogosLogs.Jonathan.20130926-075355.zip

Comments

  • Dylan Rondeau
    Dylan Rondeau Member, Logos Employee Posts: 1,401

    So I've spoken with a developer and we've looked into this, and here's what the logs indicate:

    [code]

    Loaded window placement from preferences: Height=300|Left=219|State=Maximized|Top=240|Width=400|WorkHeight=0|WorkLeft=0|WorkTop=0|WorkWidth=0
    Setting window placement: {219, 240, 400, 300} | frame: {{219, 338}, {400, 300}} | state: 1 | frame: {{0, 64}, {1440, 814}}
    Setting window placement: {219, 240, 400, 300} | frame: {{219, 338}, {400, 300}} | state: 2 | frame: {{219, 338}, {400, 300}}

    [/code]

    The first line is your preferred window setting. It shows that it has saved a 400x300 window (the "Small Screen") as your normal view, but in the Maximized state. The third line, where it lists "state: 2" is Minimized. So something happened to quit the program while it was minimized, and so when the program started back up, that Minimized state prevented it from launching the Maximized state, so it instead placed the window in its "normal" 400x300 state.

    Resizing the window to a larger size before Maximizing it again should open to that size. If you have further issues with this please let us know.

    Dylan Rondeau, Software Tester

    Enable Logging: Mac | Windows (Right-click "Save As...")

  • JT (alabama24)
    JT (alabama24) MVP Posts: 36,523

    So I've spoken with a developer and we've looked into this, and here's what the logs indicate:

    Loaded window placement from preferences: Height=300|Left=219|State=Maximized|Top=240|Width=400|WorkHeight=0|WorkLeft=0|WorkTop=0|WorkWidth=0
    Setting window placement: {219, 240, 400, 300} | frame: {{219, 338}, {400, 300}} | state: 1 | frame: {{0, 64}, {1440, 814}}
    Setting window placement: {219, 240, 400, 300} | frame: {{219, 338}, {400, 300}} | state: 2 | frame: {{219, 338}, {400, 300}}

    The first line is your preferred window setting. It shows that it has saved a 400x300 window (the "Small Screen") as your normal view, but in the Maximized state. The third line, where it lists "state: 2" is Minimized. So something happened to quit the program while it was minimized, and so when the program started back up, that Minimized state prevented it from launching the Maximized state, so it instead placed the window in its "normal" 400x300 state.

    Resizing the window to a larger size before Maximizing it again should open to that size. If you have further issues with this please let us know.

    I didn't fully understand what you were saying, but I will add logs here when I see it again. I can't speak for anyone else, but I know that I never make Logos this size. The error (for me) isn't that it reopened at a previous 400x300 state, but that it saved a 400x300 state when there never was such to begin with! [:s]

    macOS, iOS & iPadOS |Logs| Install
    Choose Truth Over Tribe | Become a Joyful Outsider!

  • Jonathan
    Jonathan Member Posts: 671 ✭✭

    alabama24 said:

    The error (for me) isn't that it reopened at a previous 400x300 state, but that it saved a 400x300 state when there never was such to begin with! Tongue Tied

    That is my problem as well.

    I don't think I ever resized the window to that small size. Is there something with Logos that could be constantly changing this to default to a very small size. I don't remember experiencing this with any other program on my Mac. 

    It seems that this problem reoccurs about once every six months or so. Typically after a program update. For instance, I experienced this after updating to 5.1b and then it happened repeatedly with the large resource updates that occurred this week.

  • JT (alabama24)
    JT (alabama24) MVP Posts: 36,523

    It happens to me most frequently on my iMac, which obviously has a larger screen than my MacBook. I have had problems in the past where a MacBook layout jumped ship to my iMac, even before such a feature was supposed to be available. 

    macOS, iOS & iPadOS |Logs| Install
    Choose Truth Over Tribe | Become a Joyful Outsider!

  • Jonathan
    Jonathan Member Posts: 671 ✭✭

    So I've spoken with a developer and we've looked into this, and here's what the logs indicate:

    Loaded window placement from preferences: Height=300|Left=219|State=Maximized|Top=240|Width=400|WorkHeight=0|WorkLeft=0|WorkTop=0|WorkWidth=0
    Setting window placement: {219, 240, 400, 300} | frame: {{219, 338}, {400, 300}} | state: 1 | frame: {{0, 64}, {1440, 814}}
    Setting window placement: {219, 240, 400, 300} | frame: {{219, 338}, {400, 300}} | state: 2 | frame: {{219, 338}, {400, 300}}

    The first line is your preferred window setting. It shows that it has saved a 400x300 window (the "Small Screen") as your normal view, but in the Maximized state. The third line, where it lists "state: 2" is Minimized. So something happened to quit the program while it was minimized, and so when the program started back up, that Minimized state prevented it from launching the Maximized state, so it instead placed the window in its "normal" 400x300 state.

    Resizing the window to a larger size before Maximizing it again should open to that size. If you have further issues with this please let us know.

    Despite resizing, per your directions, I still received the small screen after the next resource update.

    [:(]

  • JT (alabama24)
    JT (alabama24) MVP Posts: 36,523

    If you had logging enabled, and have not restarted Logos yet, can you upload the logs?

    macOS, iOS & iPadOS |Logs| Install
    Choose Truth Over Tribe | Become a Joyful Outsider!

  • Jonathan
    Jonathan Member Posts: 671 ✭✭

    alabama24 said:

    If you had logging enabled, and have not restarted Logos yet, can you upload the logs?

    Logs here: 2816.LogosLogs.Jonathan.20131001-191816.zip

  • Jonathan
    Jonathan Member Posts: 671 ✭✭

    Here's proof that it is Logos (rather than me) that is changing my default screen size. 

    I took a screen shot after last resizing my window. Here's what I did....

    • About three days ago I resized my window to an appropriate size and took a screen shot.

    • I then quit the program through the usual process of selecting quit from the menu bar.
    • I continued using Logos regularly for a couple of days.
    • Logos downloaded the new resource I "purchased" through Logos' monthly book giveaway.
    • I restarted Logos, through the Logos prompt, to add the resource.
    • Logos opened to the maximized screen, but when I un-maximized the window the small screen was back.

    8831.LogosLogs.Jonathan.20131005-095529.zip

  • Jonathan
    Jonathan Member Posts: 671 ✭✭

    Any updates explaining what is happening? 

  • Jonathan
    Jonathan Member Posts: 671 ✭✭

    I updated Logos to the current beta, and it happens in the current beta as well.

  • Dylan Rondeau
    Dylan Rondeau Member, Logos Employee Posts: 1,401

    We have noticed that Mac isn't carrying the window size over between sessions as it's supposed to, which may play a part in this. We are looking into it and will update the thread again with what we find.

    Dylan Rondeau, Software Tester

    Enable Logging: Mac | Windows (Right-click "Save As...")

  • Dylan Rondeau
    Dylan Rondeau Member, Logos Employee Posts: 1,401

    Okay we should have a fix for you:

    • Open Logos to a blank layout, and resize the window to the size you want
    • Click the red X to close it
    • Click the tray icon to open Logos back up, and then quit the program
    • Open Logos again, and it should now overwrite your preferences and open to the new size

    Since the window size wasn't being written to preferences correctly, it was going back to some very old (and very small) size. I don't think we know where that small window preference came from, but it should be overwritten now when you close the program.

    Dylan Rondeau, Software Tester

    Enable Logging: Mac | Windows (Right-click "Save As...")

  • JT (alabama24)
    JT (alabama24) MVP Posts: 36,523

    Jonathan - what computers do you run Logos on?

    macOS, iOS & iPadOS |Logs| Install
    Choose Truth Over Tribe | Become a Joyful Outsider!

  • Jonathan
    Jonathan Member Posts: 671 ✭✭

    Okay we should have a fix for you:

    • Open Logos to a blank layout, and resize the window to the size you want
    • Click the red X to close it
    • Click the tray icon to open Logos back up, and then quit the program
    • Open Logos again, and it should now overwrite your preferences and open to the new size

    Since the window size wasn't being written to preferences correctly, it was going back to some very old (and very small) size. I don't think we know where that small window preference came from, but it should be overwritten now when you close the program.

    Will give that a try.

    However, is there not a way that Logos could be forced to save these settings by default? It seems like a complex workaround for a problem that has been persistent issue for many Mac users.

    alabama24 said:

    Jonathan - what computers do you run Logos on?

    Only this one:

    Technically, I do have a copy loaded on an old Windows 7 machine, but I haven't even turned that pc on in months (if not years).

  • JT (alabama24)
    JT (alabama24) MVP Posts: 36,523

    Jonathan said:

    Technically, I do have a copy loaded on an old Windows 7 machine, but I haven't even turned that pc on in months (if not years).

    Thanks. I had a theory, which I don't know if you situation applies or not. Before layouts were supposed to be able to sync… I DID have layouts sync from my MacBook to my iMac… (at least resources which were opened on one device but NOT opened on the other would be opened upon restart). My theory is/was that somehow screen resolution differences caused some of the problems. 

    macOS, iOS & iPadOS |Logs| Install
    Choose Truth Over Tribe | Become a Joyful Outsider!

  • Dylan Rondeau
    Dylan Rondeau Member, Logos Employee Posts: 1,401

    Jonathan said:

    However, is there not a way that Logos could be forced to save these settings by default?

    Sorry, I missed that in my description. My above steps are a workaround until a more permanent fix is implemented, since the app is supposed to save these by default.

    Dylan Rondeau, Software Tester

    Enable Logging: Mac | Windows (Right-click "Save As...")

  • Jonathan
    Jonathan Member Posts: 671 ✭✭

    Okay we should have a fix for you:

    • Open Logos to a blank layout, and resize the window to the size you want
    • Click the red X to close it
    • Click the tray icon to open Logos back up, and then quit the program
    • Open Logos again, and it should now overwrite your preferences and open to the new size

    Since the window size wasn't being written to preferences correctly, it was going back to some very old (and very small) size. I don't think we know where that small window preference came from, but it should be overwritten now when you close the program.

    Tried these steps on the day they were suggested. After update to resources today the screen was back (running latest beta). Unfortunately, I closed Logos and restarted without getting logs.

  • Jonathan
    Jonathan Member Posts: 671 ✭✭

    Jonathan said:

    Okay we should have a fix for you:

    • Open Logos to a blank layout, and resize the window to the size you want
    • Click the red X to close it
    • Click the tray icon to open Logos back up, and then quit the program
    • Open Logos again, and it should now overwrite your preferences and open to the new size

    Since the window size wasn't being written to preferences correctly, it was going back to some very old (and very small) size. I don't think we know where that small window preference came from, but it should be overwritten now when you close the program.

    Tried these steps on the day they were suggested. After update to resources today the screen was back (running latest beta). Unfortunately, I closed Logos and restarted without getting logs.

    Again... 

    Just received resource updates. Upon relaunch of Logos I got the small screen again. This time it was in a different spot, but still seems to be about the same size.

    Logs: 8420.LogosLogs.Jonathan.20131102-110636.zip

  • Dylan Rondeau
    Dylan Rondeau Member, Logos Employee Posts: 1,401

    Hi again Jonathan, Martin and I have looked at this again and this is what's happening. Here's where your normal preference is loaded:

    [code]

    Loaded window placement from preferences: Height=900|Left=0|State=Normal|Top=-22|Width=1440|WorkHeight=0|WorkLeft=0|WorkTop=0|WorkWidth=0

    [/code]

    Note that the size is correct, and the state is normal. Then, about 30 minutes later:

    [code]

    Saved window placement to preferences: Height=300|Left=0|State=Minimized|Top=878|Width=400|WorkHeight=0|WorkLeft=0|WorkTop=0|WorkWidth=0

    [/code]

    Here the new size is being saved to preferences, and the state is Minimized. This tells us that Logos is minimized (in the tray) when the app is restarting, and due to the way Apple saves window frames while minimized (essentially, it doesn't - they don't save the size the window was when in normal state) the window size gets saved as 300x400 - the minimum window size for Logos (rather than 0x0). Then when the app restarts, it pulls the saved window size and opens to the "small screen". 

    Next time you get an update please make sure the app is not minimized (restart via the notification bar) or, after downloading an update, just quit the program normally and start it up again. If you saw this earlier when restarting via the notification bar, that may have been due to the regression not saving window size that we worked around earlier (which has now been fixed). So even if it didn't work earlier, it might now.

    Also, make sure your saved layouts haven't been resized along the way, since each layout has its window size saved individually.

    Let us know the results of this. As far as we can see, there's nothing we can do here - it's a limitation in Apple's maximize/minimize window data.

    Dylan Rondeau, Software Tester

    Enable Logging: Mac | Windows (Right-click "Save As...")

  • Jonathan
    Jonathan Member Posts: 671 ✭✭

    Hi again Jonathan, Martin and I have looked at this again and this is what's happening. Here's where your normal preference is loaded:

    Loaded window placement from preferences: Height=900|Left=0|State=Normal|Top=-22|Width=1440|WorkHeight=0|WorkLeft=0|WorkTop=0|WorkWidth=0

    Note that the size is correct, and the state is normal. Then, about 30 minutes later:

    Saved window placement to preferences: Height=300|Left=0|State=Minimized|Top=878|Width=400|WorkHeight=0|WorkLeft=0|WorkTop=0|WorkWidth=0

    Here the new size is being saved to preferences, and the state is Minimized. This tells us that Logos is minimized (in the tray) when the app is restarting, and due to the way Apple saves window frames while minimized (essentially, it doesn't - they don't save the size the window was when in normal state) the window size gets saved as 300x400 - the minimum window size for Logos (rather than 0x0). Then when the app restarts, it pulls the saved window size and opens to the "small screen". 

    Next time you get an update please make sure the app is not minimized (restart via the notification bar) or, after downloading an update, just quit the program normally and start it up again. If you saw this earlier when restarting via the notification bar, that may have been due to the regression not saving window size that we worked around earlier (which has now been fixed). So even if it didn't work earlier, it might now.

    Also, make sure your saved layouts haven't been resized along the way, since each layout has its window size saved individually.

    Let us know the results of this. As far as we can see, there's nothing we can do here - it's a limitation in Apple's maximize/minimize window data.

    Thank you so very much for looking into this. I will let you know if I have any more problems with it.