Bug 75248

Summary: Konqueror's right-click/Open With/Other dialog can be wider than the available screen area!
Product: [Frameworks and Libraries] kio Reporter: Chelsea Buchanan & Keith Briscoe <cheeth>
Component: kfileAssignee: Carsten Pfeiffer <pfeiffer>
Status: RESOLVED WORKSFORME    
Severity: normal CC: andresbajotierra, zahl
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Chelsea Buchanan & Keith Briscoe 2004-02-14 22:38:26 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    RedHat RPMs
OS:          Linux

When you right click on any document, and choose "Open With" and "Other", the width of this dialog seems to be determined by the maximum length of the command lines associated with the available applications.  However, one very common application, Codeweaver's Crossover Office (http://www.codeweavers.com/), uses very very long command lines to launch its applications, and the right side of the dialog falls off the right side of the screen, along with the OK/Cancel buttons, the scrollbar, and window controls!

An example command line for launching Photoshop via CXOffice is:

"/home/cheeth/cxoffice/bin/wine" --workdir "/home/cheeth/cxoffice/support/dotwine/fake_windows/Program Files/Adobe/Photoshop 6.0" "C://Program Files//Adobe//Photoshop 6.0//Photoshp.exe"

I'm not sure if this should be considered a bug in Konqueror or KWin, but I believe, if possible, KWin should not allow any application to create a new window with borders outside the viewable screen area.  However, dragging Windows so that their edges go beyond the viewable screen are should still be allowed.
Comment 1 Chelsea Buchanan & Keith Briscoe 2004-12-12 08:43:26 UTC
I've since switched to SuSE.  KDE 3.3.2 level "a" SuSE RPMs show this same behavior.  If an application with a very long launch path (Photoshop via CXOffice, in my case) is associated with JPG, when I right-click any JPG and choose "Open With...", the resulting dialog has most of its controls well beyond the right edge of my screen.
Comment 2 Chelsea Buchanan & Keith Briscoe 2005-03-20 22:14:14 UTC
Confirmed still present in KDE 3.4/SuSE RPMS.
Comment 3 Dario Andres 2009-05-06 22:27:34 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

I can't reproduce this bug. Even when having an application entry with a long name and a long command doesn't expand the "Open With/Other" dialog.
Comment 4 A. Spehr 2009-05-07 12:43:14 UTC
works here on r964169