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

Make screenshots auto-scale and height-for-width

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Adrien Plazas requested to merge aplazas/gnome-software:resizable-screenshot into main Jul 27, 2021
  • Overview 43
  • Commits 5
  • Pipelines 4
  • Changes 9

This adds and use GsPicture which is like GtkImage but auto scaling and height-for-width.

This requires a recent bugfix from libhandy that hasn't been released yet.

Capture_d_écran_vidéo_de_27-07-2021_20_15_54

While the screencast is slow, it isn't slow when testing locally. :) And in practice it shouldn't be slower than what was there before: the main difference is we may need to redraw the screenshots when resizing the window, but that's acceptable.

Edited Jul 27, 2021 by Adrien Plazas
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: resizable-screenshot