Skip to content

Desktop: Support triple-click inputs#3671

Merged
timon-schelling merged 2 commits intoGraphiteEditor:masterfrom
he1senbrg:fix-triple-click
Feb 3, 2026
Merged

Desktop: Support triple-click inputs#3671
timon-schelling merged 2 commits intoGraphiteEditor:masterfrom
he1senbrg:fix-triple-click

Conversation

@he1senbrg
Copy link
Contributor

Before

triple-click-before.mp4

After

triple-click-after.mp4

This PR fixes triple-clicking text not selecting the entire paragraph on desktop.

Closes #3596

@timon-schelling timon-schelling changed the title Fix triple-click text to select paragraph on desktop Desktop: Support Tripple Click Jan 23, 2026
@timon-schelling timon-schelling changed the title Desktop: Support Tripple Click Desktop: Support tripple click Jan 23, 2026
Copy link
Member

@timon-schelling timon-schelling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing, will test this later.

@he1senbrg he1senbrg force-pushed the fix-triple-click branch 2 times, most recently from 4fe0887 to b2b1e25 Compare January 27, 2026 12:12
@timon-schelling
Copy link
Member

timon-schelling commented Feb 2, 2026

change needed because of this frontend code.
We can have a discussion if that behavior is correct in the future.

	function onPotentialDoubleClick(e: MouseEvent) {
		...
		// Allow only repeated increments of double-clicks (not 1, 3, 5, etc.)
		if (e.detail % 2 == 1) return;

@Keavon Keavon changed the title Desktop: Support tripple click Desktop: Support triple-click inputs Feb 2, 2026
@timon-schelling timon-schelling enabled auto-merge (squash) February 3, 2026 11:59
@timon-schelling timon-schelling merged commit 2e29777 into GraphiteEditor:master Feb 3, 2026
3 checks passed
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.

Triple-click text to select paragraph (Linux Desktop)

2 participants