You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2019/02/02 05:09:07 UTC

[Issue 128027] New: Sort objects by size

https://bz.apache.org/ooo/show_bug.cgi?id=128027

          Issue ID: 128027
        Issue Type: DEFECT
           Summary: Sort objects by size
           Product: Draw
           Version: 4.1.5
          Hardware: PC
                OS: Windows 10
            Status: UNCONFIRMED
          Severity: Trivial
          Priority: P5 (lowest)
         Component: editing
          Assignee: issues@openoffice.apache.org
          Reporter: mikhail_lewis@yahoo.com
  Target Milestone: ---

It would be awesome if OO had the option, presumably within "Modify: Arrange:",
to sort a group of objects by size. Sort bigger/smaller objects
forward/backward.

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

oooforum (fr) <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oooforum@free.fr

--- Comment #4 from oooforum (fr) <oo...@free.fr> ---
>The size of objects is commonly measured in length, width, area, depth, volume, >and, sometimes, weight.
So, I don't understand what is criterias to sort such objects.
If I draw 4 rectangles, 2 squares and 3 circles, how can we sort these?

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #16 from Peter <pe...@apache.org> ---
Maybe related or duplicates https://bz.apache.org/ooo/show_bug.cgi?id=11958
not sure thought

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #8 from Peter <pe...@apache.org> ---
I think if we manage to move more into the layout direction it is possible to
put it into core.
curre tly I would think of it mor as an extention.

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #1 from Mikhail Lewis <mi...@yahoo.com> ---
Cascade or cascading.

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #13 from Peter <pe...@apache.org> ---
Imagine 3 squares of different length. One is 4 cm, another is 3 cm, and the
third is 2 cm. If you want to layer them on top of each other you have to put
the large square in the back, put the middle one on top, and the thrid one on
top if the last.

The request is that if you do not have produced the squares in the right order.
You have a sort button, that sorts the objects by their "length" front to back.
Asdescribed by me the difficulty is that not all objects follow the same meta.
So it is hard to define.

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #11 from Peter <pe...@apache.org> ---
Hmm, Maybe it would be better to think of a grafical sorting assistance system.

For example :
You mark objects, in the sidebar you get the objects listed. Then you can
select the attribute you want to sort by (position, layer) and the arrange the
order as you want it.

We could extend maybe later with a algorithm that can sort.

However i am not sure how difficult this is. There are some issues with unnamed
objects and such.

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #21 from Peter <pe...@apache.org> ---
I suggest we split this Idea in multiple simpler ones.
1) Arrange multiple objects to each other(currently we can only arrange one
Object in relation to everything or one other / a group of objects)
2) Extend the property list of an object by some calculated attributes.
3) find a simple rule engine to define attributes of an object)
4) a simple way to define sorting rules 
5) a sort menu that can execute sorts based on custom defined sorting rules.

I would then close this one with the note to which Incidents we have spitted.
We can draft out those other ones and if needed split them again, until we get
issues we can code.

