andia89/order-icons

Date menu disappears

Opened this issue · 2 comments

Hello,

I've noticed that when I enable this extension, the date menu becomes transparent.
This has already been reported, but the workaround there didn't help me: #8

I'm also using Dash to Panel, just like in that other issue.

I have the same issue too when After pc goes to sleep, If I unlock pc, every icons disappear
like this
image

image
( ^ when reopened gnome shell)

And plugin manager says
image

I'm on Fedora and I'm using Date Menu Formatter extension.

Here's the workaround (toggle_tray_icons.sh):

#!/bin/bash

# List of extensions to disable/enable
EXTENSIONS=("appindicatorsupport@rgcjonas.gmail.com" "order-extensions@wa4557.github.com")

# Disable the extensions in order
for ext in "${EXTENSIONS[@]}"
do
  gnome-extensions disable "$ext"
done

# Wait for a second
sleep 1

# Enable the extensions in reverse order
for (( i=${#EXTENSIONS[@]}-1; i>=0; i-- ))
do
  gnome-extensions enable "${EXTENSIONS[i]}"
done

I use it when having tray icon issues with an alias: toggle-tray-icons and I also run it as a service on startup to fix the date menu issue.

Note: I just want to note that this issue isn't taking place on Ubuntu.