https://bugs.documentfoundation.org/show_bug.cgi?id=132860
Jim Raykowski <raykowj@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #1 from Jim Raykowski <raykowj@gmail.com> ---
This is an edit control that is read only for non home made styles. The cursor
doesn't show for the gtk3 backend like it does for the sal backends I have
tested, x11, kf5, qt5.
I found this comment in the code:
// Set the field read-only if it is NOT an user-defined style
// but allow selecting and copying
The ability to copy the name to the clipboard will be lost for non home made
styles if this is changed to be a grayed out. If this can be lived with, here
are some code pointers to help do it:
code pointers:
core/sfx2/source/dialog/mgetempl.hxx
study class SfxManageStyleSheetPage, m_xName is our friend
core/sfx2/source/dialog/mgetempl.cxx
look in the SfxManageStyleSheetPage constructor for Widget Flag settings for
m_xName for non home made user defined styles. set_.*
set_sensitive is the function to set weld widgets sensitive flag which will
make them grey or not gray :-)
it may be fun to get the Glade out to examine
core/sfx2/uiconfig/ui/managestylepage.ui
One might possibly want to begin with the sensitive Widget Flag off.
--
You are receiving this mail because:
You are on the CC list for the bug.
Context
- [Libreoffice-ux-advise] [Bug 132860] UI: Paragraph style name field should be grayed out for default styles (can't be editted) · bugzilla-daemon
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.