Bug 327088 - kile (katepart, kate) do no save underline attribute in highlighting configuration
Summary: kile (katepart, kate) do no save underline attribute in highlighting configur...
Status: RESOLVED WORKSFORME
Alias: None
Product: kile
Classification: Applications
Component: editor (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-03 14:07 UTC by houstontyoung
Modified: 2023-02-17 03:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Kile config dialog; "underline" selected but not applied (325.18 KB, image/jpeg)
2013-11-03 14:07 UTC, houstontyoung
Details
After changing katesyntaxhighlightingrc, underlines present (293.13 KB, image/jpeg)
2013-11-03 14:23 UTC, houstontyoung
Details
After changing underline attribute in config, underlines lost (292.03 KB, image/jpeg)
2013-11-03 14:24 UTC, houstontyoung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description houstontyoung 2013-11-03 14:07:45 UTC
Created attachment 83313 [details]
Kile config dialog; "underline" selected but not applied

When opening the config dialog for syntax highlighting, kile (and kate, so presumably katepart) do not apply or save the attribute "underline" for a style when it is selected (see screenshot; notice "Keyword" is not underlined).  Also, editing the syntax file directly doesn't apply the underline attribute:

1. For kile, add 'underline="1"' to any itemData (say, Keyword) in ~/.kde/share/apps/katepart/syntax/latex.xml.
2. Start kile and open some file, and notice that Keywords are not underlined, and in the config dialog "underline" will not be selected.
3. The same happens for kate.

A workaround is to edit the file ~/.kde/share/config/katesyntaxhighlightingrc directly.  For example, to add underlining to keywords in kile, go to the section 

[Highlighting LaTeX - Schema kile - Normal]

and find the Keyword line, which looks like

LaTeX:Keyword=0,ff800101,ff60ffff,0,0,,,,,,---

The entries are in the form

LaTeX:<name>=<int (??)>,<fgcolor>,<selcolor>,
	<bold>,<italic>,<strikeout>,<underline>,
	<bgcolor>,<selbgcolor>,<???>,---

(I'm not sure what the first and last are)  Change the seventh entry to 1, save the file, and start kile (or kate).  Now keywords will be underlined.

However, if *any* of the underline attributes are changed for any styles, *all* those which were set to underline in katesyntaxhighlightingrc will be removed and lost.
Comment 1 houstontyoung 2013-11-03 14:22:17 UTC
Versions:
Kile 2.1.0
KDE 4.8.5
xubuntu 12.04
Comment 2 houstontyoung 2013-11-03 14:23:19 UTC
Created attachment 83314 [details]
After changing katesyntaxhighlightingrc, underlines present
Comment 3 houstontyoung 2013-11-03 14:24:02 UTC
Created attachment 83315 [details]
After changing underline attribute in config, underlines lost
Comment 4 Andrew Crouthamel 2018-11-10 03:22:31 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-11-21 04:32:50 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 6 houstontyoung 2018-11-22 20:37:20 UTC
I haven't used Kile in several years and don't have much occasion to use LaTeX any more.
Comment 7 Justin Zobel 2023-01-18 02:41:00 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 8 Bug Janitor Service 2023-02-02 05:00:55 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2023-02-17 03:48:38 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!