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.
Created attachment 7644 [details] A screenshot of the dialog showing the bad layout
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.
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