<?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>324451</bug_id>
          
          <creation_ts>2013-09-03 12:12:50 +0000</creation_ts>
          <short_desc>Project Filter: Entry is removed when pressing [Del] while editing pattern</short_desc>
          <delta_ts>2013-09-03 13:25:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Developer tools</classification>
          <product>kdevplatform</product>
          <component>project</component>
          <version>git master</version>
          <rep_platform>Compiled Sources</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>minor</bug_severity>
          <target_milestone>1.3.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Benjamin Eikel">kdebugs</reporter>
          <assigned_to>kdevelop-bugs-null</assigned_to>
          
          
          <cf_commitlink>http://commits.kde.org/kdevplatform/8c2f1c5d1b92f0ca7d05476930573c6a935da6ad</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1394750</commentid>
    <comment_count>0</comment_count>
    <who name="Benjamin Eikel">kdebugs</who>
    <bug_when>2013-09-03 12:12:50 +0000</bug_when>
    <thetext>I tried out the new project filter that was merged by Milian Wolff. I like the feature and, first of all, wanted to say thank you!

Reproducible: Always

Steps to Reproduce:
1. Exclude a directory that is located below the project using the context menu “Exclude item from project”. Let&apos;s call it “data”.
2. Go into the project configuration and “Project Filter“. A new entry with the pattern “/data/“ is shown in the list.
3. Edit the pattern and press the [Del] key on the keyboard to delete any character from the pattern string.
Actual Results:  
The entry containing the pattern that what just edited gets removed.

Expected Results:  
A character from the pattern string is removed.

The problem does not occur when pressing the [Backspace] key.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1394762</commentid>
    <comment_count>1</comment_count>
    <who name="Milian Wolff">mail</who>
    <bug_when>2013-09-03 13:05:43 +0000</bug_when>
    <thetext>Haha thanks for the report. That indeed is a bug I introduced. Will fix it!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1394768</commentid>
    <comment_count>2</comment_count>
    <who name="Milian Wolff">mail</who>
    <bug_when>2013-09-03 13:25:42 +0000</bug_when>
    <thetext>Git commit 8c2f1c5d1b92f0ca7d05476930573c6a935da6ad by Milian Wolff.
Committed on 03/09/2013 at 13:25.
Pushed by mwolff into branch &apos;master&apos;.

Don&apos;t remove an item on Key_Delete when an editor is shown.

M  +7    -0    plugins/projectfilter/projectfilterkcm.cpp

http://commits.kde.org/kdevplatform/8c2f1c5d1b92f0ca7d05476930573c6a935da6ad</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>