gradient end stop, "insert new stop" button might need to be disabled

Bug #1259314 reported by Cojnel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Low
Unassigned

Bug Description

When the end gradient stop is selected,
then the "Insert new stop" button should probably be disabled,
because it's only possible to add gradient stops with that button,
when the first or a mid gradient stop is selected.

Tested with:
r12841 on linux mint 15 cinnamon 32bit

Tags: gradient ui
Cojnel (cojnel)
tags: added: gradient ui
description: updated
Revision history for this message
su_v (suv-lp) wrote :

Reproduced with r13502 on OS X 10.7.5

tags: added: easy-fix
Changed in inkscape:
importance: Undecided → Low
milestone: none → 0.91
status: New → Confirmed
Revision history for this message
Wong Cho Ching (chwong249664) wrote :

I have removed the easy-fix tag. Due to legacy C code, this bug is pretty difficult to fix.

In`widget/gradient-toolbar.cpp`, I tried adding `gtk_action_set_sensitive(GTK_ACTION(add), FALSE);` in `gr_tb_selection_changed()`. Holy crap! After compling and running, the add button isn't even disabled. Appearantly, the sensitivity of the button is set to TRUE in somewhere else.

tags: removed: easy-fix
su_v (suv-lp)
Changed in inkscape:
milestone: 0.91 → 0.92
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.