Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,433
    • Issues 1,433
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 246
    • Merge requests 246
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gtkgtk
  • Issues
  • #700

Closed
Open
Created Nov 07, 2016 by Bugzilla@bugzilla-migration💬Reporter

GtkShortcutsWindow: may end up unusable on small screens

Submitted by Christian Stadelmann

Link to original bug (#774075)

Description

Steps to reproduce:

  1. have a small screen or set your screen resolution low in gnome-control-center. More details below
  2. open any Gtk+ 3.x application
  3. open the shortcuts window

What happens: In some application, the shortcuts window ends up being too large for the screen so it cannot be used.

What should happen: No window should be too large for the screen. All window controls must be usable (I'll report a separate bug for that). It must be possible to get to the next page.

Additional information: This issue could be solved on an application level, but I think a toolkit level solution would be preferred because

  • it is cleaner
  • it involves less code changes
  • applications don't really want to care about this

Some examples: nautilus, gedit, gnome-builder (all maximized), screen width 1024px: window controls cannot be used unless the user moves GtkShortcutsWindow to the left. nautilus, screen height 786px: Section switcher is drawn out of monitor unless you move GtkShortcutsWindow up. nautilus, screen height 720px: Section switcher is drawn out of monitor and you can't get it to the screen. Impossible to switch section.

I have an idea how to solve this issue: Deprecate and remove (or at least ignore) GtkShortcutsSection and let the toolkit decide how many GtkShortcutsGroups to place per section (page). Allow the toolkit to split shortcuts of a GtkShortcutsGroup over multiple pages. This would involve an API break so it probably should be done before 4.0 gets stable.

Version: 3.22.x

See also

  • Bug 771233
Assignee
Assign to
Time tracking