<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>282236</bug_id>
          
          <creation_ts>2011-09-17 19:56:43 +0000</creation_ts>
          <short_desc>Composer: Formatting shortcuts erroneously activate formatting</short_desc>
          <delta_ts>2015-03-01 13:52:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmail2</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Nicolas Dietrich">nidi</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>kdebugs1</cc>
    
    <cc>montel</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>4.7.2</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1163866</commentid>
    <comment_count>0</comment_count>
    <who name="Nicolas Dietrich">nidi</who>
    <bug_when>2011-09-17 19:56:43 +0000</bug_when>
    <thetext>Version:           unspecified (using KDE 4.6.5) 
OS:                Linux

Using a shortcut for a formatting option from inside the composer, e.g. Ctrl-L for &quot;strike through&quot; activates formatting, in case formatting isn&apos;t already turned on. This seems to be designed as a feature, but is rather a bug.

Interestingly, the actual shortcut action (in this case &quot;activate strike through&quot;) isn&apos;t performed.

Thanks for fixing!

Reproducible: Always

Steps to Reproduce:
1. Make sure kmail composer starts in non-formatting mode.
2. Compose Email
3. Press Ctrl-L (shortcut for strike-through)

Actual Results:  
Formatting is turned on. Strike-through isn&apos;t activated.

Expected Results:  
Either of the following would be 

1. Nothing (okay)

2. Dialog popup stating: &apos;Using strike through only make sense when formatting option is turned on. Turning this option on results in email messages sent in HTML format. Do you want to turn formatting on? Yes / No&apos; (preferred)

3. Turn on formatting and activate strike-through. (please don&apos;t, I keep on pressing this...)

This happens only after initially opening a composer in non-formatting mode, but not after manually deactivating the formatting option.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1164293</commentid>
    <comment_count>1</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2011-09-19 07:02:36 +0000</bug_when>
    <thetext>I confirm it.
Will fix it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1164294</commentid>
    <comment_count>2</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2011-09-19 07:18:27 +0000</bug_when>
    <thetext>Git commit c200bf630aea5be26d757351a58219b9088d0d5a by Montel Laurent.
Committed on 19/09/2011 at 09:17.
Pushed by mlaurent into branch &apos;master&apos;.

Fix Bug 282236 - Composer: Formatting shortcuts erroneously activate formatting

FIXED-IN: 4.7.2
BUG: 282236

M  +4    -0    kmail/kmcomposewin.cpp

http://commits.kde.org/kdepim/c200bf630aea5be26d757351a58219b9088d0d5a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1164295</commentid>
    <comment_count>3</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2011-09-19 07:19:46 +0000</bug_when>
    <thetext>Git commit 62e866979d37fc8159b2141052af7f828d519ec1 by Montel Laurent.
Committed on 19/09/2011 at 09:17.
Pushed by mlaurent into branch &apos;KDE/4.7&apos;.

Fix Bug 282236 - Composer: Formatting shortcuts erroneously activate formatting

FIXED-IN: 4.7.2
BUG: 282236
(cherry picked from commit c200bf630aea5be26d757351a58219b9088d0d5a)

M  +4    -0    kmail/kmcomposewin.cpp

http://commits.kde.org/kdepim/62e866979d37fc8159b2141052af7f828d519ec1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1502879</commentid>
    <comment_count>4</comment_count>
    <who name="Pali Rohár">pali.rohar</who>
    <bug_when>2015-03-01 13:52:36 +0000</bug_when>
    <thetext>*** Bug 301214 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>