Bug 1240308 - Several Windows Are Spawned On User Attepmted Exit
Summary: Several Windows Are Spawned On User Attepmted Exit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: caja
Version: 22
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Wolfgang Ulbrich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-06 14:10 UTC by Randy Berry
Modified: 2015-07-14 16:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-14 16:06:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Randy Berry 2015-07-06 14:10:47 UTC
Description of problem:
Caja also loads several windows after you try to exit it. When you close it a new window spawns this happens several times when you try to exit.


Version-Release number of selected component (if applicable):
caja-1.10.1-4.fc22.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Load caja
2. Close caja
3. Watch

Actual results:
Several windows are spawned and must be closed until caja actually exits.

Expected results:
Caja should exit cleanly.

Additional info:
Running Xfce4

Comment 1 Randy Berry 2015-07-06 14:29:44 UTC
'dnf distro-sync' caja-1.10.1-3.fc22.x86_64
Same issue.

Comment 2 Wolfgang Ulbrich 2015-07-06 15:41:30 UTC
How did you start caja?
And is mate-settings-daemon in xfce running?
Because this application is responsible for restarting caja, and should not run in other desktops than mate.

Comment 3 Wolfgang Ulbrich 2015-07-06 15:48:55 UTC
*** Bug 1240305 has been marked as a duplicate of this bug. ***

Comment 4 Randy Berry 2015-07-06 15:55:46 UTC
Caja is started through the desktop menu
mate-settings-daemon is not set to run at start up.

Also tried terminal start. Received the following output:

[rberry@merlin ~]$ caja
Initializing caja-open-terminal extension
Initializing caja-image-converter extension
sys:1: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed


On user exit:


sys:1: Warning: gsignal.c:2569: instance '0xb22dd0' has no handler with id '1456'
sys:1: GtkWarning: IA__gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed
sys:1: Warning: gsignal.c:2569: instance '0x7fb3640050a0' has no handler with id '291'
sys:1: Warning: Source ID 295 was not found when attempting to remove it
sys:1: Warning: Source ID 296 was not found when attempting to remove it
sys:1: Warning: Source ID 297 was not found when attempting to remove it

--- Hash table keys for warning below:
--> inode/directory
--> Randall J. Berry
--> l64771
--> rberry

Caja restarts 5 times after user exit (X click and File=>Close)

Comment 5 Michael Schwendt 2015-07-06 16:43:23 UTC
> 'dnf distro-sync' caja-1.10.1-3.fc22.x86_64
> Same issue.

You forgot mentioning some details:

1) Is this the first time you're using caja?
2) Is it reproducible with a fresh user account?

Comment 6 Randy Berry 2015-07-06 16:50:44 UTC
(In reply to Michael Schwendt (Fedora Packager Sponsors Group) from comment #5)
> > 'dnf distro-sync' caja-1.10.1-3.fc22.x86_64
> > Same issue.
> 
> You forgot mentioning some details:
> 
> 1) Is this the first time you're using caja?
> 2) Is it reproducible with a fresh user account?

Michael, 
It was not the first time using caja, this problem seems to have started itself. I can't recall when or if system changes were made to cause it. 

Sorry, I've removed mate I can't test any further, I don't have time for Wolfgang's attitude.

Comment 7 Michael Schwendt 2015-07-06 16:58:36 UTC
> It was not the first time using caja,
> this problem seems to have started itself.

That's why trying to reproduce with a fresh/clean user account would have been interesting. It is very *basic* trouble-shooting to do when facing runtime problems.

Comment 8 Wolfgang Ulbrich 2015-07-06 17:09:57 UTC
(In reply to Randall "Randy" Berry from comment #6)
 
> Sorry, I've removed mate I can't test any further, I don't have time for
> Wolfgang's attitude.
Please, calm down.
I only did ask some questions.
If you think this is a bad attitude. it is impossible fo me to help you.

Comment 9 Wolfgang Ulbrich 2015-07-06 19:22:05 UTC
The spawned windows is the result of starting caja without the option --no-desktop, means caja try to handle the desktop and fails to do that because this is blocked by xfce and tries to do it again because of auto re-start if crashing.
So, the questions is which daemon starts caja inside xfce.
All desktop files of caja in /usr/share/applications/ use 'OnlyShowInMate', exept caja-browser.desktop.
This file is that what you see in menus but it use 'Exec=caja --no-desktop --browser %U'.
Non of this files can be responsable for this spawned windows.

I think the real cause is that xfce desktop don't use a own
/usr/share/applications/xfce-mimeapps.list
All other desktops like mate, cinnamon or gnome use such a list to define their default applications. Ie. mate has this entries for caja.

inode/directory=caja-folder-handler.desktop
# URI scheme handlers
x-scheme-handler/computer=caja-folder-handler.desktop
x-scheme-handler/network=caja-folder-handler.desktop

I'm pretty shure somewhats in xfce reads this defines and try to start caja without the --no-desktop option.

To avoid more misunderstanding i will revert 'allow caja --no-desktop in other desktops', which i did to be friendly to other desktop users, with next build, util xfce starts to use their own mimeapps.list.

Comment 10 Wolfgang Ulbrich 2015-07-06 19:25:21 UTC
err.....until xfce starts to use their own mimeapps.list.

Comment 11 Fedora Update System 2015-07-06 19:30:17 UTC
caja-1.10.1-5.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/caja-1.10.1-5.fc22

Comment 12 Fedora Update System 2015-07-10 19:13:30 UTC
Package caja-1.10.1-5.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing caja-1.10.1-5.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-11303/caja-1.10.1-5.fc22
then log in and leave karma (feedback).


Note You need to log in before you can comment on or make changes to this bug.