Debian Bug report logs - #682891
[dia] under KDE with iceweasel as default browser, dia files are opened with iceweasel (from Dolphin)

Package: meta-kde; Maintainer for meta-kde is Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>;

Reported by: Landry MINOZA <landry.minoza@gmail.com>

Date: Thu, 26 Jul 2012 18:39:01 UTC

Severity: important

Done: Aurélien COUDERC <coucouf@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#682891; Package dia. (Thu, 26 Jul 2012 18:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Landry MINOZA <landry.minoza@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Thu, 26 Jul 2012 18:39:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Landry MINOZA <landry.minoza@gmail.com>
To: submit@bugs.debian.org
Subject: [dia] under KDE with iceweasel as default browser, dia files are opened with iceweasel (from Dolphin)
Date: Thu, 26 Jul 2012 20:30:39 +0200
[Message part 1 (text/plain, inline)]
Package: dia
Version: 0.97.2-8
Severity: important

--- Please enter the report below this line. ---
I'm using KDE 4.8.4 from unstable.
In KDE settings, iceweasel is set as my default browser.
When I try to open *.dia file from Dolphin, it launch's iceweasel with URL 
file:///path/to/my/file.dia

Tried to customize with keditfiletype (keeping only dia as application and 
remove all in "embeded" tab) does not change anything.

If I try to launch from term with xdg-open:
XDG_UTILS_DEBUG_LEVEL="3" sh -x /usr/bin/xdg-open /path/to/my/file.dia 
+ check_common_commands /path/to/my/file.dia
+ [ 1 -gt 0 ]
+ parm=/path/to/my/file.dia
+ shift
+ [ 0 -gt 0 ]
+ [ -z 3 ]
+ [ 3 -lt 1 ]
+ xdg_redirect_output= >&2
+ [ x/path/to/my/file.dia != x ]
+ url=
+ [ 1 -gt 0 ]
+ parm=/path/to/my/file.dia
+ shift
+ [ -n  ]
+ url=/path/to/my/file.dia
+ [ 0 -gt 0 ]
+ [ -z /path/to/my/file.dia ]
+ detectDE
+ unset GREP_OPTIONS
+ [ -n  ]
+ [ x = x ]
+ [ xtrue = xtrue ]
+ DE=kde
+ [ xkde = x ]
+ [ xkde = x ]
+ [ xkde = xgnome ]
+ [ xkde = x ]
+ DEBUG 2 Selected DE kde
+ [ -z 3 ]
+ [ 3 -lt 2 ]
+ shift
+ echo Selected DE kde
Selected DE kde
+ [ x = x ]
+ BROWSER=www-browser:links2:elinks:links:lynx:w3m
+ [ -n :0 ]
+ BROWSER=x-www-browser:firefox:seamonkey:mozilla:epiphany:konqueror:chromium-
browser:google-chrome:www-browser:links2:elinks:links:lynx:w3m
+ open_kde /path/to/my/file.dia
+ kde-open -v
+ kde-open /path/to/my/file.dia
+ [ 0 -eq 0 ]
+ exit_success
+ [ 0 -gt 0 ]
+ exit 0

As one can see in the debug, xdg-open uses kde-open.
I join the strace and ltrace in trace and trace2 from kde-open


--- System information. ---
Architecture: amd64
Kernel:       Linux 3.4-trunk-amd64

Debian Release: wheezy/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        http.debian.net 
  500 testing         www.debian-multimedia.org 
  500 testing         http.debian.net 
  500 stable          www.debian-multimedia.org 
  500 stable          security.debian.org 
  500 stable          http.debian.net 
  500 stable          dl.google.com 
  500 precise         ppa.launchpad.net 
  500 hardy           linux.dell.com 
  500 gutsy           linux.dell.com 
  500 cross-distro    linux.dell.com 
  101 experimental    http.debian.net 

--- Package information. ---
Depends                    (Version) | Installed
====================================-+-==============
libart-2.0-2             (>= 2.3.18) | 2.3.21-2
libatk1.0-0              (>= 1.12.4) | 2.4.0-2
libc6                       (>= 2.7) | 2.13-35
libcairo2                 (>= 1.2.4) | 1.12.2-2
libfontconfig1            (>= 2.8.0) | 2.9.0-6
libfreetype6              (>= 2.2.1) | 2.4.9-1
libgdk-pixbuf2.0-0       (>= 2.22.0) | 2.26.1-1
libglib2.0-0             (>= 2.24.0) | 2.32.3-1
libgtk2.0-0              (>= 2.12.0) | 2.24.10-1
libpango1.0-0            (>= 1.18.0) | 1.30.0-1
libpng12-0             (>= 1.2.13-4) | 1.2.49-2
libxml2                   (>= 2.7.4) | 2.8.0+dfsg1-5
zlib1g                  (>= 1:1.1.4) | 1:1.2.7.dfsg-13
dia-common              (= 0.97.2-8) | 0.97.2-8
dia-libs                (= 0.97.2-8) | 0.97.2-8


Recommends       (Version) | Installed
==========================-+-===========
gsfonts-x11                | 0.22


Package's Suggests field is empty.
-- 
En droit pénal français, un acte de piraterie est « le fait de s'emparer ou de 
prendre le contrôle par violence ou menace de violence d'un aéronef, d'un 
navire ou de tout autre moyen de transport à bord desquels des personnes ont 
pris place, ainsi que d'une plate-forme fixe située sur le plateau continental 
» (Article L.224-6).

