Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • fractal fractal
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 283
    • Issues 283
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • fractalfractal
  • Merge requests
  • !371

widgets/message.rs: Implement hold to right click

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Christopher Davis requested to merge BrainBlasted/fractal:wip/christopherdavis/hold-to-right-click into master Jan 31, 2019
  • Overview 6
  • Commits 1
  • Pipelines 3
  • Changes 2

Right click is not possible on touchscreens, so our right click menu would be inaccessible.

Here we use GtkGestureLongPress to create our right click menu, but only on touch devices.

There's one quirk, and it's that we aren't picking up selected text with the gesture. This is similar to how other mobile clients do it, allowing you to only copy all the text rather than a selection. Would we want to keep that behavior here?

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/christopherdavis/hold-to-right-click