Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The mintUpdate launcher is still not showing icon on startup #8771

Closed
hiNom2V2Q95BGAkK4tPt opened this issue Aug 6, 2019 · 87 comments
Closed

Comments

@hiNom2V2Q95BGAkK4tPt
Copy link

hiNom2V2Q95BGAkK4tPt commented Aug 6, 2019

 * Cinnamon version (cinnamon --4.2.3+tina)
 * Distribution - (Mint 19.2 | Tina), upgraded through Update Manager from 19.1 to 19.2
 * 64 bit
 * mintUpdate version (5.5.4)
 * syslog: [syslog.txt](https://github.com/linuxmint/cinnamon/files/3472408/syslog.txt)



Issue
The mintUpdate-launcher is included in "Startup Applications" as Update Manager
command: mintupdate-launcher
startup delay: 20 seconds

After 20 seconds the icon blips for a second and then vanishes. A blank space appears in the space of the icon.
mintupdate-missing

After quite a period of time a partial/broken icon appears in the invisible space
mintupdate-broken

Manually starting the Update Manager changes the icon back to normal, but behaves as a new opened app, and changes the icon position in front
mintupdate-fixed

Steps to reproduce
Not sure if anyone faced this. It happens every time I restart.

Expected behaviour
The partial/broken icon should be as shown in the last picture but in the position of 1st/2nd picture

Other information
If anything else is needed please comment and I will update my post

@Scrat-fflm
Copy link

Hello.

I am using Cinnamon 4.2.3 on LM 19.2 x64 with mintupdtate 5.5.4.
I have almost the same problem, but this bug appears randomly: when starting the computer, sometimes the mint update icon is shown, but very often it is not. Restarting Cinnamon always restores the icon.

I have applied the patch suggested by NikoKrause on mintUpdate.py file that is supposed to solve the problem in issue report 8695:
#8695

As this bug appears randomly, I guess that it would be difficult to solve, but the suggested patch is not useful for me: the bug is still there ! After having applied the patch, I did a restart and the icon was shown. But starting the computer on the following day, the icon was not shown again ! And now, the problem seems to happen each time I restart.

@LinuxOnTheDesktop
Copy link

I have the problem of the broken UpdateManager icon - most of the icon is missing and the icon seems unclickable on, thus far, every restart of a laptop that I upgraded (fully) today to 19.2. I can provide the specifications of that laptop. I will try the patch from #8695.

@Scrat-fflm
Copy link

Hello !
Maybe this could help: restarting the computer from the "Restart" option of the main menu shows the icon. Starting the computer after power off does not show the icon.
I tried this twice this afternoon, and I had the same result: icon is not shown with "cold start" after power off, icon is shown with "warm start" using the "Restart" option of the main menu.
I will perform other restart tests and I will post the results.

@Scrat-fflm
Copy link

Hello, Scrat again !
Sorry, I was wrong in may last comment. New "warm restart" from the main menu using the "Restart" option... and there is again an empty space instead of the mintupdate icon. So this bug happens randomly and does not depend on how you start or restart the computer.

@MenthaSuaveolens
Copy link

UpdateIcon
I never had this issue with LM19.1. After a fresh install of LM19.2 it almost never shows up after starting the computer. After a while a broken icon is shown. I don't think this bug happens randomly, as I can see it happens also in a VM. mintUpdate 5.5.4

After right-mouse-click and refresh, the icon remains broken

@Scrat-fflm
Copy link

Hello,
When I say that this bug happens "randomly" on LM 19.2, I mean that sometimes it may happen that the icon is shown after starting the computer, but most of the times it is not shown. With LM 19.1, this was the opposite: the icon was shown most of the times, but sometimes it was not shown.
I think that this is a Cinnamon problem because yesterday, I updated another PC running LM 19.1 XFCE towards LM 19.2 XFCE, and the icon is always shown.

@megwsgoXfWRJ3DfX
Copy link

megwsgoXfWRJ3DfX commented Aug 14, 2019

UpdateIcon
I never had this issue with LM19.1. After a fresh install of LM19.2 it almost never shows up after starting the computer. After a while a broken icon is shown. I don't think this bug happens randomly, as I can see it happens also in a VM. mintUpdate 5.5.4

After right-mouse-click and refresh, the icon remains broken

This issue was opened from my previous account but I lost access to it. I confirm from this account, yes, this may be random and at first it was, now it's happening every time I restart. And this also happens in VM. I don't want to mess with mintUpdate.py because I tried and am too much noob to do it properly. Can we hope for an early fix? I hope this gets the attention of the devs.

@Scrat-fflm
Copy link

Hello.

This morning, new test on my Lenovo Ideapad 320 with Nvidia graphic card running LM 19.2 Cinnamon x64.

I installed the mint-meta-xfce package on the same computer and restarted after power off on an XFCE session: the mintupdate icon is shown. Then power off end restart on a Cinnamon session: the mintupdate icon is not shown.

So it seems that this is really a Cinnamon problem, not a mintupdate problem.

I know that this is holiday time, but I hope to have soon a comment from the devs team.

@megwsgoXfWRJ3DfX
Copy link

megwsgoXfWRJ3DfX commented Aug 16, 2019

So it seems that this is really a Cinnamon problem, not a mintupdate problem.

It is, already discussed in #8695

But even after updating to the latest version of mintUpdate this happens constantly. In my case it is happening every time, not random

@kelebek333
Copy link

kelebek333 commented Aug 16, 2019

You can apply @NikoKrause 's fix.

Open mintUpdate.py file with following command.

sudo xed /usr/lib/linuxmint/mintUpdate/mintUpdate.py

Find following line.

            self.statusIcon = Gtk.StatusIcon()

add the following 3 lines below the line above. Pay attention to the indents .

        self.statusIcon.set_from_icon_name("mintupdate-checking")
        self.statusIcon.set_tooltip_text (_("Checking for updates"))
        self.statusIcon.set_visible(not self.settings.get_boolean("hide-systray"))

Finally the lines should look like this.

        if os.getenv("XDG_CURRENT_DESKTOP") == "KDE":
            self.statusIcon = StatusIcon(self)
        else:
            self.statusIcon = Gtk.StatusIcon()
        self.statusIcon.set_from_icon_name("mintupdate-checking")
        self.statusIcon.set_tooltip_text (_("Checking for updates"))
        self.statusIcon.set_visible(not self.settings.get_boolean("hide-systray"))

        try:
            self.window.set_title(_("Update Manager"))

@Scrat-fflm
Copy link

You can apply @NikoKrause 's fix.

Look at my first post: I have applied this patch and the bug is still there:

After having applied the patch, I did a restart and the icon was shown. But starting the computer on the following day, the icon was not shown again ! And now, the problem seems to happen each time I restart.

This bugs happens randomly but very often on Cinnamon. It does not happen on XFCE.

@megwsgoXfWRJ3DfX
Copy link

megwsgoXfWRJ3DfX commented Aug 17, 2019

@kelebek333

You can apply @NikoKrause 's fix.

I already did, and as @Scrat-fflm mentioned, no success.
@NikoKrause, can you give us an update please?

@penttila1
Copy link

I have a similar problem. For me it always happens after booting: there is no Update icon, only a space holder for it. The system was upgraded from 19.1 to 19.2. (I had a very similar problem with some releases before which disappeared after a time.)
missingicon
After right clicking on the tray and turning the tray editor on and than off the icon appears but in a broken way.
incorrecticon

System info:
System: Host: PC-afo Kernel: 4.15.0-58-generic x86_64 bits: 64 compiler: gcc v: 7.4.0
Desktop: Cinnamon 4.2.3 wm: muffin dm: LightDM Distro: Linux Mint 19.2 Tina
base: Ubuntu 18.04 bionic
Machine: Type: Desktop Mobo: Gigabyte model: G31M-ES2L v: x.x serial: BIOS: Award v: FG
date: 02/24/2010
CPU: Topology: Dual Core model: Pentium E5500 bits: 64 type: MCP arch: Penryn rev: A
L2 cache: 2048 KiB
flags: lm nx pae sse sse2 sse3 ssse3 vmx bogomips: 11200
Speed: 1202 MHz min/max: 1200/2800 MHz Core speeds (MHz): 1: 1473 2: 1466
Graphics: Device-1: Intel 82G33/G31 Express Integrated Graphics vendor: Gigabyte driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:29c2
Display: x11 server: X.Org 1.19.6 driver: intel unloaded: fbdev,modesetting,vesa
resolution: 1280x1024~60Hz
OpenGL: renderer: Mesa DRI Intel G33 v: 1.4 Mesa 19.0.8 direct render: Yes

@kelebek333
Copy link

kelebek333 commented Aug 19, 2019

Did you remove following line from mintUpdate.py after Niko's fix.

self.set_status("", _("Checking for updates"), "mintupdate-checking", not self.settings.get_boolean("hide-systray"))

@megwsgoXfWRJ3DfX
Copy link

I'm waiting for an official patch. The temporary patch is unreliable and not consistent. I hope the devs see this.

@Scrat-fflm
Copy link

Scrat-fflm commented Aug 19, 2019

@kelebek333

Did you remove following line from mintUpdate.py after Niko's fix.

It's not a fix: I just tried to remove this line, then power off and restart, and the mintupdate icon is still not shown ! I have always to restart Cinnamon or to launch mintupdate through the LM menu in order to get it.

I don't think it's a mintupdate bug as there is no problem with XFCE.

@megwsgoXfWRJ3DfX
Copy link

I don't think it's a mintupdate bug as there is no problem with XFCE.

I think so too, if this issue is not present in MATE or XFCE then it's definitely Cinnamon's problem.

@kelebek333
Copy link

kelebek333 commented Aug 19, 2019

Any issue with Niko's way on my systems. However, I deleted the official line added by Clem. I have no issue with both Linux Mint 19.2 and LMDE 3. If you've received updates after your patch, you'll need to reapply the patch.

It's not a Cinnamon issue, because when you install mintupdate's old version (5.4.7), there is no issue.

As a different suggestion, you can try unofflcial version of the gm10's .

mintupdate_5.8.0~gm10_all.deb

@megwsgoXfWRJ3DfX
Copy link

I am done messing with mintupdate. I have removed the 3 lines I added from @NikoKrause fix and reverted to default. Right now the issue rarely present contrary to as it was before, which was nearly every time. I will wait for an official patch if there is any and hope this will be addressed.

@Scrat-fflm
Copy link

Scrat-fflm commented Aug 19, 2019

@kelebek333

How can you say that it's NOT a Cinnamon problem ? Maybe Cinnamon may depend on the mintupdate.py file content, but I and other users have seen that this issue happens only with Cinnamon, and it does NOT happen with XFCE or MATE. I tried both XFCE and Cinnamon on the same computer with the Niko's fix, and I tried XFCE on another computer with the default mintupdtate: I had no issue withe XFCE on both computers.

On my main computer, I have tried to add the 3 lines of the Niko's fix, then I have tried to remove the following line as you suggested, and I had always this damned issue with Cinnamon.

The problem is that this issue happens RANDOMLY. Sometimes the icon is shown, but very often the icon is not shown, and this happens with the default mintUpdate.py file or the modified one. Modifying this file has no effect on my system. I wonder if it does not depend on the hardware, such as the graphic card, but for me this is a Cinnamon problem and the devs should consider this.

Now I will stop my tests and I have reverted to the default file mintUpdate.py file as a simple workaround for this issue is to restart Cinnamon. I am waiting for a future update of both mintupdate AND Cinnamon.

@kelebek333
Copy link

kelebek333 commented Aug 19, 2019

Because there is no problem if install the previous version of update manager (from LM 19.1). From this result, should not be difficult to deduce that the problem is caused by the update manager.

You can try this. Install previous mintupdate from tessa . mintupdate_5.4.7_all.deb

After hold package following command and observe the result.

apt hold mintupdate

After trying, you can unhold.

apt unhold mintupdate

@JosephMcc
Copy link
Contributor

JosephMcc commented Aug 19, 2019

This is being looked at but it isn't so easy to fix. On two systems here I don't see the problem at all. It makes producing a proper fix very difficult when the problem is hard to reproduce for some.

Edit: And please keep the discussion clean and friendly. There is no need for anyone to get heated about anything.

@Scrat-fflm
Copy link

Sorry if my comments appear to be not friendly. But I can't understand that kelebek333 does not want to consider that this is a Cinnamon problem, as this issue does not happen with XFCE or MATE and other users agree with this. Maybe this is related to the mintupdate version in Cinnamon, but this remain a Cinnamon problem.

I agree with the fact that this issue is hard to solve as it happens randomly. Maybe a hardware problem with Cinnamon ? Here is my graphic hardware:

Graphics: Device-1: Intel HD Graphics 620 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0
chip ID: 8086:5916
Device-2: NVIDIA GM108M [GeForce 920MX] vendor: Lenovo driver: nvidia v: 390.116
bus ID: 01:00.0 chip ID: 10de:134f
Display: x11 server: X.Org 1.19.6 driver: modesetting,nvidia
unloaded: fbdev,nouveau,vesa compositor: muffin tty: N/A
OpenGL: renderer: GeForce 920MX/PCIe/SSE2 v: 4.6.0 NVIDIA 390.116 direct render: Yes

I am always using the NVIDIA graphic card with the 390 driver.

I have tested the proposed fix, on Cinnamon and XFCE, and I can't help anymore as I don't know the Python language. Now, I will not perform any more tests such as downgrading some parts of my system, because excepting this icon issue, Cinnamon works perfectly. I gave you the results of my own tests and now I prefer to wait for official updates.

@MenthaSuaveolens
Copy link

I did some testing in a VM in order to get the issue clear.

After system-restart, the update-icon is never shown. However if you manually start mintUpdate the icon is displayed right. This is also the case when one changes in PanelSettings the Right panel icon-size!

Now in order to detect the problem faster, I set both update-refresh-times to 1 minute (Preferences). After system-restart, the empty space is shown, but the icon itself is not shown within 5 minutes. As a test I changed the right-panel-icon-size again, and the update-icon popped up, with the indication that an update was available! So it looked that even if there were updates, that the application wasn't capable of setting the icon.

I didn't install the update, but restarted the machine. Again, no indication that an update is available, although the refresh-rate is 1 minute. In the log-file one can see that the updater
has detected the update after powering up the machine.

08.19@20:39 ++ Launching Update Manager 08.19@20:39 ++ Initial refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s) 08.19@20:39 ++ Starting refresh (local only) 08.19@20:39 ++ Found 1 software updates 08.19@20:39 ++ Refresh finished 08.19@20:40 ++ Update Manager is in tray mode, performing initial refresh 08.19@20:40 ++ Starting refresh (retrieving lists of updates from remote servers) 08.19@20:40 ++ Found 1 software updates 08.19@20:40 ++ Refresh finished 08.19@20:40 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s) 08.19@20:41 ++ Update Manager is in tray mode, performing recurring refresh 08.19@20:41 ++ Starting refresh (retrieving lists of updates from remote servers) 08.19@20:41 ++ Found 1 software updates 08.19@20:41 ++ Refresh finished 08.19@20:41 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s) 08.19@20:42 ++ Update Manager is in tray mode, performing recurring refresh 08.19@20:42 ++ Starting refresh (retrieving lists of updates from remote servers) 08.19@20:42 ++ Found 1 software updates 08.19@20:42 ++ Refresh finished 08.19@20:42 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s) 08.19@20:43 ++ Update Manager is in tray mode, performing recurring refresh 08.19@20:43 ++ Starting refresh (retrieving lists of updates from remote servers) 08.19@20:43 ++ Found 1 software updates 08.19@20:43 ++ Refresh finished 08.19@20:43 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(s) 08.19@20:44 ++ Update Manager is in tray mode, performing recurring refresh 08.19@20:44 ++ Starting refresh (retrieving lists of updates from remote servers) 08.19@20:44 ++ Found 1 software updates 08.19@20:44 ++ Refresh finished 08.19@20:44 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 1 minute(

If you have the patience to wait for an undetermined time, the broken icon pops up. From time to time (in case the icon-height = 32), I get a small white dash in stead of an empty space
IconHeight32

@MenthaSuaveolens
Copy link

To my opinion, there are 2 kind of bugs. One is that the icon is not shown, and the second that the icon is shown only partially. Even when the icon is updated, it is only shown partially. The parts have a with of 14 pixels and a height of 15 pixels.
UpdateIconBusy

@Scrat-fflm
Copy link

My last tests with the default mintUpdate.py file:

  • I updated my NVIDIA driver from 390 to recommended 430.
  • restart a default Cinnamon session with the new NVIDIA driver : the icon is not shown.
  • power off, then restart a Cinnamon session with software rendering : the icon is not shown.
  • restart an XFCE session : the icon is shown.
  • restart a default Cinnamon session : the icon is shown !
  • on next day, restart a default Cinnamon session: the icon is not shown.

So, this bug happens randomly with Cinnamon only, and this is not a hardware rendering problem.

@megwsgoXfWRJ3DfX
Copy link

To my opinion, there are 2 kind of bugs. One is that the icon is not shown, and the second that the icon is shown only partially.

Actually the bug is a single one. First the icon does not show up, leaving a blank space. After quite a lot of time the blank space is replaced by the partial icon. It never stays blank for indefinite time. You just have to give the broken icon enough time to show up.

@clefebvre
Copy link
Member

Right after observing the issue (either missing or broken icon), can you please do the following:

  • Type "alt+F2" then "lg" and press Enter to open Melange (the Cinnamon debugging tool)
  • Click on the log tab
  • Copy the content of the log and paste it here.
  • Kill mintupdate (either with kill, killall or using the right-click->quit option)
  • Launch it from terminal with "mintupdate-launcher" and tell us if the icon is still broken or not.
  • Paste the logs from Melange again

@Scrat-fflm
Copy link

Hello Clément.

Of course, when I started the PC to perform your tests, the icon was shown ! This bug happens really randomly !

I started again, and the icon was not shown. Here is the log of the "Melange" tool when the icon is not shown :

info t=2019-08-28T14:46:45Z Cinnamon.AppSystem.get_default() started in 8230 ms
info t=2019-08-28T14:46:45Z loading user theme: /usr/share/themes/Mint-Y-Dark/cinnamon/cinnamon.css
info t=2019-08-28T14:46:46Z added icon directory: /usr/share/themes/Mint-Y-Dark/cinnamon
info t=2019-08-28T14:46:46Z PlacesManager: Updating devices
info t=2019-08-28T14:46:46Z loaded at Wed Aug 28 2019 14:46:46 GMT+0200 (CEST)
info t=2019-08-28T14:46:46Z ExtensionSystem started in 2 ms
info t=2019-08-28T14:46:46Z DeskletManager started in 2 ms
info t=2019-08-28T14:46:46Z SearchProviderManager started in 2 ms
info t=2019-08-28T14:46:48Z Loaded applet show-desktop@cinnamon.org in 778 ms
info t=2019-08-28T14:46:48Z Loaded applet removable-drives@cinnamon.org in 20 ms
info t=2019-08-28T14:46:48Z Role locked: tray
info t=2019-08-28T14:46:48Z Loaded applet systray@cinnamon.org in 8 ms
info t=2019-08-28T14:46:48Z Role locked: notifications
info t=2019-08-28T14:46:48Z Loaded applet notifications@cinnamon.org in 166 ms
info t=2019-08-28T14:46:48Z Loaded applet keyboard@cinnamon.org in 18 ms
info t=2019-08-28T14:46:48Z Loaded applet printers@cinnamon.org in 308 ms
info t=2019-08-28T14:46:48Z Loaded applet restart-cinnamon@kolle in 22 ms
info t=2019-08-28T14:46:49Z Loaded applet hwmonitor@sylfurd in 588 ms
info t=2019-08-28T14:46:49Z Loaded applet calendar@cinnamon.org in 98 ms
info t=2019-08-28T14:46:49Z Loaded applet force-quit@cinnamon.org in 6 ms
info t=2019-08-28T14:46:49Z Loaded applet power@cinnamon.org in 368 ms
info t=2019-08-28T14:46:49Z Loaded applet workspace-switcher@cinnamon.org in 278 ms
info t=2019-08-28T14:46:50Z Loaded applet batterymonitor@pdcurtis in 546 ms
info t=2019-08-28T14:46:50Z Role locked: panellauncher
info t=2019-08-28T14:46:50Z Loaded applet grouped-window-list@cinnamon.org in 440 ms
info t=2019-08-28T14:46:51Z Loaded applet sound@cinnamon.org in 86 ms
info t=2019-08-28T14:46:51Z Loaded applet network@cinnamon.org in 620 ms
info t=2019-08-28T14:46:52Z Loaded applet menu@cinnamon.org in 508 ms
info t=2019-08-28T14:46:52Z AppletManager started in 5912 ms
info t=2019-08-28T14:46:52Z Cinnamon took 14534 ms to start
info t=2019-08-28T14:46:53Z Hiding systray: network
info t=2019-08-28T14:46:53Z Adding systray: nvidia-prime (24x24px)
info t=2019-08-28T14:46:53Z Resized nvidia-prime with normalized size (24x24px)
info t=2019-08-28T14:46:53Z Adding systray: blueberry-tray.py (24x24px)
info t=2019-08-28T14:46:53Z Resized blueberry-tray.py with normalized size (24x24px)
info t=2019-08-28T14:46:57Z Adding systray: mintupdate.py (24x24px)
info t=2019-08-28T14:46:57Z Resized mintupdate.py with normalized size (24x24px)

I did not find the "quit" option under right-click, but "Solve the problems -> Restart Cinnamon". For me, restarting Cinnamon always solves the problem. After having restarted Cinnamon, the icon was shown and here is the new log of the "Melange" tool:

info t=2019-08-28T14:50:38Z Cinnamon.AppSystem.get_default() started in 72 ms
info t=2019-08-28T14:50:38Z loading user theme: /usr/share/themes/Mint-Y-Dark/cinnamon/cinnamon.css
info t=2019-08-28T14:50:38Z added icon directory: /usr/share/themes/Mint-Y-Dark/cinnamon
info t=2019-08-28T14:50:38Z PlacesManager: Updating devices
info t=2019-08-28T14:50:38Z loaded at Wed Aug 28 2019 14:50:38 GMT+0200 (CEST)
info t=2019-08-28T14:50:38Z ExtensionSystem started in 0 ms
info t=2019-08-28T14:50:38Z DeskletManager started in 0 ms
info t=2019-08-28T14:50:38Z SearchProviderManager started in 0 ms
info t=2019-08-28T14:50:38Z Loaded applet show-desktop@cinnamon.org in 36 ms
info t=2019-08-28T14:50:38Z Loaded applet calendar@cinnamon.org in 36 ms
info t=2019-08-28T14:50:38Z Loaded applet removable-drives@cinnamon.org in 10 ms
info t=2019-08-28T14:50:38Z Loaded applet restart-cinnamon@kolle in 18 ms
info t=2019-08-28T14:50:38Z Loaded applet force-quit@cinnamon.org in 6 ms
info t=2019-08-28T14:50:38Z Loaded applet printers@cinnamon.org in 24 ms
info t=2019-08-28T14:50:38Z Loaded applet hwmonitor@sylfurd in 16 ms
info t=2019-08-28T14:50:38Z Role locked: tray
info t=2019-08-28T14:50:38Z Loaded applet systray@cinnamon.org in 12 ms
info t=2019-08-28T14:50:38Z Loaded applet keyboard@cinnamon.org in 24 ms
info t=2019-08-28T14:50:38Z Loaded applet workspace-switcher@cinnamon.org in 16 ms
info t=2019-08-28T14:50:38Z Role locked: notifications
info t=2019-08-28T14:50:38Z Loaded applet notifications@cinnamon.org in 26 ms
info t=2019-08-28T14:50:38Z Loaded applet power@cinnamon.org in 18 ms
info t=2019-08-28T14:50:38Z Role locked: panellauncher
info t=2019-08-28T14:50:38Z Loaded applet grouped-window-list@cinnamon.org in 28 ms
info t=2019-08-28T14:50:38Z Loaded applet batterymonitor@pdcurtis in 40 ms
info t=2019-08-28T14:50:38Z Loaded applet sound@cinnamon.org in 138 ms
info t=2019-08-28T14:50:38Z Loaded applet network@cinnamon.org in 42 ms
info t=2019-08-28T14:50:39Z Loaded applet menu@cinnamon.org in 252 ms
info t=2019-08-28T14:50:39Z AppletManager started in 832 ms
info t=2019-08-28T14:50:39Z Cinnamon took 1032 ms to start
info t=2019-08-28T14:50:39Z Adding systray: blueberry-tray.py (24x24px)
info t=2019-08-28T14:50:39Z Resized blueberry-tray.py with normalized size (24x24px)
info t=2019-08-28T14:50:39Z Adding systray: nvidia-prime (24x24px)
info t=2019-08-28T14:50:39Z Resized nvidia-prime with normalized size (24x24px)
info t=2019-08-28T14:50:39Z Adding systray: mintupdate.py (24x24px)
info t=2019-08-28T14:50:39Z Resized mintupdate.py with normalized size (24x24px)
info t=2019-08-28T14:50:39Z Hiding systray: network

Good luck for debugging this problem. ;)