Landry MINOZA
landry.minoza@gmail.com
[trace.zip (application/zip, attachment)]
[trace2.zip (application/zip, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#682891; Package dia. (Wed, 03 Oct 2012 13:15:15 GMT) (full text, mbox, link).


Acknowledgement sent to Roland Stigge <stigge@antcom.de>:
Extra info received and forwarded to list. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Wed, 03 Oct 2012 13:15:15 GMT) (full text, mbox, link).


Message #10 received at 682891@bugs.debian.org (full text, mbox, reply):

From: Roland Stigge <stigge@antcom.de>
To: Landry MINOZA <landry.minoza@gmail.com>, 682891@bugs.debian.org
Subject: Re: [Pkg-dia-team] Bug#682891: [dia] under KDE with iceweasel as default browser, dia files are opened with iceweasel (from Dolphin)
Date: Wed, 03 Oct 2012 15:07:53 +0200
Hi,

thank you for your report!

On 26/07/12 20:30, Landry MINOZA wrote:
> --- Please enter the report below this line. ---
> I'm using KDE 4.8.4 from unstable.
> In KDE settings, iceweasel is set as my default browser.
> When I try to open *.dia file from Dolphin, it launch's iceweasel with URL 
> file:///path/to/my/file.dia
> 
> Tried to customize with keditfiletype (keeping only dia as application and 
> remove all in "embeded" tab) does not change anything.

I can reproduce this. However, only in KDE (not in GNOME), and only with
Iceweasel as default browser.

I guess this issue should be reassigned to kde?

Roland



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#682891; Package dia. (Sun, 11 Nov 2012 06:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Daniele Tricoli <eriol@mornie.org>:
Extra info received and forwarded to list. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Sun, 11 Nov 2012 06:09:04 GMT) (full text, mbox, link).


Message #15 received at 682891@bugs.debian.org (full text, mbox, reply):

From: Daniele Tricoli <eriol@mornie.org>
To: Landry MINOZA <landry.minoza@gmail.com>, Roland Stigge <stigge@antcom.de>, 682891@bugs.debian.org
Subject: Re: [dia] under KDE with iceweasel as default browser, dia files are opened with iceweasel (from Dolphin)
Date: Sun, 11 Nov 2012 07:08:12 +0100
On Thursday 26 July 2012 20:30:39 you wrote:
> I'm using KDE 4.8.4 from unstable.

I'm using KDE 4.8.4 too.

> In KDE settings, iceweasel is set as my default browser.
> When I try to open *.dia file from Dolphin, it launch's iceweasel with
> URL  file:///path/to/my/file.dia

I had a similar problem with *.svg and I changed my configuration as 
follow:

1) In KDE Settings -> Default Applications I switched back to "in an 
application based on the contents of the URL"
2) In KDE Settings -> File Associations -> text -> html I moved Iceweasel 
to be the first item inside "Application Preference Order"

This way I have Iceweasel as default browser and opening *.svg from Dolphin 
works as expected (using inkscape instead of iceweasel).

I hope this workaround can help!

Cheers,

-- 
 Daniele Tricoli 'Eriol'
 http://mornie.org



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#682891; Package dia. (Wed, 15 May 2013 19:27:09 GMT) (full text, mbox, link).


Acknowledgement sent to Roland Stigge <stigge@antcom.de>:
Extra info received and forwarded to list. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Wed, 15 May 2013 19:27:09 GMT) (full text, mbox, link).


Message #20 received at 682891@bugs.debian.org (full text, mbox, reply):

From: Roland Stigge <stigge@antcom.de>
To: 682891@bugs.debian.org, control@bugs.debian.org
Subject: [dia] under KDE with iceweasel as default browser, dia files are opened with iceweasel (from Dolphin)
Date: Wed, 15 May 2013 21:20:33 +0200
reassign 682891 meta-kde
thanks

Hi,

I'm reassigning this bug to kde since dia is coming from the gnome
world, and I'm not sure what the best solution would be. So please
consider it a request for help.

Please reassign where appropriate - and please reassign to dia with a
recommendation how to handle this issue.

Thanks in advance,

Roland



Bug reassigned from package 'dia' to 'meta-kde'. Request was from Roland Stigge <stigge@antcom.de> to control@bugs.debian.org. (Wed, 15 May 2013 19:27:12 GMT) (full text, mbox, link).


No longer marked as found in versions dia/0.97.2-8. Request was from Roland Stigge <stigge@antcom.de> to control@bugs.debian.org. (Wed, 15 May 2013 19:27:13 GMT) (full text, mbox, link).


Reply sent to Aurélien COUDERC <coucouf@debian.org>:
You have taken responsibility. (Sun, 08 Dec 2019 22:00:13 GMT) (full text, mbox, link).


Notification sent to Landry MINOZA <landry.minoza@gmail.com>:
Bug acknowledged by developer. (Sun, 08 Dec 2019 22:00:14 GMT) (full text, mbox, link).


Message #29 received at 682891-done@bugs.debian.org (full text, mbox, reply):

From: Aurélien COUDERC <coucouf@debian.org>
To: 682891-done@bugs.debian.org, 682891-submitter@bugs.debian.org
Date: Sun, 08 Dec 2019 22:57:20 +0100
Hi there,

I cannot reproduce this issue on a current installation of Debian.
Without specific tweaks to the dia extension, Dolphin correctly opens Dia when 
I click on a .dia file.

So I’m closing this bug for now.
Feel free to reopen with more recent details if you’re still experiencing this 
issue.


Happy hacking !
--
Aurélien





Message sent on to Landry MINOZA <landry.minoza@gmail.com>:
Bug#682891. (Sun, 08 Dec 2019 22:00:21 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 06 Jan 2020 07:29:39 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 07:31:58 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.