Bug 112861 - "Save As, Open, Cancel" download dialog is not resizable
Summary: "Save As, Open, Cancel" download dialog is not resizable
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 62445 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-19 00:09 UTC by William Kendrick
Modified: 2010-08-31 03:23 UTC (History)
2 users (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 William Kendrick 2005-09-19 00:09:54 UTC
Version:           3.4.1 (using KDE 3.4.1, Debian Package 4:3.4.1-1 (3.1))
Compiler:          gcc version 3.3.6 (Debian 1:3.3.6-5)
OS:                Linux (i686) release 2.6.8-2-686

I clicked a set of ZIP files in Konqueror, and multiple dialog windows appeared asking whether I'd like to "Save", "Open with Ark" or "Cancel".  The filenames shown in the dialogs were truncated (e.g. "ftp://blah...2005.zip"), and it was actually difficult to tell which dialog referred to which file download.  I was shocked that I could not resize those dialog windows!  (Only close or minimize.)

Please, please, please consider changing that behavior!  Thanks!
Comment 1 Philip Rodrigues 2007-01-07 12:15:26 UTC
Confirmed on SVN r620k.
Comment 2 FiNeX 2008-05-05 14:14:11 UTC
Even if I select more than one zip file in konqueror, when I click to one of them it will be opened like a folder.

Could you explain how to reproduce the bug and check on 3.5.9 (and 4)?

Thanks a lot.
Comment 3 FiNeX 2008-05-16 15:50:48 UTC
Ok, I've reproduced on KDE 3.5.9 and 4 clicking on a zip file in a webpage.

Is this a konqueror or a kdelibs bug?
Comment 4 Jaime Torres 2008-07-04 17:06:29 UTC
This is a kdelibs bug (I'm pretty sure)
And I think it has some related bugs (but they are not dups): 
http://bugs.kde.org/show_bug.cgi?id=130553
http://bugs.kde.org/show_bug.cgi?id=129112

And also a possible patch (not tested!) is to include the following line:
q->setSizeGripEnable();
in the method:
void KDialogPrivate::init(KDialog *q)
in the file:
kdeui/dialogs/kdialog.cpp
Comment 5 Michael Pyne 2008-07-05 22:48:46 UTC
The relevant code seems to be KonqRun, which is a subclass of KParts::BrowserRun (in kdelibs).

The function involved is KParts::BrowserRun::askSave(), which ends up simply calling to KMessageBox::questionYesNoCancel(), which by default constructs a dialog that is not resizeable.

It may be possible to use KMessageBox::createKMessageBox() on a KDialog and then ensure that the KDialog has whatever Qt::WindowFlag that enables resizing set.
Comment 6 Christoph Feck 2009-08-28 00:57:23 UTC
*** Bug 62445 has been marked as a duplicate of this bug. ***
Comment 7 William Kendrick 2010-01-03 20:02:03 UTC
Still happening in KDE 4.3.2.
Comment 8 Christoph Feck 2010-08-31 03:23:37 UTC
Fixed in KDE SC 4.4.

WebSVN link: http://websvn.kde.org/?revision=1034921&view=revision