Bug 160399

Summary: too wide error message for property-behaviour error
Product: [Frameworks and Libraries] frameworks-kio Reporter: S. Burmeister <sven.burmeister>
Component: WebDAVAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs-null, marc321
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 5.86
Sentry Crash Report:
Attachments: Wide webdav error message

Description S. Burmeister 2008-04-05 13:16:43 UTC
Version:            (using KDE 4.0.3)
OS:                Linux

If there is an issue with property-beahviour, (something like: you have tried to overwrite a file although you have set this way of overwriting to false before) the whole error-message is presented as one line which is far wider than the screen. At least in the German translation.

Side note: I never set any method of what overwriting method should be used or not before and I have no clue how a user should do that.
Comment 1 Marc Payne 2012-05-30 19:19:23 UTC
Created attachment 71446 [details]
Wide webdav error message
Comment 2 Marc Payne 2012-05-30 19:23:40 UTC
I can confirm this bug with the English language. Error message appeared when I copied a file in a webdav share and immediately tried to paste it in the same location.
Comment 3 Marc Payne 2015-04-20 06:25:09 UTC
I went ahead and dug through the kdelibs repo to find the particular error message string. It is in the file kdelibs/kioslave/http/http.cpp, line 1728, in the function QString HTTPProtocol::davError.

I don't have the time (or desire) to learn how this error message is ultimately displayed in a dialog box. The problem is simply that the text is not getting wrapped. If anyone wants a webdav server to test this on, please let me know and I will gladly set up a temporary user account.
Comment 4 Bug Janitor Service 2021-07-26 21:54:01 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/523
Comment 5 Ahmad Samir 2021-08-17 21:14:41 UTC
Git commit f87f42fa685c854a47db6831dedf99f8ce19a0f9 by Ahmad Samir.
Committed on 17/08/2021 at 21:14.
Pushed by ahmadsamir into branch 'master'.

kio_http: wrap a long error message
FIXED-IN: 5.86

M  +4    -4    src/ioslaves/http/http.cpp

https://invent.kde.org/frameworks/kio/commit/f87f42fa685c854a47db6831dedf99f8ce19a0f9