@Scrat-fflm
Copy link

Sorry Clem, I did not understand that you wanted so kill and restart only mintupdate. So here are the logs of Melange with a new test:

  1. Starting again the PC from power off: the icon is not shown, and here is the log of Melange:

info t=2019-08-28T14:59:00Z Cinnamon.AppSystem.get_default() started in 7332 ms
info t=2019-08-28T14:59:00Z loading user theme: /usr/share/themes/Mint-Y-Dark/cinnamon/cinnamon.css
info t=2019-08-28T14:59:00Z added icon directory: /usr/share/themes/Mint-Y-Dark/cinnamon
info t=2019-08-28T14:59:01Z PlacesManager: Updating devices
info t=2019-08-28T14:59:01Z loaded at Wed Aug 28 2019 14:59:01 GMT+0200 (CEST)
info t=2019-08-28T14:59:01Z ExtensionSystem started in 2 ms
info t=2019-08-28T14:59:01Z DeskletManager started in 2 ms
info t=2019-08-28T14:59:01Z SearchProviderManager started in 2 ms
info t=2019-08-28T14:59:02Z Loaded applet show-desktop@cinnamon.org in 434 ms
info t=2019-08-28T14:59:02Z Role locked: tray
info t=2019-08-28T14:59:02Z Loaded applet systray@cinnamon.org in 12 ms
info t=2019-08-28T14:59:02Z Loaded applet removable-drives@cinnamon.org in 72 ms
info t=2019-08-28T14:59:02Z Loaded applet workspace-switcher@cinnamon.org in 122 ms
info t=2019-08-28T14:59:02Z Loaded applet calendar@cinnamon.org in 88 ms
info t=2019-08-28T14:59:02Z Loaded applet printers@cinnamon.org in 198 ms
info t=2019-08-28T14:59:02Z Loaded applet keyboard@cinnamon.org in 36 ms
info t=2019-08-28T14:59:02Z Role locked: notifications
info t=2019-08-28T14:59:03Z Loaded applet notifications@cinnamon.org in 324 ms
info t=2019-08-28T14:59:03Z Loaded applet restart-cinnamon@kolle in 254 ms
info t=2019-08-28T14:59:03Z Loaded applet force-quit@cinnamon.org in 8 ms
info t=2019-08-28T14:59:03Z Loaded applet hwmonitor@sylfurd in 244 ms
info t=2019-08-28T14:59:03Z Loaded applet power@cinnamon.org in 42 ms
info t=2019-08-28T14:59:03Z Loaded applet sound@cinnamon.org in 260 ms
info t=2019-08-28T14:59:04Z Role locked: panellauncher
info t=2019-08-28T14:59:04Z Loaded applet grouped-window-list@cinnamon.org in 152 ms
info t=2019-08-28T14:59:04Z Loaded applet batterymonitor@pdcurtis in 336 ms
info t=2019-08-28T14:59:04Z Loaded applet network@cinnamon.org in 540 ms
info t=2019-08-28T14:59:05Z Loaded applet menu@cinnamon.org in 470 ms
info t=2019-08-28T14:59:05Z AppletManager started in 4232 ms
info t=2019-08-28T14:59:05Z Cinnamon took 11980 ms to start
info t=2019-08-28T14:59:06Z Hiding systray: network
info t=2019-08-28T14:59:06Z Adding systray: nvidia-prime (24x24px)
info t=2019-08-28T14:59:06Z Resized nvidia-prime with normalized size (24x24px)
info t=2019-08-28T14:59:06Z Adding systray: blueberry-tray.py (24x24px)
info t=2019-08-28T14:59:06Z Resized blueberry-tray.py with normalized size (24x24px)
info t=2019-08-28T14:59:14Z Adding systray: mintupdate.py (24x24px)
info t=2019-08-28T14:59:14Z Resized mintupdate.py with normalized size (24x24px)

