In Kubuntu Konqueror windows are opened sometimes as "Konqueror" and sometimes as "X-www-browser"

Bug #44791 reported by Krzysztof Lichota
10
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Some windows of Konqueror (opened using Konqueror menu entry) are opened with title "Konqueror", while others, opened for example by clicking on link in Thunderbird have title "X-www-browser".

When using grouping windows in the taskbar, it causes creating two groups with Konqueror window.
It is very irritating as to find specific window, user must look into both groups.

Revision history for this message
Matthew Lange (matthewlange) wrote :

Assigned to package 'konqueror'

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Why the package konqueror cannot be selected?

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Because it's sourcepackage kdebase :)

Changed it to kdebase.

Revision history for this message
Anthony Mercatante (tonio) wrote :

That's due to the process used by applications to launch the prefered browser.
They can look at /etc/alternatives/x-www-browser or use "kfmclient openURL" to launch defined prefered browser in kde.
There is no solution to this except if all gnome and kde applications use the same process to launch the browser.
This is the reason the bug occurs with thunderbird, since this one doesn't use kfmclient.

I'm affraid there is no solution waiting for portland

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Then, I don't understand why the same doesn't happen when you launch firefox through x-www-browser.

Why konqueror keeps the x-www-browser windows settings while firefox doesn't?

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Actually, I suspect that the issue might be that

1) x-www-browser is simply a link to either konqueror and firefox.
2) konqueror is a binary.
3) firefox is a script that invokes the real firefox binary.

Do you think this may explain the different behaviour?

Revision history for this message
Anthony Mercatante (tonio) wrote :

Because Firefox probably hardcodes it's name to the window title, when konqueror probably looks at the command use to launch it to display it...
There is a difference simply because Firefox and Konqueror are different applications that don't work the same way and because Firefox isn't integrated with the kde DE...

The only thing to avoid those kind of errors is to limit the number of gtk apps used on kde and kde apps used on gnome...

Revision history for this message
Anthony Mercatante (tonio) wrote :

x-www-browser is an alternative, look at /etc/alternatives/

The point is kde apps are looking at the kde parameter that defines the prefered browser while gtk apps like firefox are using the "alternative" setting...

This is the kind of differences that made se say "avoid gtk apps on kde as much as possible" ;)

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Sorry, Anthony, I don't understand what is your point.

To illustrate my point, I moved konqueror to konqueror-real and created a script called konqueror which simply does "exec /usr/bin/konqueror-real". Once this is done, it doesn't matter how you call konqueror, using the x-www-browser or invoking "konqueror", the type of the window is always konqueror-real. I believe this is what is happenning with firefox, rather than firefox modifying its own window class or konqueror looking up its invokation name.

Revision history for this message
Anthony Mercatante (tonio) wrote :

Hum, starts beeing interesting indeed !
I'm installing thuwsernderbird reproduce.

Revision history for this message
Anthony Mercatante (tonio) wrote :

I can confirm this, but I haven't been able to find the solution for now...

Changed in kdebase:
status: Unconfirmed → Confirmed
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

I'm not sure if I'm understanding correctly, but on Edgy and Feisty, using kfmclient or konqueror or x-www-browser to launch konqueror all result in a window titled "Name of Page - Konqueror"

Changed in kdebase:
status: Confirmed → Needs Info
Revision history for this message
Krzysztof Lichota (krzysiek-launchpad-ubuntu-com) wrote :

I don't have Edgy nor Feisty. I am using Dapper, so I cannot confirm if it was fixed or not.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kdebase (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.