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

Abierto
#1,339 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp, linux
Área
desktop

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
C
Estrellas
10
Forks
8
Merge medio
6 h 32 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de FriendsofECCE/ECCE

Todos los issues de FriendsofECCE/ECCE

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.