Version: 3.2.2 (using KDE 3.2.2, SuSE) Compiler: gcc version 3.3 20030226 (prerelease) (SuSE Linux) OS: Linux (i686) release 2.4.20-4GB-athlon When clicking on a link on a website, which leads to the local machine, e.g. "print:/", Konqueror shows a dialog with the message "The link print:/ leads from this untrusted page to your local filesystem. Do you want to follow the link?" This warning is of course a very good idea, but unfortunately the button "Follow" has the focus by default - the button "Cancel" should have it instead, which is more secure.
I agree.
Bug still present in KDE 3.5.9 and svn trunk r795406. Test case: http://www.grundleborg.com/kde/bugsquad/testcases/82014/
SVN commit 932623 by mpyne: Disable auto default buttons in KDialog (user code can set it back if they want). This allows actual default buttons to still work fine even if a different button has the focus. Fix will show up in KDE 4.3, will backport to KDE 4.2.2. CCBUG:82014 CCBUG:148972 M +4 -0 kdialog.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=932623
SVN commit 932624 by mpyne: Backport fix for default buttons in KDialog to KDE 4.2.2. CCBUG:148972 CCBUG:82014 M +4 -0 kdialog.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=932624
This bug is actually in KMessageBox, which needs to set the focus to the default button for dialogs that don't have input (such as warningContinueCancel, which is used in this case).
SVN commit 932631 by mpyne: Make the "following a link to local file" dialog in KHTMLPart use the Cancel button by default. I had said this was a KMessageBox bug but it is acting as documented. Whether that's a good idea or not I'll save my judgment on for later... This will be in KDE 4.3, and I will backport to KDE 4.2.2. CCBUG:82014 M +6 -1 khtml_part.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=932631
SVN commit 932632 by mpyne: Backport fix for the "following link to local file" warning in KHTMLPart's default button to KDE 4.2.2. BUG:82014 M +6 -1 khtml_part.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=932632
SVN commit 959688 by mpyne: I give up. Revert "make default buttons" change. (http://websvn.kde.org/?view=rev&revision=957338) CCBUG:82014 CCBUG:148972 BUG:190631 M +0 -4 kdialog.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=959688