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

Drop down menu options select the wrong item or do not respond to mouse clicks #206

Closed
chambers opened this issue Sep 2, 2023 · 22 comments
Labels
priority: high Affects basic and core functionnalities of the software in a way that severly degrades usability regression

Comments

@chambers
Copy link

chambers commented Sep 2, 2023

Description of the bug

When an item in a drop down menu is selected with the mouse, the application selects the wrong menu item OR the application does not select any item in the list and leaves the drop down menu open. Using the scroll wheel works as a workaround to this issue.

To Reproduce

The bug is prevalent throughout the entire application. Select any drop down menu within a module, such as the Input Color Profile module. Try to change the working profile to something else, such as Linear ProPhoto RGB. The application will occasionally select the wrong menu item, or it will not select any item at all.

Expected behavior

Expected to use the left mouse button to select a module drop down menu item.

Context

Standard use of the application. The bug makes the application very difficult and cumbersome to use.

System

I used AUR to install, package: ansel-git

  • Ansel version : 0.0.0+388~g43e4fcebe
  • OS : Linux 6.4.12-arch1-1 x86_64
  • Linux - Distro : EndeavourOS
  • Memory : 8GB
  • Graphics card : AMD Radeon 7340 (old laptop)
  • Graphics driver : radeon
  • OpenCL installed : N/A
  • OpenCL activated : N/A
  • Desktop : XFCE 4.18
  • GTK+ : v3.24.38
  • gcc : 13.2.1 20230801

Additional context

  • Can you reproduce with another darktable version(s)? no
  • Can you reproduce with a RAW or Jpeg or both? N/A
  • Are the steps above reproducible with a fresh edit (i.e. after discarding history)? N/A
  • If the issue is with the output image, attach an XMP file if (you'll have to change the extension to .txt)
  • Is the issue still present using an empty/new config-dir (e.g. start darktable with --configdir "/tmp")? Yes, I only just installed the application.
  • Do you use lua scripts? No
@Jiyone
Copy link
Collaborator

Jiyone commented Sep 2, 2023

It looks like a bad division on the recorded x position of the cursor

@lukadh lukadh added priority: medium Affects basic and core functionnalities of the software in a way that mildly degrades usability regression priority: high Affects basic and core functionnalities of the software in a way that severly degrades usability and removed priority: medium Affects basic and core functionnalities of the software in a way that mildly degrades usability labels Sep 2, 2023
@dnlyko
Copy link

dnlyko commented Oct 20, 2023

Just wondering if this is going to be fixed. On the windows version it is almost impossible to select.
Guided Laplacians in 'Highlight Reconstruction' or
Aspect in the 'Crop' module.
I have tried previous Windows versions and it seems fine on 26afc2 so some wires must have crossed after the June 25 Windows release.

@Jiyone
Copy link
Collaborator

Jiyone commented Oct 21, 2023

@dnlyko you can use the arrow keys and enter to select an option in the comboboxes ;)

@pjhyor7
Copy link

pjhyor7 commented Nov 4, 2023

I have the same problem on Windows 10 on Ansel v 06d9cda. As said this is a very interfering problem. It can be overcome by scrolling the mouse wheel once option is selected, but this isn't ideal and not as able to select the exact option you want by just clicking.

@vtyrtov
Copy link

vtyrtov commented Nov 4, 2023

The cause of the problem is the INNER_PADDING constant in the src/bauhaus/bauhaus.c file. Setting the value to 0 solves it.

@dnlyko
Copy link

dnlyko commented Nov 4, 2023

The cause of the problem is the INNER_PADDING constant in the src/bauhaus/bauhaus.c file. Setting the value to 0 solves it.

Is this issue going to be addressed at development level or does the end-user need to make a change locally?

@Jiyone
Copy link
Collaborator

Jiyone commented Nov 5, 2023

The cause of the problem is the INNER_PADDING constant in the src/bauhaus/bauhaus.c file. Setting the value to 0 solves it.

This is absolutely not the cause of the issue, this has not been changed since 4 years.
There are some lines using INNER_PADDING that have been modified by @aurelienpierre and some other not, so your fix might introduce issues.

@vtyrtov
Copy link

vtyrtov commented Nov 5, 2023

The cause of the problem is the INNER_PADDING constant in the src/bauhaus/bauhaus.c file. Setting the value to 0 solves it.

This is absolutely not the cause of the issue, this has not been changed since 4 years. There are some lines using INNER_PADDING that have been modified by @aurelienpierre and some other not, so your fix might introduce issues.

@Jiyone, I agree, but at least it made it possible to use the filter menu. I hope in the future the problem will be solved by the author.

@Jiyone
Copy link
Collaborator

Jiyone commented Nov 5, 2023

A solution could be to remove + INNER_PADDING from line 2028.

@dnlyko
Copy link

dnlyko commented Nov 5, 2023

A solution could be to remove + INNER_PADDING from line 2028.

From what file in what folder (tree please) ?

@Jiyone
Copy link
Collaborator

Jiyone commented Nov 6, 2023

From src/bauhaus/bauhaus.c

@dnlyko
Copy link

dnlyko commented Nov 6, 2023

From src/bauhaus/bauhaus.c

On my Windows 11 PC there are no files that are in any 'src' folder named '/bauhaus/bauhaus.c'
I do not compile I just download the latest ~win64.exe to install.

@Jiyone
Copy link
Collaborator

Jiyone commented Nov 6, 2023

@dnlyko yes this is for people who compile. 🤓

@AlynxZhou
Copy link

I'll have a try and look at the code if I have time.

@lukadh
Copy link
Collaborator

lukadh commented Nov 22, 2023

Hey @AlynxZhou,
from what I have gathered in the matrix chat @aurelienpierre is already knees deep in fixing this issue as part of a bigger rewrite. So you might want to check with him before investing a lot of time

@AlynxZhou
Copy link

@lukadh Thanks!

@AlynxZhou
Copy link

A solution could be to remove + INNER_PADDING from line 2028.

I confirm this is a workaround.

@aurelienpierre
Copy link
Collaborator

Fixed by 48a86a9

@AlynxZhou
Copy link

Just build 57ed58d and I confirm this has been fixed! Good job!

Also I really like the taller line height of menu item now because it is easier to click.

@dnlyko
Copy link

dnlyko commented Nov 25, 2023

@aurelienpierre Does not work properly in Crop module. Stuck on Freehand

@lukadh
Copy link
Collaborator

lukadh commented Nov 25, 2023

Same here on Pop_OS self-built 57ed58d

In the crop module I can only change the ratio by mousewheel or arrows, but not selecting a list item by clicking. I have only encountered the issue in the crop module so far.

@lukadh lukadh reopened this Nov 25, 2023
@lukadh
Copy link
Collaborator

lukadh commented Nov 26, 2023

The selection seems to be fixed with either dbf4f4f or 633d9b7

@lukadh lukadh closed this as completed Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high Affects basic and core functionnalities of the software in a way that severly degrades usability regression
Projects
None yet
Development

No branches or pull requests

8 participants