<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:raykowj@gmail.com" title="Jim Raykowski <raykowj@gmail.com>"> <span class="fn">Jim Raykowski</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - UI: Paragraph style name field should be grayed out for default styles (can't be editted)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132860">bug 132860</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Ever confirmed</td>
<td>
</td>
<td>1
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>NEW
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - UI: Paragraph style name field should be grayed out for default styles (can't be editted)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132860#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - UI: Paragraph style name field should be grayed out for default styles (can't be editted)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132860">bug 132860</a>
from <span class="vcard"><a class="email" href="mailto:raykowj@gmail.com" title="Jim Raykowski <raykowj@gmail.com>"> <span class="fn">Jim Raykowski</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>