mate-desktop / mate-panel

MATE panel
https://mate-desktop.org
GNU General Public License v2.0
184 stars 118 forks source link

Tray icons are being placed in the incorrect position #637

Open mp107 opened 7 years ago

mp107 commented 7 years ago

After update from Linux Mint MATE 18.1 to 18.2 came up an issue.

Expected behaviour

When an application creates a tray icon it shows up on the very left.

Actual behaviour

Some applications create the tray icon at the very left while some others put in in the incorrect place.

Steps to reproduce the behaviour

  1. Start one of the applications:

    • Opera (tested with 12.14)
    • VLC (tested with 2.2.2-5ubuntu0.16.04.3)
    • vokoscreen (tested with 2.4.0-2)
  2. Some applications put its tray icon in wrong place

    • example 1. VLC icons is in the wrong place whereas Pidgin's icon is in correct place. Screenshot 1
    • example 2. VLC and Opera icons are in the wrong place (in correct order - VLC was started first) whereas Pidgin's icon is in correct place. Screenshot 2

Linux Distribution

Linux Mint 18.2 MATE

MATE general version, Package version

mp@mp-X200s ~ $ dpkg -l | grep mate
ii  apg                                         2.2.3.dfsg.1-2ubuntu1                           amd64        Automated Password Generator - Standalone version
ii  gir1.2-mate-desktop                         1.18.0-1+sonya                                  amd64        GObject introspection data for the mate-desktop library
ii  gir1.2-mate-panel                           1.18.3-2+sonya                                  amd64        GObject introspection data for MATE panel
ii  junit                                       3.8.2-8build1                                   all          Automated testing framework for Java
ii  libamd2.4.1:amd64                           1:4.4.6-1                                       amd64        approximate minimum degree ordering library for sparse matrices
ii  libcamd2.4.1:amd64                          1:4.4.6-1                                       amd64        symmetric approximate minimum degree library for sparse matrices
ii  libccolamd2.9.1:amd64                       1:4.4.6-1                                       amd64        constrained column approximate library for sparse matrices
ii  libcolamd2.9.1:amd64                        1:4.4.6-1                                       amd64        column approximate minimum degree ordering library for sparse matrices
ii  libmate-desktop-2-17:amd64                  1.18.0-1+sonya                                  amd64        Library with common API for various MATE modules (library)
ii  libmate-menu2:amd64                         1.18.0-1+sonya                                  amd64        implementation of the freedesktop menu specification for MATE (library)
ii  libmate-panel-applet-4-1                    1.18.3-2+sonya                                  amd64        library for MATE Panel applets
ii  libmate-sensors-applet-plugin0              1.18.2-1+sonya                                  amd64        Library for plugins for the mate-sensors-applet package
ii  libmate-slab0:amd64                         1.18.2-1+sonya                                  amd64        beautification app library
ii  libmate-window-settings1:amd64              1.18.2-1+sonya                                  amd64        utilities to configure the MATE desktop (window settings library)
ii  libmatedict6                                1.18.2-1+sonya                                  amd64        MATE desktop utilities (matedict library)
ii  libmatekbd-common                           1.18.2-1+sonya                                  all          MATE library to manage keyboard configuration (common files)
ii  libmatekbd4:amd64                           1.18.2-1+sonya                                  amd64        MATE library to manage keyboard configuration
ii  libmatemixer-common                         1.18.0-1+sonya                                  all          Mixer library for MATE Desktop (common files)
ii  libmatemixer0:amd64                         1.18.0-1+sonya                                  amd64        Mixer library for MATE Desktop
ii  libmateweather-common                       1.18.1-1+sonya                                  all          MateWeather shared library (common files)
ii  libmateweather1:amd64                       1.18.1-1+sonya                                  amd64        MateWeather shared library
ii  libopts25:amd64                             1:5.18.7-3                                      amd64        automated option processing library based on autogen
ii  mate-applets                                1.18.1-1+sonya                                  amd64        Various applets for the MATE panel
ii  mate-applets-common                         1.18.1-1+sonya                                  all          Various applets for the MATE panel (common files)
ii  mate-common                                 1.18.0-1+sonya                                  all          common scripts and macros to develop with MATE
ii  mate-control-center                         1.18.2-1+sonya                                  amd64        utilities to configure the MATE desktop
ii  mate-control-center-common                  1.18.2-1+sonya                                  all          utilities to configure the MATE desktop (common files)
ii  mate-desktop                                1.18.0-1+sonya                                  amd64        Library with common API for various MATE modules
ii  mate-desktop-common                         1.18.0-1+sonya                                  all          Library with common API for various MATE modules (common files)
ii  mate-icon-theme                             1.18.2-1+sonya                                  all          MATE Desktop icon theme
ii  mate-indicator-applet                       1.18.0-1+sonya                                  amd64        MATE panel indicator applet
ii  mate-indicator-applet-common                1.18.0-1+sonya                                  all          MATE panel indicator applet (common files)
ii  mate-media                                  1.18.0-1+sonya                                  amd64        MATE media utilities
ii  mate-media-common                           1.18.0-1+sonya                                  all          MATE media utilities (common files)
ii  mate-menus                                  1.18.0-1+sonya                                  amd64        implementation of the freedesktop menu specification for MATE
ii  mate-notification-daemon                    1.18.0-1+sonya                                  amd64        daemon to display passive popup notifications
ii  mate-notification-daemon-common             1.18.0-1+sonya                                  all          daemon to display passive popup notifications (common files)
ii  mate-panel                                  1.18.3-2+sonya                                  amd64        launcher and docking facility for MATE
ii  mate-panel-common                           1.18.3-2+sonya                                  all          launcher and docking facility for MATE (common files)
ii  mate-polkit:amd64                           1.18.1-1+sonya                                  amd64        MATE authentication agent for PolicyKit-1
ii  mate-polkit-common                          1.18.1-1+sonya                                  amd64        MATE authentication agent for PolicyKit-1 (common files)
ii  mate-power-manager                          1.18.0-1+sonya                                  amd64        power management tool for the MATE desktop
ii  mate-power-manager-common                   1.18.0-1+sonya                                  all          power management tool for the MATE desktop (common files)
ii  mate-screensaver                            1.18.1-1+sonya                                  amd64        MATE screen saver and locker
ii  mate-screensaver-common                     1.18.1-1+sonya                                  all          MATE screen saver and locker (common files)
ii  mate-sensors-applet                         1.18.2-1+sonya                                  amd64        Display readings from hardware sensors in your MATE panel
ii  mate-sensors-applet-common                  1.18.2-1+sonya                                  all          Display readings from hardware sensors in your MATE panel (common files)
ii  mate-session-manager                        1.18.0-1+sonya                                  amd64        Session manager of the MATE desktop environment
ii  mate-settings-daemon                        1.18.1-1+sonya                                  amd64        daemon handling the MATE session settings
ii  mate-settings-daemon-common                 1.18.1-1+sonya                                  all          daemon handling the MATE session settings (common files)
ii  mate-system-monitor                         1.18.0-1+sonya                                  amd64        Process viewer and system resource monitor for MATE
ii  mate-system-monitor-common                  1.18.0-1+sonya                                  all          Process viewer and system resource monitor for MATE (common files)
ii  mate-terminal                               1.18.1-1+sonya                                  amd64        MATE terminal emulator application
ii  mate-terminal-common                        1.18.1-1+sonya                                  all          MATE terminal emulator application (common files)
ii  mate-user-guide                             1.18.0-1+sonya                                  all          User documentation for MATE Desktop Environment
ii  mate-utils                                  1.18.2-1+sonya                                  amd64        MATE desktop utilities
ii  mate-utils-common                           1.18.2-1+sonya                                  all          MATE desktop utilities (common files)
ii  mint-artwork-mate                           1.3.4                                           all          Default artwork for MATE
ii  mint-info-mate                              2017.05.16                                      amd64        Necessary information about the Linux Mint release and edition.
ii  mint-meta-mate                              2017.06.02                                      all          Set of packages installed by default in the MATE edition of Linux Mint
ii  mint-user-guide-mate                        18                                              all          The Linux Mint User Guide - MATE Edition
ii  python-mate-menu                            1.18.0-1+sonya                                  amd64        implementation of the freedesktop menu specification for MATE (Python bindings)
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/47961765-tray-icons-are-being-placed-in-the-incorrect-position?utm_campaign=plugin&utm_content=tracker%2F314880&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F314880&utm_medium=issues&utm_source=github).
bwat47 commented 6 years ago

still an issue in 1.20

raveit65 commented 1 year ago

Does the issue still exists?

dark-penguin commented 5 months ago

@raveit65 It does. AFAICT the tray icons are sorted alphabetically by the application name. No matter what order I launch them in, they always appear in alphabetical order. Maybe that order depends on collation, e.g. something like "capitals first".

I think this behaviour is not really bad by itself - icons having somewhat permanent positions is actually pretty nice, especially since there's no way to change their order manually.

Now that it's "documented" here, it can probably be resolved as "intentional".

bwat47 commented 5 months ago

@dark-penguin Personally, I would still consider the behavior where 'system' icons (volume indicator, wifi indicator, etc...) get mingled with 'application' icons (pidgin, vlc, etc..) a bug.

The system icons should always be grouped together (and should be on the right).

If application icons are sorted alphabetically, I think that's fine, but the 'system' icons shouldn't get mixed in between application icons like this... that's really weird behavior that I've never seen in any other DE.

lukefromdc commented 5 months ago

I don't think this has changed in any way since GNOME 2 save for indicators being in one part of the applet and legacy tray applets in the other