Bug 73352 - can't change Browser Identification to Default
Summary: can't change Browser Identification to Default
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 74940 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-23 21:28 UTC by Florian Loitsch
Modified: 2004-08-18 10:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
my kio_httprc file (166 bytes, text/plain)
2004-01-24 01:36 UTC, Florian Loitsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Loitsch 2004-01-23 21:28:09 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) 
OS:          Linux

hi,
i once set my Browser Identification to "Internet Explorer 5.5 on Windows 2000" and can't set it back to Konqueror's own ID.
I can change to any other browser in the list, but when I click onto "Default Identification" it goes back to "Internet Explorer 5.5 on Windows 2000".
mfg,
// florian loitsch
Comment 1 Thiago Macieira 2004-01-23 21:53:53 UTC
It works fine for me. How are you trying to change back? Using the menu entry in the Tools menu, or using the configuration dialog?

Can you tell us what site it is and post your ~/.kde/share/config/kio_httprc? (It shouldn't contain any confidential information, but you should check)
Comment 2 Stephan Kulow 2004-01-23 22:53:24 UTC
works fine for me too
Comment 3 Florian Loitsch 2004-01-24 01:36:20 UTC
Created attachment 4326 [details]
my kio_httprc file
Comment 4 Florian Loitsch 2004-01-24 01:39:14 UTC
i'm trying to change it back using the menu (clicking onto Default Identification). But when I reopen the Menu "Internet Explorer... " is checked.

how can I change it back using the configuration dialog? I could just disable completely the identification (or add additional information). Am i wrong?
Comment 5 Florian Loitsch 2004-01-24 01:41:32 UTC
sorry. i forgot to add that in the last comment... (three comments in 5 minutes :(  )
it's for all sites. I'm not able to get the konqueror-default identification for any site. (tried it using http://kluge.in-chemnitz.de/tools/browser.php ).
Comment 6 Thiago Macieira 2004-01-24 03:12:36 UTC
You've got a global setting turned on.

I can confirm this bug now.
Comment 7 Thiago Macieira 2004-01-24 03:13:35 UTC
Adding adawit manually because there's no component uachanger.
Comment 8 Georges 2004-02-10 13:33:30 UTC
i can confirm this bug
it's exactly the same problem i have/had, and wanted to report just now :-).

after having removed the user-agent key from ~/.kde/share/config/kio_httprc it works fine now again
Comment 9 Stephan Kulow 2004-02-11 13:34:17 UTC
*** Bug 74940 has been marked as a duplicate of this bug. ***
Comment 10 Dawit Alemayehu 2004-02-13 14:05:15 UTC
CVS commit by adawit: 

- Fix Bug# 73352.

CCMAIL: 73352-done@bugs.kde.org


  M +5 -2      uachangerplugin.cpp   1.30


--- kdeaddons/konq-plugins/uachanger/uachangerplugin.cpp  #1.29:1.30
@@ -281,8 +281,8 @@ void UAChangerPlugin::slotDefault()
       if ( m_currentURL.isLocalFile() && m_config->hasGroup( "localhost" ) )
           m_config->deleteGroup( "localhost" );
+  
   m_config->sync();
 
-  // Reset some internal variables and inform the http io-slaves of
-  // the changes.
+  // Reset some internal variables and inform the http io-slaves of the changes.
   m_currentUserAgent = KProtocolManager::defaultUserAgent();
 
@@ -364,4 +364,7 @@ QString UAChangerPlugin::findTLD (const 
   }
   
+  if( domains.isEmpty() )
+    return hostname;
+    
   return domains[0];
 }


Comment 11 Fred Wells 2004-03-11 19:00:59 UTC
I can confirm that this bug still exists in KDE-3.2.1.
Comment 12 Dawit Alemayehu 2004-03-11 20:39:24 UTC
Fred,

I cannot duplicate, please recheck your installation. I can set and default back the user agent string at will for any site. My patch does fix the problem. If all else fails, open $KDEHOME/share/config/kio_httprc and remove any global (w/o section -> [...]) "UserAgent=" entry present.  See if you can duplicate the problem after that...
Comment 13 Mathieu Jobin 2004-06-25 05:40:23 UTC
still valid ! 

KDE 3.3 CVS 2004-06-19

Comment 14 Dik Takken 2004-06-25 12:13:55 UTC
I also wanted to report this problem. Konqueror suddenly changed the default browser ID to Netscape 4. Many stites started complaining about my 'oldish' browser. Whenever I tried to change to the default browser ID, it jumped back to Netscape 4. 

In my opinion this bug should not be marked fixed, because it apparently can still happen to anyone, even on KDE 3.2.2. Asking the user to just go hack their config files is not an acceptable solution IMHO.
Comment 15 ieure 2004-08-18 10:58:50 UTC
Yup, still seeing this with 3.3.0. Hacking the INI file seems to have fixed it for now. Will I have to do this every time I change the global UA string?