queryverse / queryverse/ElectronDisplay.jl

loose ends with plots/gr

Open
#16 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
89
Forks
17
Avg merge
19h 47m
Merged PRs (30d)
5

Description

Try:
using Plots
using ElectronDisplay
plot(1:4,11:14) # boring plot

For a moment, the gtk window appears as drawn by gr. Then it is replaced by the electron window. But, not really. The electron window gets the foreground. GTK is still running.

One cannot close the electron window. plots closeall() function no longer works, which means that gr figure is also still hanging around.

Look at the source code quickly. Seemingly, no way to manage the gui window. Guess it hangs around indefinitely.

Golly, gosh. Sigh. Early days.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Julia example using Plots, ElectronDisplay, and plot(1:4, 11:14), then inspect the ElectronDisplay source and its window-management entry points. Trace why the Electron and GR/GTK windows remain active and why Plots.closeall() no longer closes them. Done means the Electron window can be closed and the existing plot cleanup also removes the GR/GTK window.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, julia
Domain
data-visualization, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.