jMonkeyEngine / jMonkeyEngine/sdk

[UX] Inconsistent file tree element hitbox between LMB and RMB click

Open
#665 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
348
Forks
104
Avg merge
4d 13h
Merged PRs (30d)
3

Description

This is probably an upstream issue, but both in projects and files tabs' file trees, the behavior is different when clicking with RMB or LMB.

Image

When clicking with LMB: clicking anywhere in the blue area will be treated as a click on the element. This should (at least in my opinion) be the behavior for both LMB and RMB clicks.

When clicking with RMB: clicking in the orange outlined area (basically over the text of the element) will be treated as a RMB click on the item, while clicking anywhere else in the blue area will be treated as RMB click on no element

Might be just a me issue, but somehow I manage to rather often miss the text element itself, as most other programs allow the whole line in a tree view to be used as a hitbox, so I'd like to open the discussion if this is intended behavior or could we maybe do something about this.

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 hitbox difference in the projects and files tabs' file trees using both left- and right-click. Locate the file-tree entry points and compare how each mouse button resolves the selected item; done means the full row is treated consistently for both clicks in both tabs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.