Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W weston
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 316
    • Issues 316
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 118
    • Merge requests 118
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wayland
  • weston
  • Issues
  • #53

Closed
Open
Created Sep 17, 2014 by Bugzilla Migration User@bugzilla-migration

Use toytoolkit in a test for interactive window move

Submitted by Pekka Paalanen

Assigned to Wayland bug list

Link to original bug (#83990)

Description

Write a test, that:

  1. creates a window with normal decorations using toytoolkit
  2. check the window position via the test extension
  3. sends fake input events 3.1. move the pointer over the window title bar 3.2. button down 3.3. move the pointer to another place 3.4. button up
  4. check the window position via the test extension, that it moved correctly

This sounds simple, but requires one to write the infrastructure for using toytoolkit in tests, maybe change how wl_test pointer events are done, and add a way to query surface location.

For examples, see https://github.com/01org/wayland-fits for the test protocol and the weston plugin.

If bug #83987 is implemented, can also add screenshot based verification, which would make sure that toytoolkit draws decorations properly. But that opens a whole new road for adding tests.

Blocking

  • Bug 83980
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking