View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017814 | MMW 5 | Skins | public | 2021-05-04 02:31 | 2021-05-12 21:45 |
Reporter | drakinite | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Product Version | 5.0.1 | ||||
Target Version | 5.0.1 | Fixed in Version | 5.0.1 | ||
Summary | 0017814: Startup issues when the main window was maximized before last close | ||||
Description | I noticed that on my primary install (2401), when any window loads (either on app startup or an extra dialog), for about one second, all text displays in the default serif font before it loads the correct font. The issue disappears when persistent.json is renamed/deleted. The question now is to figure out *what* in this persistent.json causes the problem - because we wouldn't want this to happen to other users. The problematic persistent.json is attached. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Fixed in build | 2403 | ||||
|
I cannot replicate with your persistent.json, probably because of other dependencies (like particular OS/system config, GPU etc.). As persistent.json is pretty-printed you can try eliminating individual sections in persistent.json to see which section is causing this (that could shed some light on it) |
|
Strangely, all it takes now is simply to open MediaMonkey in fullscreen and then restart it. WindowState in persistent.json when the font loads incorrectly: "WindowState": { "dlgMainWindow": { "Left": -1, "Top": -1, "Width": -1, "Height": -1, "State": 2, "PrevState": 2 }, WindowState in persistent.json when the font loads correctly: "WindowState": { "dlgMainWindow": { "Left": -1, "Top": -1, "Width": -1, "Height": -1, "State": 0, "PrevState": 0 }, I can change the "State" and "PrevState" values from 0 to 2, and back again, and it enables/disables the issue. Can you reproduce by doing the same? |
|
I can confirm that with "State": 2 (which means maximized widnow) the fonts are initially incorrect for 1 second (default serif font before it loads the correct font). Assigned to Petr to look into it as it sounds like a window management issue. So steps to replicate are: 1) Open MM5 and maximize the window 2) Restart MM5 => window repositioning and blinking appears for 1 second + the font is the default font initially (for another second) and then the correct font is shown So it seems that in case of maximized window the window is shown _earlier_ than it actually should. This can be also confirmed by seeing the splash screen window still showing while the main window is in the "blinking and incorrect font" loading state. |
|
Fixed |
|
Verified 2404 |