After killing and restarting only mintupdate, the icon was shown ant two lines were added to the log:

info t=2019-08-28T15:01:25Z Adding systray: mintupdate.py (24x24px)
info t=2019-08-28T15:01:25Z Resized mintupdate.py with normalized size (24x24px)

@Scrat-fflm
Copy link

Installing 5.5.4.3 and performing five tests:

  1. power off -> Start : the icon is shown and sensitive.
  2. power off -> Start : the icon is shown and sensitive.
  3. restart computer without power off: the icon is shown and sensitive.
  4. log out -> log in without restarting the computer: the icon appears quickly, disappears, comes back after 3 or 5 seconds and is sensitive.
  5. log out -> log in without restarting the computer: the icon appears quickly, disappears, comes back after 3 or 5 seconds and is sensitive.

So the 5.5.4.3 version seems OK. I will stay with this version to perform other tests with it tomorrow (or today as we are already tomorrow at 1.04 AM ! ). I want to check a "cold start" in the morning.

@claudiux
Copy link
Member

claudiux commented Sep 4, 2019

5.5.4.4 version tested on Cinnamon 4.2.3 nightly build, into a virtual box.

sudo dpkg -i mintupdate_5.5.4.4_all.deb
mintupdate

The icon is shown and sensitive.

  1. power off -> Start : the icon is shown and sensitive.
  2. idem 2.
  3. restart computer without power off: the icon is shown and sensitive.
  4. log out -> log in without restarting the computer: the icon is shown and sensitive, without disappearing.
  5. idem 5.

