Bug 327410 - Plastik theme renders HTML tags in title
Summary: Plastik theme renders HTML tags in title
Status: RESOLVED DUPLICATE of bug 323798
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (other bugs)
Version First Reported In: 4.10.5
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: http://www.frog23.net/development/kde...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-10 13:36 UTC by frog23
Modified: 2013-11-10 14:32 UTC (History)
0 users

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


Attachments
The bug displayed in Firefox, Opera and Konqueror in the Plastik theme (109.18 KB, image/png)
2013-11-10 13:37 UTC, frog23
Details
The problem disappears when switching to the Oxygen theme (103.43 KB, image/png)
2013-11-10 13:38 UTC, frog23
Details
The simple HTML file for testing (230 bytes, text/html)
2013-11-10 13:39 UTC, frog23
Details

Note You need to log in before you can comment on or make changes to this bug.
Description frog23 2013-11-10 13:36:02 UTC
When the title of an application contains HTML elements, they are rendered as HTML in the plastik theme. This can greatly distort the application UI, as can be seen in the demo screen shots. I tested it using a simple website which has some HTML markup within the title tag: <title><h3><i>Hello</i> World<img src="http://[...]Feed-icon.svg.png" /><h3></title>. I used Firefox (25.0), Konqueror (4.10.5) and Opera (12.16). In each case the inputs were rendered a little different (changed size of the windows icons for Konqueror and Firefox, and the image was correctly displayed only in Firefox) but generally all of them rendered the HTML code. When changing the layout to Oxygen, the HTML code is displayed as is in the window title bar, which is the behavior I would be expecting.

Reproducible: Always

Steps to Reproduce:
1. Switch theme to Plastik
2. go to http://www.frog23.net/development/kde-title-bug.html or open the attached file
3. look at the window decoration
Actual Results:  
The HTML code is rendered

Expected Results:  
The HTML code should be displayed as plain text
Comment 1 frog23 2013-11-10 13:37:13 UTC
Created attachment 83471 [details]
The bug displayed in Firefox, Opera and Konqueror in the Plastik theme
Comment 2 frog23 2013-11-10 13:38:07 UTC
Created attachment 83472 [details]
The problem disappears when switching to the Oxygen theme
Comment 3 frog23 2013-11-10 13:39:53 UTC
Created attachment 83473 [details]
The simple HTML file for testing
Comment 4 Thomas Lübking 2013-11-10 14:32:47 UTC
The patch over there applies to a qml resource, ie. can applied downstream to your version w/o the need to recompile anything.

*** This bug has been marked as a duplicate of bug 323798 ***