Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dt crash while using Ctrl/Shift key + click & move on (some) modules #14323

Closed
manu-p opened this issue Apr 25, 2023 · 2 comments
Closed

dt crash while using Ctrl/Shift key + click & move on (some) modules #14323

manu-p opened this issue Apr 25, 2023 · 2 comments

Comments

@manu-p
Copy link

manu-p commented Apr 25, 2023

Describe the bug

dt crashes everytime I press the Ctrl or Shift key and click and move the mouse while in, at least, the rotate and perspective module.
Some have reported crashes while zooming in the picture (Ctrl + mouse wheel), maybe something related?

Steps to reproduce

  1. open a photo in the darkroom
  2. select rotate and perspective
  3. press the Ctrl or Shift key and click and move the mouse in the picture
  4. the image turns grey
  5. working... is displayed and disappears after a few seconds
  6. the image is still greyed
  7. click on the module or any other one
  8. dt crashes

Expected behavior

dt should not crash

Logfile | Screenshot | Screencast

A screencast of what's happening: click to see the screencast
At first we're looking at the ~/.config/darktable directory, then dt is started and the 2 lock files are created.
In dt I open a photo in the darkroom and select the rotate and perspective module.
In the picture area, while pressing the Ctrl or Shift key plus click and move the mouse (which is not the right way to draw a line, I admid it) the area is greyed and after a while and another click, dt crashes...
The 2 lock files are still there (which is not surprinsing after a crash).

Output of darktable -d all starting when I just selected the rotate and perspective module

Commit

No response

Where did you install darktable from?

OBS

darktable version

4.2.1

What OS are you using?

Linux

What is the version of your OS?

Ubuntu 22.04.2

Describe your system?

RAM : 12Go
X11

Are you using OpenCL GPU in darktable?

Yes.
Same thing when OpenCL is Off

If yes, what is the GPU card and driver?

NVIDIA GK107GLM [Quadro K1000M] nvidia-driver-390

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

darktable resources: large

@manu-p manu-p changed the title dt crash while using Ctrl key on (some) modules dt crash while using Ctrl/Shift key + click & move on (some) modules Apr 25, 2023
@ralfbrown
Copy link
Collaborator

Unable to reproduce in master. Shift-Drag and Ctrl-Drag are used for de-selecting automatically detected lines and since none of the three detection modes (manual lines, manual rectangle, automatic lines) are active they should do nothing. Other than changing the mouse pointer, that is exactly what I saw.

There was a recent fix to make right-click-drag not draw the horizon line for rotation when other on-image controls are active, and I suspect that this has fixed your problem.

@manu-p
Copy link
Author

manu-p commented Apr 25, 2023

Thanks @ralfbrown.

So I'll wait for the next release and avoid to Crtl/Shift drag in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants