Skip to content

Touch & usability fixes - #430

Open
i404788 wants to merge 4 commits into
fougue:developfrom
i404788:develop
Open

i404788 wants to merge 4 commits into
fougue:developfrom
i404788:develop

Conversation

@i404788

@i404788 i404788 commented Oct 22, 2026

Copy link
Copy Markdown

Contributor Agreement

Description

This PR fixes a few usability fixes I found while using it on a touch device. I haven't spend the time to clean it up yet, since you may not want to merge it.

Anyway it fixes/adds the following:

  • Ergnomic touch support (touch handling, higher button area, context menu on long hold, zoom/drag gestures on 3d view, double tap for file open actions in menus, kinematic scrolling in menus)
  • DXF loading from windows (CRLF new lines)
  • Add DXF measurement annotations importing
  • Add center-to-min-distance (e.g. for circle to line measurements)
  • Add Delta measurement text to 2 point measurements
  • Fix high loading time when switching between (pre-loaded) networked files
  • Moved (network) folder loading off main-thread to keep the UI responsive
  • Add dockerfile for easier builds ondebian (probably not necessary upstream)

It was largely autogenerated, then reviewed/qc'ed by me.

@HuguesDelorme

Copy link
Copy Markdown
Member

Thanks for your PR !

It contains several interesting fixes and improvements. However the PR covers multiple unrelated topics which makes it harder to review.

Could you split it into separate PRs and start with one containing only the touch support changes?

- Reuse QtWidgetsUtils::enableTouchScrolling in WidgetFileSystem
- Centralize touch point extraction and double-tap detection
- Replace raw QTreeWidgetItem pointer tracking with persistent model indexes
- Replace the QTimer dynamic property with explicit state
- Use dedicated tap/long-press timings instead of drag settings
- Ignore multi-touch presses in the model tree long-press handler
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

Successfully merging this pull request may close these issues.

2 participants