Bug 72156

Summary: Regression: Custom browser identification does not work
Product: [Applications] konqueror Reporter: John van Spaandonk <jwork123nl>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description John van Spaandonk 2004-01-08 15:58:32 UTC
Version:            (using KDE KDE 3.1.94)
Installed from:    Mandrake RPMs
Compiler:          gcc 3.3.x compiled by Mandrakesoft
OS:          Linux

I enter a custom browser identification in 
Settings - Configure Konqueror - Browser Identification

I close the config window.
I reopen the config window.
The identification field is blank.
So the string I selected is not there anymore.

I close the config window.
I try to select a site for which I need an internet explorer
identification.
The browser still seems to identify as default.

For example, www.nrc.nl (see bug number 69062)

See perhaps also bug 60673 (Internet banking does not work)
Comment 1 Dawit Alemayehu 2004-01-10 09:05:05 UTC
Subject: kdebase/kcontrol/kio

CVS commit by adawit: 

- Fix BR# 72156.

  NOTE: This bug report exposes a problem in how text squeezing is handled
	in KLineEdit. Will prepare separate patch for that.

CCMAIL:72156-done@bugs.kde.org


  M +3 -2      uagentproviderdlg.cpp   1.26


--- kdebase/kcontrol/kio/uagentproviderdlg.cpp  #1.25:1.26
@@ -66,4 +66,5 @@ UAProviderDlg::UAProviderDlg( const QStr
   dlg = new UAProviderDlgUI (this);
   mainLayout->addWidget(dlg);
+  //dlg->leIdentity->setEnableSqueezedText( true );
     
   if (!m_provider)
@@ -109,5 +110,5 @@ void UAProviderDlg::slotActivated( const
     dlg->leIdentity->setText( "" );
   else
-    dlg->leIdentity->setSqueezedText( m_provider->agentStr(text) );
+    dlg->leIdentity->setText( m_provider->agentStr(text) );
 
   dlg->pbOk->setEnabled( (!dlg->leSite->text().isEmpty() && !text.isEmpty()) );