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

Sandboxie Plus main window can be stuck if it is in a maximized state #1169

Closed
isaak654 opened this issue Sep 5, 2021 · 4 comments
Closed
Labels
fixed in next build Fixed in the next Sandboxie version Known issue Old known Sandboxie issues User interface Related to Plus and/or Classic UIs Workaround Temporary or alternative solution

Comments

@isaak654
Copy link
Collaborator

isaak654 commented Sep 5, 2021

Requirement before reproduce it: make sure to have already unchecked the "Always on Top" option on the "View" menu

Steps to reproduce the behavior:

  1. Open Sandboxie Plus and double click on the title bar to enlarge the window as maximized
  2. Go to Options -> Global Settings
  3. Set another language like Nederlands -> press Ok
  4. Exit from Sandboxie Plus and reopen it
  5. Select another language like Deutsch -> press Ok
  6. Exit from Sandboxie Plus and reopen it
  7. Select "Always on Top" on the "View" menu ("Ansicht" -> "Immer oben" in german)
  8. Double click on the main title bar continuosly
  9. You won't be able to resize the window as before and turning off "Always on Top" option won't help.

Workaround:

  • Exit from Sbie Plus and remove all [MainWindow] section from Sandboxie-Plus.ini in order to be able to resize the window normally (this is the best way to clean all broken windows states)

System details and installed software:
Windows 10 Pro 21H1
Tested on Sandboxie Plus 0.9.5, 0.9.6, 1.0.4

@isaak654 isaak654 added the User interface Related to Plus and/or Classic UIs label Sep 5, 2021
@isaak654 isaak654 changed the title Sandboxie Plus title changes position when you double-click the title bar Sandboxie Plus resize issue when you double-click the title bar Sep 5, 2021
@isaak654 isaak654 changed the title Sandboxie Plus resize issue when you double-click the title bar Sandboxie Plus window size is stuck when you double click the title bar Sep 7, 2021
@isaak654 isaak654 added Must-fix help wanted Extra help is needed labels Sep 7, 2021
@isaak654 isaak654 changed the title Sandboxie Plus window size is stuck when you double click the title bar Sandboxie Plus window size can be stuck when you double click the title bar Sep 8, 2021
@isaak654 isaak654 changed the title Sandboxie Plus window size can be stuck when you double click the title bar Sandboxie Plus window size can be stuck in full screen when you double click the title bar Sep 8, 2021
@hg421
Copy link
Contributor

hg421 commented Sep 8, 2021

Workaround: Exit from Sbie Plus and remove all [MainWindow] section from Sandboxie-Plus.ini in order to be able to resize the window normally.

is that really necessary? I was able to resize it normally by first dragging it a bit to the side

@isaak654
Copy link
Collaborator Author

isaak654 commented Sep 8, 2021

Workaround: Exit from Sbie Plus and remove all [MainWindow] section from Sandboxie-Plus.ini in order to be able to resize the window normally.

is that really necessary? I was able to resize it normally by first dragging it a bit to the side

Effectively this works if you keep the left-click button pressed on the title bar.

@isaak654 isaak654 added the Workaround Temporary or alternative solution label Sep 8, 2021
@isaak654 isaak654 added to investigate Known issue Old known Sandboxie issues Bug Something isn't working labels Sep 23, 2021
@DavidXanatos DavidXanatos added wontfix This will not be worked on and removed Bug Something isn't working to investigate labels Dec 23, 2021
@DavidXanatos
Copy link
Member

The graphical issue is caused by the difference between the text position rendered on a maximized window (no border) and a normalized window which has the size of being maximized, nothing here to fix for me

@isaak654
Copy link
Collaborator Author

isaak654 commented Dec 25, 2021

To be thorough, you also wrote another thing about this issue on Slack:

if qt does not always saved the window state properly and the issue is minimal ther eis no point in manually improving on qt's window satet save/restore routine

After further researches:

This appears something that could be fixed without too much complexity.. I might be wrong, but in the meantime I'm going to reopen this issue fur further confirmation:

Using Qt 5.10.0, I have trouble restoring a window layout on a 3 screen setups. More exactly: I have 3 QMainWindow opened and maximized on 3 different screens (2 of them being child of a "main" one). Then I want to apply another layout, eg. to have the windows maximized on different screens. This fails. Typically, a window won't change screen, despite QWidget::restoreGeometry gets a proper argument.

What I can bring to help on the topic is this: I could solve the problem by calling showNormal() on each window that has to be maximized on a new screen. Calling setWindowState(Qt::WindowNoState) alone is not enough.

I take this opportunity to wish you happy holidays!

@isaak654 isaak654 reopened this Dec 25, 2021
@isaak654 isaak654 added the Confirmation pending Further confirmation is requested label Dec 25, 2021
@isaak654 isaak654 changed the title Sandboxie Plus window size can be stuck in full screen when you double click the title bar Sandboxie Plus main window can be stuck if the window is in a maximized state Dec 25, 2021
@isaak654 isaak654 removed the wontfix This will not be worked on label Dec 25, 2021
@isaak654 isaak654 changed the title Sandboxie Plus main window can be stuck if the window is in a maximized state Sandboxie Plus main window can be stuck if it is in a maximized state Dec 25, 2021
@DavidXanatos DavidXanatos added the fixed in next build Fixed in the next Sandboxie version label Feb 2, 2022
@isaak654 isaak654 removed help wanted Extra help is needed Confirmation pending Further confirmation is requested labels Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in next build Fixed in the next Sandboxie version Known issue Old known Sandboxie issues User interface Related to Plus and/or Classic UIs Workaround Temporary or alternative solution
Projects
None yet
Development

No branches or pull requests

3 participants