https://bugs.documentfoundation.org/show_bug.cgi?id=72662

--- Comment #32 from Sahil Gautam <[email protected]> ---
Summarizing:
So there are a lot of spinedits for setting number values for different things,
say paragraph spacing, border/margin width etc. And all those have a number and
a unit. Now the issue is that for the whole application (calc/writer etc), we
have a single unit for all such spinedits under the application, which is like
"one size trying to fit all" situation.

The solutions proposed are
    a) modify the spinedit to show a dropdown when clicked on the unit, so that
the user  
       can choose the appropriate unit.

    b) the gimp way of doing it (where what we type in inside the spinedit will
manipulate       
       the unit (comment 31).

The GSoC Idea page also talks about remembering unit per spinedit (ideally),
and some way to change the precision as number with more/less decimal places
are typed in.

My take:
    I just jumped in looking at the cool spinedit mod, but now that I see the
whole 
    picture, the gimp way makes more sense, because in the approach (a), most
of the 
    energy goes into creating a new spinedit, which looks cool, but might not
be as 
    functional as the the ones gimp has. Also if approach (a) is implemented,
then 
    clicking on the modified spinedit (unit area) will show the units dropdown,
which 
    might come in the way if later someone tries to add some of the approach
(b) features.

Currently if the spinedit has the units in pt, and I type 1cm (after clearing
the whole entry, then it converts that to pt, and shows the new unit 28.3pt.

But any arithmetic conversion/binary operation doesn't work right now (either
with same units, or with different units)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to