[Libreoffice-bugs] [Bug 126352] “Create Style” Dialogue Does not Work Correctly if Opened via Menu or Toolbar: (often/always) shows other styles than the 'own styles', sometimes inactive when it shouldn't ..

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 14 16:22:33 UTC 2021


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

sdc.blanco at youmail.dk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=10
                   |                            |7120
                 CC|                            |sdc.blanco at youmail.dk

--- Comment #10 from sdc.blanco at youmail.dk ---
(In reply to Heiko Tietze from comment #7)
> I'm trying to get rid of the 'create style' dialog 
I would like to defend it, for the reasons given in comment 6.  It is possible
(and easy) to customize a character style or list style using direct formatting
and the nice spin boxes in the sidebar.  Or decide post-facto that it would be
nice to save a particular direct formatting.  

(In reply to V Stuart Foote from comment #9)
> (In reply to Harald Koester from comment #8)
> 
> > In my initial report I proposed that first a user should choose the type of
> > style and afterwards the formatting dialog will be opened. If only paragraph
> > styles should be created with menu/toolbar, as you proposed, the menu items
> > and icon tips should be renamed: "New Paragraph Style" instead "New Style".
> > Otherwise, I think, a user may be irritated, if s/he likes to create another
> > type of style.

Bug 107120 suggests exactly this menu change.   But the next suggestion
dissolves the need for that change.

> So the dialog should have a set of radio buttons?  When a selection is made
> from canvas it would pre-select that radio button.  If no selection, then
> picking a radio button would set that style type (as currently customized,
> or with defaults for the type?).

I would like to make the same suggestion.  

In effect, such a design would move the current "radio buttons" step from the
Style deck into the dialog box (and dissolve the OP of this bug about
difference between menu and sidebar) and bug 107120

And it might not be too hard (i.e., EasyHack), if Caolán finishes a patch that
would make the Style Family available to the dialog box. (
https://gerrit.libreoffice.org/c/core/+/108159 )

In the following mockup, which builds on the existing "New Style from
Selection" dialog box, %STYLEFAMILY refers to {Paragraph, Character, Page,
Frame, List, Table}

(no strong opinions intended about layout, just to communicate basic idea)

-------------------------------------------
 [x] Paragraph [ ] Character [ ] Frame 
 [ ] Page      [ ] List      [ ] Table  

 Enter new %STYLEFAMILY style name:
   __________________

 Custom %STYLEFAMILY styles for current document


----------------------------------------------

- Radio buttons are active (or deactivated) depending on current cursor
position or selection.

- "default" is always ambiguous because a cursor in an empty document could
still be "page" or "paragraph" style ==> some simple rules like: 
  "if in frame, start with frame"
  "if in table, start with table"
  "if in list, start with list"
  elseif characters selected, then start with "character" as default, else
"paragraph"

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210114/e51aa6c6/attachment.htm>


More information about the Libreoffice-bugs mailing list