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,432
    • Issues 1,432
    • 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
  • #972

Closed
Open
Created Nov 10, 2017 by Bugzilla@bugzilla-migration💬Reporter

ListBox doesn't skip unselectable items when cursor moving but...

Submitted by bug..@..out.nl

Link to original bug (#790174)

Description

... select_row() does not update the internal move pointer.

Trying to create empty ListBox items that are skipped during cursor movement.

I can achieve skipping using event handlers.

Unselectable rows still consume a cursor movement.

So the internal cursor movement does get stuck on the unselectable item, and you can even fire the activation event on it.

It is possible to skip using select_row, however,

This does not advance or change the internal movement cursor.

So while the former may be called a "feature", the latter is a clear omission.

I realize that it is probably possible to change this cursor using the GtkAdjustment.

Regardless:

  • using select_row() should change the cursor position for keys
  • unselectable rows should not be valid values for the cursor position.

Version: 3.18.x

Assignee
Assign to
Time tracking