Bug 88041 - Dialog "Could Not Open File" does not size correctly
Summary: Dialog "Could Not Open File" does not size correctly
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-25 16:43 UTC by Thomas Fischer
Modified: 2004-12-11 00:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
A screenshot of the dialog showing the bad layout (7.54 KB, image/png)
2004-09-23 15:38 UTC, Thomas Fischer
Details
Patch for mimewarningdialog.ui and partcontroller.cpp (5.39 KB, patch)
2004-10-17 21:22 UTC, Thomas Fischer
Details

Note You need to log in before you can comment on or make changes to this bug.
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