MComix does not open in maximised mode.
Everytime I start MComix, it doesn't open in maximised window mode. Even previous session I maximised it and closed, but next open still not in maximised mode.
I can't be bothered to fix this bug properly, but here's my quick and dirty workaround: replace (comment out) the line
self.restore_window_geometry()
with
#self.restore_window_geometry()
self.maximize()
in the file main.py, line 263. in the 2.1.0. release.
Note that this way it will never restore the previous size, always starts maximized.
(The real solution would be to call is_maximized() in the function save_window_geometry(), store the result in the preferences file, and use it in restore_window_geometry(), but I'll leave this to the devs...)
👍
1
Last edit: Nano Anon 2023-02-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you are using Windows and running "mcomix.exe" you can't simply modify the app, and I can't help you with that, either. You have to wait until the project maintainers solve this problem in the next release. I submitted a patch with my solution, that's all I can do now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Environment: Windows 10 64 bit.
same problem here, tried all possible solutions i could think off, but none worked, hope this gets fixed
same here
I can't be bothered to fix this bug properly, but here's my quick and dirty workaround: replace (comment out) the line
with
in the file main.py, line 263. in the 2.1.0. release.
Note that this way it will never restore the previous size, always starts maximized.
(The real solution would be to call is_maximized() in the function save_window_geometry(), store the result in the preferences file, and use it in restore_window_geometry(), but I'll leave this to the devs...)
Last edit: Nano Anon 2023-02-12
can you tell me where i can find the main.py file, didnt find it anywhere
It's in the "mcomix-2.1.0/mcomix/" folder in the .zip or .tar.gz archives that you can download here. After modifying the file you have to reinstall.
If you are using the Windows binary then I'm afraid you are out of luck.
what do you mean by windows binary?
If you are using Windows and running "mcomix.exe" you can't simply modify the app, and I can't help you with that, either. You have to wait until the project maintainers solve this problem in the next release. I submitted a patch with my solution, that's all I can do now.
I see, Thanks for your help, and i hope the maintainers solve this soon
It appears that MComix simply did not remember that the window was maximized before, and thus didn't restore it this way. This should be fixed now.