Desktop icons disappear -- Bug?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
markfilipak
Level 5
Level 5
Posts: 589
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Desktop icons disappear -- Bug?

Post by markfilipak » Wed Mar 14, 2018 8:51 pm

My desktop icons: trash & mounted drives, disappear when I double-click a desktop URL-link. Rebooting restores them. What's happening?

Searching the Internet did not bring joy.

Details:
I read somewhere that dragging a URL from a browser to the desktop would create a link. I tried it. It does. But when I double-click the link, the link does not open in my (running) browser, and all of the desktop icons disappear. Right-clicking the desktop stops working also.

Seems like a bug. Is it? Or is it user-stupidity? Help, please.

Kind Regards -- Mark.
Please don't refer me to github. Their words: "This repository isn't a support forum"
Acer Predator G9-792 > Win10-1511 > VBox > Mint18.2 + Cinnamon -or-
Dell Inspiron 15-3567 > Win10-1709 > VBox > Mint18.2 + Cinnamon

User avatar
kyphi
Level 8
Level 8
Posts: 2292
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter, Australia

Re: Desktop icons disappear -- Bug?

Post by kyphi » Wed Mar 14, 2018 11:21 pm

markfilipak wrote:
Wed Mar 14, 2018 8:51 pm
But when I double-click the link, the link does not open in my (running) browser
... and your running browser is ?

URLs work fine in Firefox 58.0.2 if it is the default browser.
Linux Mint 19 Cinnamon - 64bit

markfilipak
Level 5
Level 5
Posts: 589
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: Desktop icons disappear -- Bug?

Post by markfilipak » Thu Mar 15, 2018 12:20 am

kyphi wrote:
Wed Mar 14, 2018 11:21 pm
... and your running browser is ?
Firefox 58.0.2 (64-bit).

...About 20 minutes later: Though the desktop picture didn't change, I suspected that something may have been changing the workspace, so I disabled workspaces, rebooted, and reran the test. I did that several times. The symptoms remained the same. I also confirmed that links in emails worked as expected, even if the browser was not running. So the problem is hard & repeatable.

...I just double-clicked on the desktop link again to confirm that right-click on the desktop (i.e., context menu) doesn't work, and it doesn't work. The icons disappear and the desktop context menu disappears. Whatever the problem is, it's making the desktop numb.

...I just disabled the Show Desktop applet in Panel & reran the test. I still have the problem, so I can eliminate the applet. I'm out of ideas.

If it was just a case of the browser not receiving the link, I'd suspect the browser, but the icons disappearing and the desktop context menu malfunctioning? ...

PS: During my web searches, I found a lot of posts regarding desktop icons disappearing but I couldn't find a pattern to them.
Please don't refer me to github. Their words: "This repository isn't a support forum"
Acer Predator G9-792 > Win10-1511 > VBox > Mint18.2 + Cinnamon -or-
Dell Inspiron 15-3567 > Win10-1709 > VBox > Mint18.2 + Cinnamon

User avatar
kyphi
Level 8
Level 8
Posts: 2292
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter, Australia

Re: Desktop icons disappear -- Bug?

Post by kyphi » Thu Mar 15, 2018 10:33 pm

Try a right click on the panel, select "troubleshoot" and opt for "Restore all settings to default".

You might also temporarily disable Add-ons and Extensions in Firefox.
Linux Mint 19 Cinnamon - 64bit

markfilipak
Level 5
Level 5
Posts: 589
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: Desktop icons disappear -- Bug?

Post by markfilipak » Thu Mar 15, 2018 10:52 pm

kyphi wrote:
Thu Mar 15, 2018 10:33 pm
Try a right click on the panel, select "troubleshoot" and opt for "Restore all settings to default".

You might also temporarily disable Add-ons and Extensions in Firefox.
Before I try the desktop link, there is no "troubleshoot" in the context menu. After I try the desktop link and the desktop icons have disappeared, there is no context menu.

...Later update: I tried running the browser in safe mode. No change. Even without the browser running at all, double-clicking the desktop link causes the desktop icons to disappear and the context menu to disappear.

PS: Oh, by the way, I get no messages in '~/xsession-errors' related to this problem.

One more thing. In 'System Settings'>'Desktop', 'Show desktop icons on all monitors' & 'Allow icons from missing monitors to be displayed on the existing ones' are both selected. The thing that, I believe, is most revealing is that the right-click context menu disappears when the desktop link is clicked.
Please don't refer me to github. Their words: "This repository isn't a support forum"
Acer Predator G9-792 > Win10-1511 > VBox > Mint18.2 + Cinnamon -or-
Dell Inspiron 15-3567 > Win10-1709 > VBox > Mint18.2 + Cinnamon

User avatar
BG405
Level 6
Level 6
Posts: 1372
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: Desktop icons disappear -- Bug?

Post by BG405 » Mon Mar 19, 2018 3:08 pm

What do you see if you first right-click it and open it with a text editor? It may not be URL a link at all. It may be trying to execute code instead and, as this isn't expected or supported in this way, causes the crash.

Does restarting Cinnamon help? cinnamon --replace in Terminal.

I have found that dragging and dropping (using SHIFT or CTRL) creates a copy of the embedded code in the link rather than its image or the link itself. Simply dragging and dropping a link seems to do the same thing.

Only way AFAIK is to right-click and copy the URL, then use that to create your link.
Dell Inspiron 1525 - LM17.3 CE 64-------------------Acer D255E 2GB - Manjaro KDE, LM17.3 KDE 32
Toshiba NB305 - LM17.3 Xfce 32---------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Dell PII 350 64MB - Puppy 4.3 & Win98-SE

markfilipak
Level 5
Level 5
Posts: 589
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: Desktop icons disappear -- Bug?

Post by markfilipak » Mon Mar 19, 2018 8:36 pm

BG405 wrote:
Mon Mar 19, 2018 3:08 pm
What do you see if you first right-click it and open it with a text editor? It may not be URL...
Good idea, but...

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=Link to Cinnamon - Linux Mint Forums
Type=Link
URL=https://forums.linuxmint.com/viewforum.php?f=208
Icon=text-html
Name[en_US]=test
Looking at this file contents was the 1st thing I did after creating it. You see, I want to manually duplicate these file formats elsewhere. But it was a good idea. Good thinking.
Does restarting Cinnamon help? cinnamon --replace in Terminal.

I have found that dragging and dropping (using SHIFT or CTRL) creates a copy of the embedded code in the link rather than its image or the link itself. Simply dragging and dropping a link seems to do the same thing.

Only way AFAIK is to right-click and copy the URL, then use that to create your link.
I used drag-n-drop, but the result is the same.

I've restarted Cinnamon many times.
Please don't refer me to github. Their words: "This repository isn't a support forum"
Acer Predator G9-792 > Win10-1511 > VBox > Mint18.2 + Cinnamon -or-
Dell Inspiron 15-3567 > Win10-1709 > VBox > Mint18.2 + Cinnamon

Post Reply

Return to “Newbie Questions”