Quick Browser Applet opens folder as well as file

Bug #1385901 reported by nick
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo-Dock Plug-ins
New
Undecided
Unassigned

Bug Description

 ============================================================================
        Cairo-Dock version : 3.4.0
        Compiled date : Oct 17 2014 09:05:35
        Built with GTK : 3.14
        Running with OpenGL: 1
 ============================================================================
NOTE: This issue only affects the KDE environment where the KDE Integration for cairo-dock is disabled using cairo-dock -e gnome.

The Quick Browser Applet opens the folder as well as selected file.

Although opening directories works as expected when opening a file from the Quick Browser applet it opens the file but also opens the directory where the file is located. This is in contrast to using the KDE Integration where only the file is opened (e.g. click on text file and it is handled by text editor).

Tags: kde
Revision history for this message
Fabounet (fabounet03) wrote : Re: [Cairo-dock-team] [Bug 1385901] [NEW] Quick Browser Applet opens folder as well as file

Hi,
is it a bug you noticed after an update of the dock ?
I wonder if it could be related to using GTK 3.14

2014-10-26 16:25 GMT+01:00 nick <email address hidden>:

> Public bug reported:
>
>
> ============================================================================
> Cairo-Dock version : 3.4.0
> Compiled date : Oct 17 2014 09:05:35
> Built with GTK : 3.14
> Running with OpenGL: 1
>
> ============================================================================
> NOTE: This issue only affects the KDE environment where the KDE
> Integration for cairo-dock is disabled using cairo-dock -e gnome.
>
>
> The Quick Browser Applet opens the folder as well as selected file.
>
> Although opening directories works as expected when opening a file from
> the Quick Browser applet it opens the file but also opens the directory
> where the file is located. This is in contrast to using the KDE
> Integration where only the file is opened (e.g. click on text file and
> it is handled by text editor).
>
> ** Affects: cairo-dock-plug-ins
> Importance: Undecided
> Status: New
>
>
> ** Tags: kde
>
> --
> You received this bug notification because you are a member of Cairo-
> Dock Devs, which is subscribed to Cairo-Dock Plug-ins.
> https://bugs.launchpad.net/bugs/1385901
>
> Title:
> Quick Browser Applet opens folder as well as file
>
> Status in Cairo-Dock: Plug-ins:
> New
>
> Bug description:
>
> ============================================================================
> Cairo-Dock version : 3.4.0
> Compiled date : Oct 17 2014 09:05:35
> Built with GTK : 3.14
> Running with OpenGL: 1
>
> ============================================================================
> NOTE: This issue only affects the KDE environment where the KDE
> Integration for cairo-dock is disabled using cairo-dock -e gnome.
>
>
> The Quick Browser Applet opens the folder as well as selected file.
>
> Although opening directories works as expected when opening a file
> from the Quick Browser applet it opens the file but also opens the
> directory where the file is located. This is in contrast to using the
> KDE Integration where only the file is opened (e.g. click on text file
> and it is handled by text editor).
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cairo-dock-plug-ins/+bug/1385901/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cairo-dock-team
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~cairo-dock-team
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
nick (thedarkstuff) wrote :

Good question - I have not been testing the Quick Browser Applet much in the past and to be honest it is difficult to say.

Revision history for this message
nick (thedarkstuff) wrote :

I'm on Arch at the moment and I can see I have a copy of 3.12. I will install this tomorrow and give it a go and report back.

Revision history for this message
nick (thedarkstuff) wrote :

I downgraded gtk3 from 3.14.4-1 to 3.12.2-1. The issue is still there and as started above it only happens when KDE Integration is disabled.

One thing I did not note originally is that the file manager is opening the file selected (with the preferred application via mime) and opening the actual file in the file manager.

I have attached a screenshot of how it looks.

Revision history for this message
nick (thedarkstuff) wrote :
Revision history for this message
Fabounet (fabounet03) wrote : Re: [Cairo-dock-team] [Bug 1385901] Re: Quick Browser Applet opens folder as well as file

I wonder, why is gvfs-open called ?
the dock only uses gio (which then may call gvfsd through Dbus)
what if you make gvfs-open unexecutable (sudo chmod -x /usr/bin/gvfs-open) ?

2014-10-28 9:07 GMT+01:00 nick <email address hidden>:

> ** Attachment added: "Double Open Issue"
>
> https://bugs.launchpad.net/cairo-dock-plug-ins/+bug/1385901/+attachment/4246834/+files/quick_browser_double_open.png
>
> --
> You received this bug notification because you are a member of Cairo-
> Dock Devs, which is subscribed to Cairo-Dock Plug-ins.
> https://bugs.launchpad.net/bugs/1385901
>
> Title:
> Quick Browser Applet opens folder as well as file
>
> Status in Cairo-Dock: Plug-ins:
> New
>
> Bug description:
>
> ============================================================================
> Cairo-Dock version : 3.4.0
> Compiled date : Oct 17 2014 09:05:35
> Built with GTK : 3.14
> Running with OpenGL: 1
>
> ============================================================================
> NOTE: This issue only affects the KDE environment where the KDE
> Integration for cairo-dock is disabled using cairo-dock -e gnome.
>
>
> The Quick Browser Applet opens the folder as well as selected file.
>
> Although opening directories works as expected when opening a file
> from the Quick Browser applet it opens the file but also opens the
> directory where the file is located. This is in contrast to using the
> KDE Integration where only the file is opened (e.g. click on text file
> and it is handled by text editor).
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cairo-dock-plug-ins/+bug/1385901/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cairo-dock-team
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~cairo-dock-team
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
nick (thedarkstuff) wrote :

Removed execute permission from gvfs-open and the issue still occurs.

I can see by redirecting the error stream the following:

(cairo-dock:3058): Gtk-WARNING **: Theme parsing error: gtk.css:81:22: Theming engine 'oxygen-gtk' not found
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QString)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QString)
KDirWatch: /home/nick/foo/foo is a file. Use addFile!
dolphin(3081)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
dolphin(3081)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
dolphin(3081)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
dolphin(3081)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
dolphin(3081)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
dolphin(3081)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:

Revision history for this message
nick (thedarkstuff) wrote :
Revision history for this message
Michael Bickel (michael-bic-81) wrote :

The Odd Behaviour still occurs using cairo-dock 3.4.1 via Linux Mint 18 KDE.
The "Quick-Preview" Applet as well as the "Folder" Applet still wont open the corresponding folders

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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