The 5.5.4 version seems OK.

@megwsgoXfWRJ3DfX
Copy link

@clefebvre Hi Clem, I have not tested with the packages you provided but there is another thing. Last few days I've got some updates and after installing them I'm not getting the bug! Not a single time. I'm using the latest 5.5.4 version. I think some of those updates fixed it. I'm not sure which one but I'll post them here.
up1
up2
up3
up4

@Scrat-fflm
Copy link

@clefebvre:

Hello Clem.

After my tests with 5.5.4.3 last night, "cold start" this morning with 5.5.4.3: the icon is shown and sensitive.

Then, installing 5.5.4.4 and performing the same five tests:

power off -> Start : the icon is shown and sensitive.
power off -> Start : the icon is shown and sensitive.
restart computer without power off: the icon is shown and sensitive.
log out -> log in without restarting the computer: the icon appears quickly, disappears, comes back after 3 or 5 seconds and is sensitive.
log out -> log in without restarting the computer: the icon appears only after 3 or 5 seconds and is sensitive.

So version 5.5.4.4 seems OK. The icon is shown almost immediately after power of -> Start or after restart without power off. There is just a strange behaviour after log out -> log in : the icon is shown and sensitive, but either the icon appears briefly, disappears and comes back after a few seconds, or it may appear only after a few seconds.

