"Take From Selection" buttons in preferences are always enabled even if there is no selection

Bug #569889 reported by Will Pittenger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Low
Unassigned

Bug Description

Many sections in Preferences have a button which copies the style from the selected object to preferences. But those buttons are enabled even if there is no selection to copy a style from. This could lead to a crash. You should disable the button and (preferably) show a tooltip explaining the problem.

There is a special case here. Suppose you are in the font section and have a rectangle selected. Seeing as it has been proposed that the font "Take From Selection" button copy the font info too, this case could be a problem. In that case, you would need to either leave the font info unchanged or treat the selection as invalid (and display a message about the problem).

Tags: preferences ui
su_v (suv-lp)
tags: added: preferences ui
Revision history for this message
su_v (suv-lp) wrote :

Issue 1 ('Take from selection' should be disabled if no object is selected) reproduced with Inkscape 0.47 and 0.47+devel r9370 (OS X 10.5.8)

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

Still repro.

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

jazzynico (jazzynico)
Changed in inkscape:
status: Confirmed → Triaged
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.