Bug 88041

Summary: Dialog "Could Not Open File" does not size correctly
Product: [Applications] kdevelop Reporter: Thomas Fischer <fischer>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: A screenshot of the dialog showing the bad layout
Patch for mimewarningdialog.ui and partcontroller.cpp

Description Thomas Fischer 2004-08-25 16:43:38 UTC
Version:           3.1 (using KDE KDE 3.3.0)
Installed from:    SuSE RPMs
OS:                Linux

When kdevelop opens a file (e.g. from the file selector) for which it does not know how to view (e.g. a binary executable) it opens a dialog titled "Could Not Open File". The window size does not adjust to the widgets inside if the path of the file is very long, so the labels and buttons are cut off.
Comment 1 Thomas Fischer 2004-09-23 15:38:05 UTC
Created attachment 7644 [details]
A screenshot of the dialog showing the bad layout
Comment 2 Thomas Fischer 2004-10-17 21:22:00 UTC
Created attachment 7923 [details]
Patch for mimewarningdialog.ui and partcontroller.cpp

This patch fixes the layout of mimewarningdialog.ui by using a
KSqueezedTextLabel for the file url and a better size policy for the controls.
partcontroller.cpp has been modified to set the text correctly for the
new/modified controls.
Comment 3 Alexander Dymo 2004-12-11 00:34:20 UTC
CVS commit by dymo: 

BUG: 88041
Thanks to Thomas Fischer for the patch.


  M +60 -6     mimewarningdialog.ui   1.5
  M +3 -1      partcontroller.cpp   1.146