@megwsgoXfWRJ3DfX: each day I install all available updates. So my system had the latest updates yesterday and this did not solve the bug with 5.5.4 for me.

@clefebvre
Copy link
Member

Ok, it looks good. Just one more build to make sure I've got this right..

5.5.4.0.zip

@Scrat-fflm
Copy link

Sorry Clem, but after my five successful tests of 5.5.4.4 this morning, I set power off, then I restarted this afternoon... and the icon is not shown ! This bug is absolutely random !

I am going to test the new debs...

@Scrat-fflm
Copy link

Installing the new deb 5.5.4.0 and performing the same five tests as with 5.5.4.4:

  1. power off -> Start : the icon is shown and sensitive.
  2. power off -> Start : the icon is shown and sensitive.
  3. restart computer without power off: the icon is shown and sensitive.
  4. log out -> log in without restarting the computer: the icon appears quickly, disappears, comes back after 3 or 5 seconds and is sensitive.
  5. log out -> log in without restarting the computer: the icon appears only after 3 or 5 seconds and is sensitive.

So, for these five tests, the 5.5.4.0 behaviour is the same as the 5.5.4.4 one.

Adding a new test with 5.5.4.0:
6. power off -> Start : the icon is shown and sensitive.

The new 5.5.4.0 seems to solve the problem as it passed successfully six tests, but I am not sure as the bug happens randomly. More tests are needed as 5.5.4.4 passed successfully five tests and failed at the sixth one.

