Bug 1250404 - unable to close window - running caja from xfce
Summary: unable to close window - running caja from xfce
Keywords:
Status: CLOSED DUPLICATE of bug 1278079
Alias: None
Product: Fedora
Classification: Fedora
Component: caja
Version: 21
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Wolfgang Ulbrich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-05 10:24 UTC by Filipe Rosset
Modified: 2017-09-01 00:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-09-17 08:14:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
caja strace (55.14 KB, application/x-gzip)
2015-08-05 10:24 UTC, Filipe Rosset
no flags Details

Description Filipe Rosset 2015-08-05 10:24:25 UTC
Created attachment 1059395 [details]
caja strace

Description of problem:
unable to close window - running caja from xfce

Version-Release number of selected component (if applicable):
latest caja version available in f21

Steps to Reproduce:
1. run caja from Xfce, try to close the window
2.
3.

Actual results:
caja apparently restart (or redraw) it`s window

Expected results:
close caja

Additional info:
strace attached

I'll try to reproduce this issue in F22 and rawhide soon.

Comment 1 Wolfgang Ulbrich 2015-08-05 10:45:22 UTC
Thanks,
With this fix from upstream caja closed proper if you run it as root or in another desktop (which is the same because it root is another session), this was broken all the years.
https://github.com/mate-desktop/caja/commit/4b0d231fdf8dfd6d299ec07cc933000a610f0a74
In result caja closed and restart again via xfce session-management because /usr/share/applications/caja.desktop use X-MATE-AutoRestart=true.
For some reasons xfce session-management reads this line.
In other sessions like gnome or xfce this doen't happen.
You can avoid this if you start caja like this (or create a desktop launcher)
'caja --sm-client-disable --no-desktop --browser'.
Note, --sm-client-disable is the important thing.
I'm really clueless why xfce session-management reads X-MATE-AutoRestart=true,
which is the real cause for this issue.

Comment 2 Wolfgang Ulbrich 2015-08-05 10:47:05 UTC
(In reply to Wolfgang Ulbrich from comment #1)
> Thanks,
> With this fix from upstream caja closed proper if you run it as root or in
> another desktop (which is the same because it root is another session), this
> was broken all the years.
> https://github.com/mate-desktop/caja/commit/
> 4b0d231fdf8dfd6d299ec07cc933000a610f0a74
> In result caja closed and restart again via xfce session-management because
> /usr/share/applications/caja.desktop use X-MATE-AutoRestart=true.
> For some reasons xfce session-management reads this line.
> In other sessions like gnome or xfce this doen't happen.
I meant In other sessions like gnome or cinnamon this doesn't happen.

Comment 3 Wolfgang Ulbrich 2015-08-05 10:50:11 UTC
Btw, the stackstrace is another issue.

Comment 4 Wolfgang Ulbrich 2015-08-26 13:14:28 UTC
(In reply to Wolfgang Ulbrich from comment #1)
> You can avoid this if you start caja like this (or create a desktop launcher)
> 'caja --sm-client-disable --no-desktop --browser'.
> Note, --sm-client-disable is the important thing.
Does this help?

Comment 5 Wolfgang Ulbrich 2015-09-17 08:14:34 UTC
No answer from reporter!

Comment 6 Wolfgang Ulbrich 2015-12-18 12:01:56 UTC

*** This bug has been marked as a duplicate of bug 1278079 ***

Comment 7 Filipe Rosset 2017-09-01 00:29:09 UTC
working on f26


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