Bug 154224 - Cannot paste text into KNumInput
Summary: Cannot paste text into KNumInput
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: 4.0
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-17 13:23 UTC by Maciej Pilichowski
Modified: 2013-05-25 15:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Pilichowski 2007-12-17 13:23:29 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    SuSE RPMs

settings -> accounts -> pop3 type -> host and port edit boxes.

Cannot paste anything. Yes my keyboard is working and I can paste the desired text into login for example.
Comment 1 Thomas McGuire 2007-12-19 20:24:59 UTC
I can not reproduce. Pasting works fine here, both with keyboard and with mouse.
The port edit only allows numbers to be pasted.
Comment 2 Maciej Pilichowski 2007-12-19 20:56:46 UTC
I use KMail from OS 10.3, it is Enterprise 1.9.6, sorry for not mentioning it before.
Comment 3 Thomas McGuire 2007-12-19 21:02:03 UTC
I am also using enterprise, and it doesn't happen for me.
Does this happen also in other KDE edit boxes for numbers?
I doubt it is a KMail bug.
Comment 4 Maciej Pilichowski 2007-12-19 21:52:45 UTC
I tested it again and I see what it is happening -- KMail tries to be smart and it silently rejects pasting anything invalid.

It is wrong (imho) -- user should be able to paste "port 115" into port edit-box and delete "port " phrase. The same goes for host -- I should be able to paste "host:xxx.com" and then edit it.

Current behaviour forces user to either very exact copying or launching text editor to make those corrections.

Of course KMail should not accept invalid entries, but should allow to edit (correct) them.

More like a wish now ;-)
Comment 5 Maciej Pilichowski 2007-12-19 21:55:58 UTC
PS. Anyway, current behaviour Kmail+Klipper can frustrate a lot of people because it is usually that user copies settings for account from mail provider from WWW. And Klipper does not show spaces. So user can copy "pop3.mail.com " (space at then end, Konqueror adds them) and think long why KMail does not accept perfectly valid entry.
Comment 6 Thomas McGuire 2007-12-19 22:15:14 UTC
Reassigning to kdelibs then, as all KNumInput widgets have the same behaviour.
Comment 7 David Edmundson 2013-05-25 15:17:30 UTC
kdelibs 4.x is frozen for new features.
In KDE Frameworks 5 KNumInput is deprecated in favour of QSpinBox.

All feature requests should go to Qt.