Mouse focus is trapped in GtkComboBox on tool controls bar for <Space> (switch tool)

Bug #687521 reported by karamelin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Low
Unassigned

Bug Description

When you choose measurement units in Rectangular options toolbar and press Esc, focus doesn't return to the canvas and stays in the toolbar.

Inkscape 0.48, MS Windows XP SP2.

Tags: ui
karamelin (karamelin)
summary: - Mouse focus is trapped in Rectangular options toolbar
+ Mouse focus is trapped in Rectangle options toolbar
Revision history for this message
su_v (suv-lp) wrote : Re: Mouse focus is trapped in Rectangle options toolbar

Not reproduced with Inkscape 0.48 and 0.48+devel r9942 on OS X 10.5.8

After changings the unit used for the rectangle tool parameters, <esc> deselects the current rectangle and focus is returned to the canvas (i.e. all keyboard shortcuts work as expected, unlike in related bug #687517).

Revision history for this message
karamelin (karamelin) wrote :

In my case pressing <Esc> deselects rectangle, but focus is still in dropdown list. It become evident when pressing <Space> to change instrument. But changing instrument by pressing direct shortcut (i.e. <N> for "Node tool") works well.

Revision history for this message
su_v (suv-lp) wrote :

> evident when pressing <Space> to change instrument

Reproduced with Inkscape 0.46, 0.47, 0.48 and current r9944 on OS X 10.5.8
Affects every popup selector (GtkComboBox) used on a tool controls bar, but only for the <space> keyboard shortcut to switch tools:

-- units selector:
- Select tool
- Node tool
- Rectangle tool

-- shape selector
- pencil tool
- pen tool

-- preset selector
- calligraphy tool

-- fill mode
- bucket fill tool

Only exception found so far:
-- gradient selector
- gradient tool

Revision history for this message
su_v (suv-lp) wrote :

Clarification:
The code for the ComboBox used on the gradient tool controls bar seems to be the only one that does not trap the focus for <space>.

summary: - Mouse focus is trapped in Rectangle options toolbar
+ Mouse focus is trapped in GtkComboBox on tool controls bar for <Space>
+ (switch tool)
Revision history for this message
su_v (suv-lp) wrote :

Keeping status at 'Low' for the moment because it only affects one keyboard shortcut, but e.g. allows zooming and other commands.

Please comment if you disagree.

Changed in inkscape:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Beluga (buovjaga) wrote :

Still repro.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92pre1 15054 (GTK3)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.