8000 Random Crash after showing/hiding left/top/bottom panels · Issue #19040 · darktable-org/darktable · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Random Crash after showing/hiding left/top/bottom panels #19040
Open
@leonidas111

Description

@leonidas111

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

I created a lua script to show/hide the left/bottom/top panels and enter the fullscreen mode.
I assigned F12 for triggering this event. After pressing F12 a few times, with a delay of a few seconds lets say, I got a crash sometimes, after a number of times.

`-- show all just in case
dt.gui.panel_show_all()

dt.register_event(MODULE, "shortcut",
function(event, shortcut)
-- do stuff
local panels = {"DT_UI_PANEL_CENTER_TOP", -- center top panel
"DT_UI_PANEL_CENTER_BOTTOM", -- center bottom panel
"DT_UI_PANEL_TOP", -- complete top panel
"DT_UI_PANEL_LEFT", -- left panel
"DT_UI_PANEL_BOTTOM"} -- complete bottom panel

for i = 1, #panels do
  if dt.gui.panel_visible(panels[i]) then
	dt.gui.panel_hide(panels[i])
  else
	dt.gui.panel_show(panels[i])
  end
end

dt.gui.action("global/fullscreen", 1.000)

end, "toggle panels"
)`

Steps to reproduce

See above in description

Expected behavior

no crash

Logfile | Screenshot | Screencast

debug.log

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

darktable 5.3.0+24~gab60bc56a0

What OS are you using?

Windows

What is the version of your OS?

windows 11

Describe your system

everything in debug file

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

everything in debug file

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0