Bug 316651

Summary: empty lines should be optionaly removed from the clipboard history
Product: [Unmaintained] klipper Reporter: catchman
Component: generalAssignee: Esben Mose Hansen <kde>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: catchman
Priority: NOR    
Version: 0.9.7   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description catchman 2013-03-13 09:45:27 UTC
Sometimes it happens that there are empty lines in the clipboard history. For example after selecting 'blank' spaces in the console.
As this can be useful for some users, i would suggest to add an option like 'prevent whitespace-only records in the clipboard history'. Another way may be an option to specify a regular expression for records, that should not be included in the history, which would offer greater flexibility.

Reproducible: Always

Steps to Reproduce:
1. copy or select a blank line (for example an 'empty space' in the Konsole)
2. 
3.
Actual Results:  
new record appears in the clipboard history, that contains only whitespaces
Comment 1 Jekyll Wu 2013-03-16 07:56:24 UTC
The regex excluding feature looks like the optimal solution.

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