Any more ways to split this? Does this sound like a reasonable step?
(I do not want to make any hopes that we will do it soon thought. It is just
something we will more likely revisit at an appropriate point.)

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #12 from oooforum (fr) <oo...@free.fr> ---
(In reply to Mikhail Lewis from comment #9)
> My initial urge was to have objects on top of each other sorted to the
> front/back
Well, I don't understand what you means.
Could you provide a sample document and screenshot for what you expects?

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #6 from Peter <pe...@apache.org> ---

How do we deal with rectangles, cloud objects or other free-form objects. 
Should positions be preserved? Or should we have a layout funkionality. What is
if objects overlap by the sort.

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #9 from Mikhail Lewis <mi...@yahoo.com> ---
My initial urge was to have objects on top of each other sorted to the
front/back, but it is conceivable that one could give the option of sorting
objects left to right/right to left, top to bottom/bottom to top, and front to
back/back to front.

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #18 from oooforum (fr) <oo...@free.fr> ---
Created attachment 86729
  --> https://bz.apache.org/ooo/attachment.cgi?id=86729&action=edit
3 arrows: unable to sorted

(re)read comment 6
How can you sort these arrows?

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #7 from oooforum (fr) <oo...@free.fr> ---
+1 with comment 6
For me, this ask is too complicated to implement.

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

Peter <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |petko@apache.org

--- Comment #2 from Peter <pe...@apache.org> ---
What is size to you? Memory usage, Font height, Length of the text?

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #3 from Mikhail Lewis <mi...@yahoo.com> ---
Size is a relative relationship between smaller and bigger objects, effects, or
affects.

How could I draw memory usage? I could list memory usage by units, using text,
and I could draw an abstract representation based on my thoughts about that
text...but Draw uses objects, not my thoughts (and thus could not reverse
engineer my information or topic from my abstract representation of it).

While one may draw multiple objects with text in them in Draw (though object
size is overridden when necessary by increases in font size), if I wanted a
sortable spreadsheet of text I would probably use Spreadsheet and not Draw.

The size of objects is commonly measured in length, width, area, depth, volume,
and, sometimes, weight.

Presumably memory usage could also be a measure to sort objects by (given an
isolated variable such as square width, the larger squares may take up more
memory), but I don't see an advantage in a Draw program (especial since width
is more intuitive than the presumably increased memory it takes to
create/store/record wider objects).

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #5 from Mikhail Lewis <mi...@yahoo.com> ---
Imagine if we had three squares, one with a width of 1, one with a width of 2,
one with a width of 3 we could use width. The square with a width of 3 is the
"big" square. The square with a width of 1 is the "little" square, as it would
be if we used area instead of width.
If we had a square and a circle, we could compare the width of the square and
the radius or diameter of the circle, or we could compare the area of each. The
one with the bigger area would be the "big" object and the one with the smaller
area would be the "small" object.

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #15 from Peter <pe...@apache.org> ---
Created attachment 86727
  --> https://bz.apache.org/ooo/attachment.cgi?id=86727&action=edit
Example created by Petko

I am also only guessing. But I created a demo file.
With a working example and a wrong wexample and a screenshot where what could
be.

I am not saying we can do it like this. Maybe it would be better if we have
some layer level mechanism, and you could move objects between those layers.

It is just to demo the concept Idea the OP had.

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #19 from Mikhail Lewis <mi...@yahoo.com> ---
(In reply to oooforum (fr) from comment #18)
> Created attachment 86729 [details]
> 3 arrows: unable to sorted
> 
> (re)read comment 6
> How can you sort these arrows?

One could choose a single arbitrary variable, such as heighth or width of each
arrow, the angle of each arrow point, or a more complicated variable such as
area. It's simple. How does one determine how to sort the poker cards in one's
hand by lowest to highest or highest to lowest value, with the cards
overlapping, side by side, or just touching corners?

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

Keith N. McKenna <kn...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |knmc@apache.org
           Severity|Trivial                     |Normal
         Issue Type|DEFECT                      |ENHANCEMENT

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #10 from Mikhail Lewis <mi...@yahoo.com> ---
It should be easier to limit the ability to sort by size to only a single
shape, rather than considering the what ifs of different shapes.

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #17 from Mikhail Lewis <mi...@yahoo.com> ---
Created attachment 86728
  --> https://bz.apache.org/ooo/attachment.cgi?id=86728&action=edit
Boxes with shared corner sorted by size

It can be difficult to picture sorting by size, as larger objects tend to cover
smaller objects, sometimes completely. A tool(s) to sort by size could be a
good way to find such completely covered smaller objects.

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #20 from Mikhail Lewis <mi...@yahoo.com> ---
Created attachment 86730
  --> https://bz.apache.org/ooo/attachment.cgi?id=86730&action=edit
Squares sorted left to right by size

One could sort objects by size without layering/overlapping.

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

[Issue 128027] Sort objects by size

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128027

--- Comment #14 from oooforum (fr) <oo...@free.fr> ---
(In reply to Peter from comment #13)
> Imagine...
I'm lack of imagination so...
>Could you provide a sample document and screenshot for what you expects?

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