Bug 249558

Summary: Font size of pasted formatted text can not be changed
Product: [Applications] kmail2 Reporter: Fabian <derdominique>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: kollix, montel, pancho.s
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fabian 2010-08-31 00:48:37 UTC
Version:           1.13.5 (using KDE 4.5.0) 
OS:                Linux

After copy&pasting formatted text (from a browser window, OpenOffice or similar) into the composer, its font size can not be altered.

First I thought it happened randomly, but in fact it seems to depend whether or not the text has "standard" formatting or is e.g. a "heading" (html <h3> for example) in the original document.

Reproducible: Always

Steps to Reproduce:
1) Compose a new mail

2) Go to a web page that has normal text and headings.

3) Select text from header text and "normal" text (I chose two lines of the the bug report form: "Step 2 of 3 - give information" and following line.)

4) Copy it via Ctrl+C / Ctrl+V or simply via the mouse middle click into the composer window.

5) Select the whole text or parts of it.

6) Try to change the font size to "6" or so.

Actual Results:  
The font size stays the same for the part of the test that was "heading" in the former document.
The font size of the formerly "normal" text is changed as requested.


Expected Results:  
All marked text elements should change their size to the requested value.

OS: Linux (x86_64) release 2.6.32-24-generic
Compiler: cc
Ubuntu 10.04 with ppa repositories for KDE 4.5.00

Other formatting attributes (bold, underline, italic, color, ...) are changed as requested.

Using the rubber does /not/ reset the font size, but all other format attributes.
Comment 1 Laurent Montel 2011-09-08 08:06:51 UTC
It's right I can confirm it in kmail2 too
Comment 2 Bernd Oliver Sünderhauf 2012-06-22 10:40:05 UTC
This issue depends on Bug 287540.
Comment 3 Laurent Montel 2012-12-07 15:12:35 UTC
We can't change <h3> etc. in actual composer.
So it's right it's a bug and we can't change it :(
Comment 4 Denis Kurz 2016-09-24 18:24:12 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 5 Denis Kurz 2017-01-07 22:45:23 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.