But something remains strange: the delay for showing the icon seems to be longer when doing simple log out -> log in than when restarting the computer.

Conclusion of my tests :

  • old 5.5.4 : the icon is not shown very often, and sometimes it is shown.
  • new 5.5.4.4 : the icon is shown very often, but sometimes it is not shown, so this is an improvement.
  • new 5.5.4.0: until now, the icon was shown on each of my six tests, but not sure that the problem is definitely solved.

@Scrat-fflm
Copy link

Info: I just received an update for Cinnamon. After updating Cinnamon from 4.2.3 to 4.2.4, log out -> log in without restarting the computer, and the icon is shown as quickly as when restarting the computer.
Is (new mintupdate 5.5.4.0 + new Cinnamon 4.2.4) the solution ? Wait for more tests and see...

@clefebvre
Copy link
Member

no, the Cinnamon update fixes other things, but it's not related to this at all.

@megwsgoXfWRJ3DfX
Copy link

yeah, It says in the changelog what it fixes. So far I'm not encountering the bug anymore after those previous updates. I don't want to jinx it anymore 😄
@clefebvre Have you been able to reproduce the bug in your test, with or without VM?

@Scrat-fflm
Copy link

New restart with 5.5.4.0 after power off this afternoon (7th test of this day)...
... and the icon is still shown ! 😁

