Bug 51507

Summary: Very large error prompts if URL is long
Product: [Frameworks and Libraries] kio Reporter: Robin Rosenberg <robin.rosenberg>
Component: uiserverAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: normal CC: adawit, andresbajotierra, grundleborg, maksim
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Robin Rosenberg 2002-12-04 23:59:46 UTC
Version:           3.0.99 (using KDE 3.0.9)
Compiler:          gcc version 3.2 (Mandrake Linux 9.1 3.2-3mdk)
OS:          Linux (i686) release 2.4.19-13mdkrr

When downloadinhg files using konqueror and a file exists already the question dialog is brought up. 
If the URL is very very long, as it is in some web applications, the dialoge becomes so large as to 
occupy more than one screen width. That means some buttons are outside the screen.

Suggestion: Either wrap the source URL or truncate it. Truncation is ok since such URLs are usually of a format only interesting to the web application itself.

Workaround: Hold down left alt and drag the dialog using the mouse and left mouse button pressed, so the needed buttons become accessible.
Comment 1 Robin Rosenberg 2004-11-10 12:29:48 UTC
Seems better in KDE 3.2.3. The url is abbreviated.

If the URL does not exist for some reason the error dialog is still over-wide.
Comment 2 George Goldberg 2007-12-19 03:55:50 UTC
Is this bug still there in a recent version of KDE, such as 3.5.8 or KDE4.0 RC2?
Comment 3 Dario Andres 2009-05-06 20:46:56 UTC
Here using:

Qt: 4.5.1 (qt-copy  960517)
KDE: 4.2.71 (KDE 4.2.71 (KDE 4.3 >= 20090428))
kdelibs svn rev. 963904 / kdebase svn rev. 963904
on ArchLinux i686 - Kernel 2.6.29.1

The "File Already Exists" dialog which appears when saving a file from the web to the HD uses a KSqueezedTextLabel which chops the long URL using an ellipsis ("...") in the middle.
Comment 4 Dawit Alemayehu 2012-01-13 15:58:29 UTC
See comment #3.