tomboy icon indicating copy to clipboard operation
tomboy copied to clipboard

Tomboy no longer minimizes to system tray / notification area

Open HighCommander4 opened this issue 7 years ago • 8 comments

Steps to reproduce:

  • Press the close button on the main Tomboy window ("Search All Notes").

Expected results:

  • Tomboy minimizes to the system tray / notification area, or there is an option to make it behave this way.

Actual results:

  • Tomboy shuts down altogether. I can't find a preference to control this behaviour.

Interestingly, until recently this used to work. I'm not sure how or why the behaviour changed.

Running Tomboy v1.14.1 on Debian 9.

HighCommander4 avatar Dec 15 '17 21:12 HighCommander4

Interestingly, until recently this used to work. I'm not sure how or why the behaviour changed.

In particular, I'm not seeing any recent updates to the Tomboy package in the Debian package tracker that might have brought this change of behaviour, making this all the more weird.

HighCommander4 avatar Dec 15 '17 21:12 HighCommander4

I wonder if rather than see Tomboy shut down, you are seeing a crash. Starting tomboy from the commandline may give you a hint. Either way, I'd consider upgrading tomboy. My Ubuntu 16.04 offers Tomboy 1.15.6 in its repo.

davidbannon avatar Dec 19 '17 02:12 davidbannon

Starting tomboy from the commandline may give you a hint.

Curiously, when I start it from the command line, it doesn't open a window at all. It just hangs.

Either way, I'd consider upgrading tomboy. My Ubuntu 16.04 offers Tomboy 1.15.6 in its repo.

As mentioned, I'm running Debian 9, where the latest version offered is 1.14.1 (I checked the backports repository as well). Do you have a suggestion for where to obtain the newer version from?

HighCommander4 avatar Dec 20 '17 16:12 HighCommander4

I should note that this issue happens one of my machines running Debian 9, but not another. So I think it's indeed likely that it's just crashing on the one machine for some reason.

HighCommander4 avatar Jan 03 '18 19:01 HighCommander4

This just started happening on another one of my Debian 9 machines. I just upgraded the kernel from 4.9 to 4.14, I wonder if that is related...

HighCommander4 avatar Feb 21 '18 18:02 HighCommander4

I just upgraded the kernel from 4.9 to 4.14, I wonder if that is related...

Doesn't seem that way:

  • Rebooted into 4.9 kernel --> problem is gone
  • Rebooted into 4.14 kernel again --> problem is gone

So... rebooting fixed the problem? But what caused it? Really weird...

HighCommander4 avatar Feb 21 '18 18:02 HighCommander4

I should clarify that when the problem occurs, Tomboy does not create a system tray icon at all. So I don't think the problem occurs when closing the window, I think it occurs on startup, when it fails to create the system tray icon for some reason.

HighCommander4 avatar Feb 21 '18 18:02 HighCommander4

Yep, that sounds likely. Did you try starting tomboy from the command line ? A possible explanation of why rebooting seemed to help, if there had been a previous crash with Tomboy, maybe, just maybe, some process was still running and that interfered with Tomboy's startup. Tomboy does check to ensure its not a second process although I don't know what mechanism is used. (For Tomboy-ng, I just grep for a running process called 'tomboy-ng' and it can suffer a fate as discussed.) I do think you need to start Tomboy from command line and add --debug Davo

davidbannon avatar Feb 21 '18 23:02 davidbannon