Page 1 of 1

cinnamon/nemo crash after samba umount

Posted: Wed Jul 22, 2015 4:35 pm
by jupiter66
I think I have found a bug affecting (at least) mint 17.2 cinnamon 64 bit.

Steps to reproduce:
1) Put at least one icon on your desktop if you don't have one.
2) Mount a samba share
3) Unmount it (with the desktop icon, with nemo eject button or...)
4) All desktop icons dissapears. In my case, the panel hides also.

The workaround then is to restart cinnamon...

Re: cinnamon/nemo crash after samba umount

Posted: Wed Jul 22, 2015 5:00 pm
by Cosmo.
Please do the following:

When your desktop icons are gone, open the desktop settings and look, if the main switch (show desktop icons) is set to on or off. Please report this!
If the setting is on (my assumption), switch it one time off and back to on. Do the icons reappear?
I have a suspicion, but instead of making wild speculations I need this info, before I can say more.

Re: cinnamon/nemo crash after samba umount

Posted: Wed Jul 22, 2015 8:05 pm
by jupiter66
The switch is then set to on. I don't repair anything if I switch it to off and back on.
Another observation: after the crash, even a right click on the desktop does nothing. Idem for the Super key.

Re: cinnamon/nemo crash after samba umount

Posted: Thu Jul 23, 2015 5:48 am
by Cosmo.
jupiter66 wrote:I don't repair anything if I switch it to off and back on.
Maybe it is my non perfect English, but I don't understand what you say here. This is a setting and by switching it off and on you do not repair anything.
jupiter66 wrote:Another observation: after the crash, even a right click on the desktop does nothing.
I expected this, but I need at first the result of switching the said setting, before I can tell more.

Re: cinnamon/nemo crash after samba umount

Posted: Thu Jul 23, 2015 7:48 am
by jupiter66
Cosmo. wrote:
jupiter66 wrote:I don't repair anything if I switch it to off and back on.
Maybe it is my non perfect English, but I don't understand what you say here. This is a setting and by switching it off and on you do not repair anything.
jupiter66 wrote:Another observation: after the crash, even a right click on the desktop does nothing.
I expected this, but I need at first the result of switching the said setting, before I can tell more.
My English is not perfect either... You asked what I see after switching this setting off/on. Answer: the icons are still missing (the desktop is still broken).

Re: cinnamon/nemo crash after samba umount

Posted: Thu Jul 23, 2015 8:27 am
by Cosmo.
Anyhow we will make ourselves understandable. 8) BTW: What is your native language?

You don't see the desktop icons and you get no right click menu on the desktop. So far - so clear.

Now please open the desktop settings, they are inside the system settings. The main switch on the top of the desktop settings is set to "on" as you already wrote, so it shows obviously wrong.
All I want is, that you turn it to "off" and immediately back to "on". My guess: The desktop icons will after that reappear and you will be able to open the right click menu on the desktop. But I need your confirmation about this; guessing could lead to wrong advices - something you surely do not want.

Re: cinnamon/nemo crash after samba umount

Posted: Thu Jul 23, 2015 8:41 am
by jupiter66
Cosmo. wrote:Anyhow we will make ourselves understandable. 8) BTW: What is your native language?
French...
Cosmo. wrote: All I want is, that you turn it to "off" and immediately back to "on". My guess: The desktop icons will after that reappear and you will be able to open the right click menu on the desktop.
I tried this and no, the desktop icons don't reappear.

BTW, I have more details on how to reproduce the problem. The Samba link has to be in your Nemo shortcuts (favoris in french). So:

1) Share one of your folder (right click...) and check the box for guest access
2) with Nemo, browse the network and mount this shared network (on the same computer)
3) The folder will appear in the network mounts (Nemo side pane). Right click on it to make a shortcut and then unmount it.
4) Click on the shortcut to remount it.
5) Unmount it ===> crash.

Re: cinnamon/nemo crash after samba umount

Posted: Thu Jul 23, 2015 12:29 pm
by Cosmo.
I am German, so this not a way for better understanding.

Anyway:
I tried to reproduce your description. Until the crash I can reproduce it (although it took 2 tries in my case) in can reproduce the problem. It looks like a bug, definitely. I did not notice until now.

But in one point I come to a different result: If I do the change in the desktop settings after the nemo-crash, which I described (main-switch to off and back on) I get the desktop icons back (as I expected) and the desktop context menu gets available again. Also simply starting nemo new (e.g. from the panel-launcher right to the menu) brings the desktop icons back. The availability of the desktop context menu depends from the appearance of the desktop icons; this problem is there since LM 17.1.

This last problem is something I noticed already, when I stop nemo with the command nemo -q in the terminal. I saw this already during the beta-testing phase of LM 17.2 Cinnamon and I reported it to the developers, but the problem is still present in the last version of Cinnamon.

I have no idea, why you don't get the desktop icons back with the method I described. Try it with the other method, starting Nemo from the panel launcher. (Or open a terminal via ctrl-alt-t and enter nemo)

Hopefully both bugs get solved soon.

Re: cinnamon/nemo crash after samba umount

Posted: Thu Jul 23, 2015 1:04 pm
by jupiter66
OK, I did new tests after a fresh login and now I agree with you. If I change the desktop settings after the crash (switch to off and back on) I get the desktop icons back, the desktop context menu gets available again and the intellide panel shows as expected. I don't know what happened in my first test, maybe I was distracted :D .

So if I understand well, the samba umount makes nemo crash and your trick is a way to force nemo to restart.

Anyway, I reported the bug on launchpad:
https://bugs.launchpad.net/linuxmint/+bug/1477560

Thank you Cosmo.