Skip to content

[Crash]Wingpanel is crashed if <Alt><number> pressed in GridView where <number> exceeds number of pages #576

@jeremypw

Description

@jeremypw

What Happened?

Opened Applications Menu in GridView. Pressed <Alt>5. Applications Menu crashes and wingpanel crashes/closes (restarts automatically).

Steps to Reproduce

  1. Open Applications Menu (in GridView)
  2. Press <Alt>2
  3. GridView scrolls to page 2
  4. Press <Alt><number> where exceeds number of pages in GridView
  5. Observe crash

Expected Behavior

Invalid GridView page shortcuts should be ignored.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

(switchboard-plugin:11662): Gtk-CRITICAL **: 11:36:53.478: gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
**
ERROR:../src/Views/GridView.vala:137:slingshot_widgets_grid_get_page: assertion failed: (number > 0 && number <= get_n_pages ())
Bail out! ERROR:../src/Views/GridView.vala:137:slingshot_widgets_grid_get_page: assertion failed: (number > 0 && number <= get_n_pages ())


### Hardware Info

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConfirmedVerified by someone other than the reporter

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions