Organizer desk blank after restoring a minimized window, when the tree changed while it was minimized

Ouverte
#1,339 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
30/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
cpp, linux
Domaine
desktop

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

bug

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).

Langage dominant
C
Étoiles
10
Forks
8
Merge moyen
6 h 32 min
PR mergées (30 j)
1

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de FriendsofECCE/ECCE

Toutes les issues de FriendsofECCE/ECCE

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.