Warnings when closing a display containing an embedded display
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start with JFXRepresentation.java at the shutdown() method linked in the issue, then trace how parent and embedded-display disposal are scheduled on the UI thread. Reproduce closing a screen containing an embedded display and inspect the shutdown warning. Done means the disposal order no longer logs the warning while still disposing the embedded display’s widgets.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
We have noticed that we get the following warning in the console when we close a screen that contained an embedded display widget:
WARNING [org.csstudio.display.builder.representation] Display representation still contains items on shutdown: [Pane@3eba30d5]
After looking at the code this is what I think it happening:
- When you close the (parent) screen it starts to dispose of the widgets on the screen, which includes an embedded display widget.
- It calls
dispose()on the embedded screen, which schedules a task to be run on the UI thread to dispose of the widgets in that embedded screen. - But the the shutting down of the parent screen continues and occupies the UI thread meaning the above task cannot run yet.
- Before this task to dispose of the embedded display widgets has chance to run, we hit the final
shutdown()method, which checks to see whether there are any children that haven't been disposed of yet. In this case there is, the embedded display, and so it logs the warning that we see in the console. - Shortly after we see the embedded display run through disposing of its widgets as it can now run on the UI thread.
This doesn't seem to have any impact on functionality but maybe there is a better way to handle this?
- Lingua principale
- Java
- Stelle
- 130
- Fork
- 132
- Merge medio
- 2g 11h
- PR unite (30g)
- 19
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ControlSystemStudio/phoebus
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
ControlSystemStudio/phoebus#3983 ·
I maintainer di solito rispondono entro 2 giorni
-
Create CONTRIBUTING.mdAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ControlSystemStudio/phoebus#3979 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
ControlSystemStudio/phoebus#3962 ·
I maintainer di solito rispondono entro 2 giorni
-
PVA/SPVA: track SPVA version independently and move XDG keychain dir pva/<ver> -> spva/<n.n.n>Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
ControlSystemStudio/phoebus#3865 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 52/100
ControlSystemStudio/phoebus#3980 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di ControlSystemStudio/phoebus
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefixForse già presa @ItsDeadlyProgrammer l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
appsmithorg/appsmith#42471 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
code-maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
bug priority: medium Review effort [1-5]: 3 status: needs-triage type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
carlos-emr/carlos#5258 ·
I maintainer di solito rispondono entro 1 giorno