@clefebvre
Copy link
Member

@clefebvre Have you been able to reproduce the bug in your test, with or without VM?

No, never :(

@clefebvre
Copy link
Member

Well... I could reproduce the bug in the BETA. The one we fixed in 5.5.1 (linuxmint/mintupdate@e6a6f21). But this one, no, never.

@Scrat-fflm
Copy link

Maybe this could help ?

I received my new Lenovo laptop shipped with LM 19 one year ago and all was OK.

Then I updated to LM 19.1. The bug appeared with LM 19.1, but not often. Sorry, I did not check what was the mintupdate version when it happened for the first time.

Finally, I updated to LM 19.2, and after that I received several updates of mintupdate in a few days, the last one being 5.5.4. With LM 19.2, the bug happened very often, almost every time. Now, with the new mintupdate 5.5.4.0, it seems to have disappeared.

@clefebvre
Copy link
Member

Anybody else on 5.5.4.0 before I send an official update? @MenthaSuaveolens @claudiux @megwsgoXfWRJ3DfX ?

@Scrat-fflm
Copy link

@clefebvre :

Hello Clem.

All is OK when starting the computer this morning: the icon is still shown and sensitive.
Until now, I have done 8 starts or restarts without problem with the 5.5.4.0 version.
It is difficult to say that the problem is fully solved as the bug happens randomly, but 5.5.4.0 is a great improvement.

@clefebvre
Copy link
Member

Yes, but:

  • I can't reproduce it here
  • It's random anyway
  • I fixed quite a few things which didn't look right and looked suspicious in the code, but none of them 100% explained what was going on

So I still need feedback from a few more people before I can push this fix and close this issue.

@megwsgoXfWRJ3DfX
Copy link

Yeah, I'm on official 5.5.4

@clefebvre
Copy link
Member

5.5.4.0 isn't 5.5.4... that issue is present in 5.5.4, but potentially fixed on 5.5.4.0.

@clefebvre
Copy link
Member

sorry, I understand it's a bit confusing. I'm keeping "5.5.4.1" for when the fix is officially published basically :)

