"Pop out of group" command doesn't work with Ctrl+click selections

Migrated from https://bugs.launchpad.net/inkscape/+bug/1801694

Heavily edited based on discussion below and new fixes.

Steps to reproduce:

  • create multiple objects in Inkscape
  • Group the objects
  • Ctrl+Click to select one object
  • Right click, "pop out of group" is unavailable
  • Go to Objects > Pop selected objects out of group

What happened?

  • Pop out of group is unavailable from the context menu when using Ctrl+click
  • The Pop selected objects out of group doesn't work with Ctrl+Click (unless only one object is in the group)

In comparison

  • XML editor selection works (in master after inkscape!1723 (merged), but not in 1.0beta2 or earlier versions of Inkscape)
  • Double clicking to enter groups, then making a selection there works
  • Objects dialog selection works

Inkscape Version and Operating System:

  • Inkscape Version: 1.0beta2 (074b463, 2020-02-02), 0.92.4 (5da689c313, 2019-01-14), MacPorts
  • Operating System: macOS
  • Operating System version: 10.12.6 (16G2136)

Additional Information:

  • I had contacted @ede123 in regards to this issue seeing how he mentions Merge Request #419 and he confirmed this issue has not yet been resolved.
  • Using the XML Editor, after an object is "popped" out of a group, selecting the group shows an incorrect group selection (confirmed again 2020-04-09)...

group_selection

Edited by Nathan Lee