Organizer desk blank after restoring a minimized window, when the tree changed while it was minimized
還沒有人認領這個 Issue。
評估
研究方向
Start with the CallAfter in CalcMgr's setContextPanel and the 1x1 allocation noted at ToolTabs.C:1280, then reproduce by iconizing the Organizer, changing job state, and restoring it. Check whether the desk panel gets sized or refreshed after the window is restored (wxEVT_ICONIZE, SizeWindows, Layout, Refresh). Done means the desk hook reports the expected size and shown state after restore, without a click.
由索引模型根據 Issue 內容生成。
描述
Seen in 9.6.1 on Linux/X11 (tabs, ECCE_ONE_PROCESS=1). Steps: the Organizer was minimized. Meanwhile two ORCA jobs were submitted from outside the GUI (ecce-launch), so the job store and broker updated the tree while the window was minimized. The window was then maximized again. The desk (right pane) stayed blank until a click.
The live process was idle in gtk_main with nothing waiting to paint, so no redraw had been requested. Likely mechanism: the desk panel is rebuilt by the state change WHILE the window is unmapped. The CallAfter in CalcMgr's setContextPanel (the #1237 fallback) then runs when nothing is on screen. Restoring the window does not size or repaint that panel again, matching the 1x1 GTK allocation described at ToolTabs.C:1280.
Fix to try: when the window is restored (wxEVT_ICONIZE with IsIconized()==false, and a maximize), redo the desk sizing: SizeWindows, Layout, Refresh.
Test: iconize through a hook, change the selected item's state (or refresh the context), restore, then read the desk hook (size and shown).
- 主要語言
- C
- 星號
- 10
- 分支
- 8
- 平均合併
- 6 小時 32 分鐘
- 30 天內合併 PR
- 1
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
FriendsofECCE/ECCE 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
FriendsofECCE/ECCE#1353 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
FriendsofECCE/ECCE#1348 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
FriendsofECCE/ECCE#1345 ·
查看 FriendsofECCE/ECCE 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
vincentarelbundock/xtx#11 ·
-
難度 1/5 1-3 小時 新手友好度 88/100
-
難度 2/5 1-3 小時 新手友好度 70/100
compiler-explorer/compiler-explorer#9738 ·
維護者通常 2 天內回覆
-
難度 1/5 1-3 小時 新手友好度 88/100
維護者通常 3 天內回覆
-
[Android Auto] MU1017 (MHI2Q_JP_AUG22_P1017) cluster map works with a pinned profile — values inside未關閉
難度 1/5 1 小時以內 新手友好度 92/100
kamgurgul/mib2q-carplay#74 ·