@harlekin777
Copy link

harlekin777 commented Sep 5, 2019

@clefebvre, can i install the 5.5.4.0. on LMDE without breaking the system?

@clefebvre
Copy link
Member

@harlekin777 yes

@harlekin777
Copy link

@clefebvre

First I would like to mention that on my LMDE 3 system the bug with the old mintupdate 5.5.4 appeared with 100% reliability (icon never showed up).
Installing the new deb mintupdate 5.5.4.0 and performing the five tests mentioned above:

  1. power off -> Start
  2. power off -> Start
  3. restart computer without power off
  4. log out -> log in without restarting the computer
  5. log out -> log in without restarting the computer

After every test the icon is shown and sensitive. I observed that the icon appears every time after a delay of ca. 6 or 7 seconds, which seems to be a little longer than before the bug appeared. I would say, the delay is tolerable.

Same result after applying updates (firefox 68.1.0 and cinnamon 4.2.4) and running all five tests again.

Conclusion: on my LMDE 3 system the new deb mintupdate 5.5.4.0 so far works well. The delay of the icon showing up may be considered a minor issue.

Thank you very much. A big improvement.

@megwsgoXfWRJ3DfX
Copy link

@harlekin777 I think you can change the delay in "Startup Applications".

@harlekin777
Copy link

@megwsgoXfWRJ3DfX
Thank you very much!

@harlekin777
Copy link

harlekin777 commented Sep 5, 2019

@megwsgoXfWRJ3DfX
The bigger delay is apparently the result of Cinnamon loading faster than before. So it is a good thing.

clefebvre added a commit to linuxmint/mintupdate that referenced this issue Sep 6, 2019
@clefebvre
Copy link
Member

Thanks everyone for the useful feedback. I couldn't have fixed that without you.

This is pushed towards the Mint 19.2 and LMDE 3 repositories as mintupdate 5.5.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests