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

Usable vertical panel? #157

Open
Amet13 opened this issue Jan 17, 2014 · 62 comments
Open

Usable vertical panel? #157

Amet13 opened this issue Jan 17, 2014 · 62 comments

Comments

@Amet13
Copy link

Amet13 commented Jan 17, 2014

That's my beautiful horizontal MATE panel:
screenshot
But I have a widescreen monitor and I want use a free place for example on right.
That's my vertical panel, how to use this I don't know.
screenshot-1

Problems for me:

  1. Gradient
  2. Vertical mintmenu & clock applets
  3. Fixed tray icons
  4. Large windows list's icons

Any ideas? Thanks.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@dadix
Copy link

dadix commented Jan 22, 2014

I have the same issue in Mate 1.4. http://s18.postimg.org/m5xo48m3t/image.png
I would like to see Applications,Places,System one above another not on the same line. and an option to resize those icons because in this configuration there are too big

@slacka
Copy link

slacka commented Apr 24, 2014

5-Remove length limit on window list.

The biggest UX issue I have is that the window list can't be expanded. As a result, there is a ton of wasted space on the panel, while the icons in the window list are too small to be usable.
panel

@glensc
Copy link

glensc commented May 21, 2014

here's some more UI horror, the panel flickers because it can't decide whether to paint 3 or 2 or 1 columns. it flickers 3-6 times a second, real horror!, screenshot kind of explains what is going on:

2014-05-21_14 05 14-panel6

@synthakai
Copy link

vertical panel can have horizontal text for time/date. it already has textautorotation feature. all you need to do is to insert line breaks into /org/mate/panel/objects/clock/prefs/custom-format variable for example like this: "%Y-%m-%d%n%H:%M" to make width of the string fit your vertical panel size. see attached picture.
as for the rest of functionality I think many ideas and a lot of code can be borrowed from much more liberal lxpanel.
untitled

@slacka
Copy link

slacka commented Aug 24, 2014

@synthakai
This would be great if it worked, but with Mint 17 which uses MATE Panel 1.8.0, there is no

/org/mate/panel/objects/clock/prefs/custom-format

Doing a Ctrl-F for custom-format, doesn't turn up anything relevant.

@synthakai
Copy link

strangest thing, because I am using Mint 17 and stock mate
$ apt-cache policy mate-desktop
mate-desktop: Installed: 1.8.1-0
the parameter in question has been around for generations, it was ported from gnome2 where it also worked very well.

@fraterlinux
Copy link

I have the following problem. I have installed mate-panel 1.8.0 in PCLinuxOS. Upright, when I open more than 8 windows of different applications. A list of windows come in looping and wnck-applet uses 80% of cpu !!! This occurs when the panel size is between 30 and 77 pixels. Both the panel on the right or left the same problem occurs.
captura_de_tela

@damarev
Copy link

damarev commented May 6, 2015

Bug has been around since 2002: https://bugzilla.gnome.org/show_bug.cgi?id=86382

This is a major UX issue:

  • The "window list" on a vertical panel is just unusable.
  • Nowadays widescreens are the standard.
  • From many points of view, a vertical panel is the most logical option.

@slacka
Copy link

slacka commented May 6, 2015

@fraterlinux
I ran into the exact same issue with Mint 17. In issue #58 stefano-k said:

Because 1.8 uses libwnck, so you need an updated libwnck. The issue is not is mate-panel

I couldn't find any information on what version of libwnck was required or how to fix Mint, so I ended up downgrading to Mint 16.

@stefano-k

Could you provide any more info to help Mint and now PCLinuxOS users? Are you sure it's not a mate-panel issue as symptoms are identical to how the old mate-panel used to behave?

@jasonmacduffie
Copy link

Have you considered implementing #144 for this issue? I think it would fix the window list situation.

@kafran
Copy link

kafran commented Apr 22, 2016

state_of_the_art = True if mate-panel == xfce-panel + lxpanel else False

@Balls0fSteel
Copy link

The bugs related to this on the Gnome tracker had patches in comments, you should check those out. Long time ago I had my Gnome patched and it gave me a very nice vertical window list. (Tint2 is a good example how it could be done. Having the option of picking either horizontal OR vertical list of windows is the best IMO. Some people prefer wider vertical panels, more stuff fits there, the horizontal list works well. Some prefer narrow ones, the vertical window list is handy there.)

@enetarch
Copy link

enetarch commented Sep 4, 2016

Apparently this issue is not going to go away till someone picks up the code and fixes it. Can someone provide a path to the code that we / I may resolve this issue finally.

@jasonmacduffie
Copy link

Now that Ubuntu MATE has a dock applet, I believe the vertical panel is usable. I would say only

  1. Gradient
  2. Vertical mintmenu & clock applets

are outstanding right now.

@kafran
Copy link

kafran commented Sep 23, 2016

@jasonmacduffie do not forget about notification area icon size. They get huge as you increase panel size. They should be configurable or at least be fixed at a 22px maximum.

This is the XFCE vertical panel:

screenshot_2016-09-23_13-36-39

@jasonmacduffie
Copy link

@kafran You are right, I forgot about the notification area. Good point.

@enetarch
Copy link

enetarch commented Sep 28, 2016

I noticed that with the last update that came down, the panel doesn't flip back and forth anymore, but I get 16 windows open before it starts a 2nd column. As I am running a 4K monitor at 3840 x 2160, there is still about 1000 pixels remaining before it hits bottom.

@mckaygerhard
Copy link

in your version @enetarch the flickr does'n happened due the size fo the monitor.. u'r size its not standar and u must not assume that was fixed the problem..

@mckaygerhard
Copy link

I've looked at Lxpanel's tasklist code... They use WnckTasklist as mate-panel does, BUT their when panel are side, buttons hide the text and only show icons.. that's the fuck..g solution..

@attila123
Copy link

@synthakai (or anyone who knows the solution), how could you organize the items in your panel to 4 columns? It's very easy in XFCE panel, but is it possible in Mate panel? I assume your screenshot shows a Mate panel, is it true? I am looking for confiuration options in dconf-editor, but had no success.
I am experimenting with Linux Mint Mate 18.2 currently just in virtualbox. If the Mate panel is so limited in vertical mode I will stay with XFCE.

@lukefromdc
Copy link
Member

I have never seen any code nor options for dividing a vertical panel itself into multiple columns in MATE nor in GNOME 2 from which it is derived.

@enetarch
Copy link

enetarch commented Aug 12, 2017 via email

@lukefromdc
Copy link
Member

I've only seen the window list divide into columns automatically, maybe never notices anything else doing this. On the other hand, I use a single horizonal panel and have only used vertical panels for testing. Not sure there the code for this in in the panel, though if it is limited to the window list it would be in the wnck-applet code, if all applets either panel code or libpanel-applet code, if everything then the panel code would be my guess

@synthakai
Copy link

synthakai commented Aug 12, 2017

@attila123 sadly, it is impossible to organise the items in mate-panel in 4 columns. the last version I checked is mate 1.18.0 in lmde. actually in 1.18 they screwed things more a little bit, as I understand it's because of the move to gtk3.
I am using lxpanel as I mentioned in a comment above.
screenshot at 2017-08-13 01 01 58
lxpanel lets you set the geometry, the item order, the icon size, the transparency...
what would a man want more of a panel?
@attila123, I encourage you to use lxpanel, because it has just a couple of minute dependencies, so it is easy on the hard drive. is it the case with xfce? can you install xfce panel without installing the whole desktop?

@braikar
Copy link
Contributor

braikar commented Jun 2, 2018

@shirishag75 alright, I will give it a try, but it won't be before next month anyway, my schedule is too busy right now.. And by next month I guess mint will be out anyway with exactly the same stable packages.
Btw. most of my patches are a follow up on this work: http://kojevnikov.com/vertical-panel-in-gnome-15-months-later.html I had to modify some lines over time to make them match some updates in mates compared to gnome, but most of it is essentially the same.
Apart from the ugly fixed widget size in window_list.c, that's what I figured I had to to, else the window_list applet still flickers now and then.

@shirishag75
Copy link

shirishag75 commented Jun 2, 2018

@braikar cool although the binary of libwnck doesn't tell me anything -

$ dpkg -L libwnck-3-0
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libwnck-3.so.0.3.0
/usr/share
/usr/share/doc
/usr/share/doc/libwnck-3-0
/usr/share/doc/libwnck-3-0/AUTHORS
/usr/share/doc/libwnck-3-0/NEWS.gz
/usr/share/doc/libwnck-3-0/README
/usr/share/doc/libwnck-3-0/changelog.Debian.gz
/usr/share/doc/libwnck-3-0/changelog.gz
/usr/share/doc/libwnck-3-0/copyright
/usr/lib/x86_64-linux-gnu/libwnck-3.so.0

Guess would have to download the source package to see if I get something more.

mate-panel though has lot of interesting schema and xml files -

$ dpkg -L mate-panel
/.
/usr
/usr/bin
/usr/bin/mate-desktop-item-edit
/usr/bin/mate-panel
/usr/bin/mate-panel-test-applets
/usr/lib
/usr/lib/mate-panel
/usr/lib/mate-panel/clock-applet
/usr/lib/mate-panel/fish-applet
/usr/lib/mate-panel/notification-area-applet
/usr/lib/mate-panel/wnck-applet
/usr/share
/usr/share/applications
/usr/share/applications/mate-panel.desktop
/usr/share/dbus-1
/usr/share/dbus-1/services
/usr/share/dbus-1/services/org.mate.panel.applet.ClockAppletFactory.service
/usr/share/dbus-1/services/org.mate.panel.applet.FishAppletFactory.service
/usr/share/dbus-1/services/org.mate.panel.applet.NotificationAreaAppletFactory.service
/usr/share/dbus-1/services/org.mate.panel.applet.WnckletFactory.service
/usr/share/doc
/usr/share/doc/mate-panel
/usr/share/doc/mate-panel/changelog.Debian.gz
/usr/share/doc/mate-panel/changelog.gz
/usr/share/doc/mate-panel/copyright
/usr/share/glib-2.0
/usr/share/glib-2.0/schemas
/usr/share/glib-2.0/schemas/org.mate.panel.applet.clock.gschema.xml
/usr/share/glib-2.0/schemas/org.mate.panel.applet.fish.gschema.xml
/usr/share/glib-2.0/schemas/org.mate.panel.applet.window-list.gschema.xml
/usr/share/glib-2.0/schemas/org.mate.panel.applet.workspace-switcher.gschema.xml
/usr/share/glib-2.0/schemas/org.mate.panel.enums.xml
/usr/share/glib-2.0/schemas/org.mate.panel.gschema.xml
/usr/share/glib-2.0/schemas/org.mate.panel.menubar.gschema.xml
/usr/share/glib-2.0/schemas/org.mate.panel.object.gschema.xml
/usr/share/glib-2.0/schemas/org.mate.panel.toplevel.gschema.xml
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/mate-desktop-item-edit.1.gz
/usr/share/man/man1/mate-panel-test-applets.1.gz
/usr/share/man/man1/mate-panel.1.gz
/usr/share/mate-panel
/usr/share/mate-panel/applets
/usr/share/mate-panel/applets/org.mate.panel.ClockApplet.mate-panel-applet
/usr/share/mate-panel/applets/org.mate.panel.FishApplet.mate-panel-applet
/usr/share/mate-panel/applets/org.mate.panel.NotificationAreaApplet.mate-panel-applet
/usr/share/mate-panel/applets/org.mate.panel.Wncklet.mate-panel-applet
/usr/share/mate-panel/layouts
/usr/share/mate-panel/layouts/default.layout
/usr/share/mate-panel/layouts/fedora.layout
/usr/share/mate-panel/layouts/linuxmint.layout
/usr/share/mate-panel/layouts/mageia.layout
/usr/share/mate-panel/layouts/opensuse.layout
/usr/share/mate-panel/layouts/ubuntu.layout
/usr/share/mate-panel/pixmaps
/usr/share/mate-panel/pixmaps/clock-calendar-icon.png
/usr/share/mate-panel/pixmaps/clock-face-large.svg
/usr/share/mate-panel/pixmaps/clock-face-small-day.svg
/usr/share/mate-panel/pixmaps/clock-face-small-evening.svg
/usr/share/mate-panel/pixmaps/clock-face-small-morning.svg
/usr/share/mate-panel/pixmaps/clock-face-small-night.svg
/usr/share/mate-panel/pixmaps/clock-face-small.svg
/usr/share/mate-panel/pixmaps/clock-map-location-current.png
/usr/share/mate-panel/pixmaps/clock-map-location-hilight.png
/usr/share/mate-panel/pixmaps/clock-map-location-marker.png
/usr/share/mate-panel/pixmaps/clock-map.png
/usr/share/mate-panel/pixmaps/fishanim.png
/usr/share/mate-panel/pixmaps/footguy.png
/usr/share/mate-panel/pixmaps/monkey.png
/usr/share/mate-panel/pixmaps/oldwanda.png
/usr/share/mate-panel/pixmaps/wanda.png
/usr/share/mate-panel/ui
/usr/share/mate-panel/ui/clock-menu.xml
/usr/share/mate-panel/ui/clock.ui
/usr/share/mate-panel/ui/fish-menu.xml
/usr/share/mate-panel/ui/fish.ui
/usr/share/mate-panel/ui/notification-area-menu.xml
/usr/share/mate-panel/ui/panel-properties-dialog.ui
/usr/share/mate-panel/ui/panel-run-dialog.ui
/usr/share/mate-panel/ui/panel-test-applets.ui
/usr/share/mate-panel/ui/showdesktop-menu.xml
/usr/share/mate-panel/ui/window-list-menu.xml
/usr/share/mate-panel/ui/window-list.ui
/usr/share/mate-panel/ui/window-menu-menu.xml
/usr/share/mate-panel/ui/workspace-switcher-menu.xml
/usr/share/mate-panel/ui/workspace-switcher.ui

@shirishag75
Copy link

FWIW, if the patches are in the hands of the Debian maintainers, there is quite a bit of possibility of those patches being up-streamed. The DD's who are maintainers do have write access to the main repo. IIRC. If you share the patches and the list of different packages which need to be modified, @mckaygerhard will probably open a bug and both him and me will request the DM's to have it in experimental, pull those packages and see if any issues come up. If not, it would be put into unstable and then testing and finally buster somewhere in 2019 when Debian buster finally releases.

@shirishag75
Copy link

shirishag75 commented Jun 2, 2018

There is another thing to consider though, I remember a conversation with the DD maintainers a few days ago because I was seeing lot of updates just deprecating stuff. Under conversations it was made clear that the deprecations were part of the upcoming gtk-4-0, see https://gitlab.gnome.org/GNOME/gtk

and https://blog.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/milestones/1

@shirishag75
Copy link

FWIW, AFAIK Mint really takes a long time for anything to come to its repo.

@braikar
Copy link
Contributor

braikar commented Aug 18, 2018

Hi,
I finally have time to do some coding :)
I installed the new linuxmint so I have to fix all the problems for widepanels for myself and I will include them here properly since now everything is in gtk3.
I didn't start on the notification area because I saw that some changes happened that I didn't know about, some good, some bad..
The window list somehow works, it has been restricted to a single column in vertical wide panels, so there's no more flickering.
But on the other side the notification area is still as bad as before.
And a new problem emerged withe the PANEL_OBJECT_ACTION and PANEL_OBJECT_MENU (and I haven't tried the others yet). But the fix I'm making will be easy to apply to all other once it works for one. (NOTE 2days after I've written this post: I've figured it out now :) I've updated the pull request, it applies to all BUTTON_WIDGETS directly and correctly it's now here braikar#2)
Basically if the panel is 200pixels wide (or high), the applet takes up 200x200 of space.. The pull request I made there braikar#1 is working on that, but I can't figure out yet how to change the size allocated by the panel. Because the widget is correctly resized and yet the gap remains, in a way that moving other widgets in the free area is impossible..
I prefer to figure that one out before doing the notification area.
Because I feel both solutions could rely on the same global change, that is: setting a prefered max icon size as an option in the panel properties below Orientation and Size. That user defined sized can then be fetched as a gsetting to be applied on all applets that depend on that wanted size. Probably we can add an option to the notification area to override the global definition if wanted by the user.
As you can see in the attached screenshot, the "mint menu icon" and "kill application icon" still take up the same space.. But if you try the patch and inspect with gtkinspector you will see the buttons are effectively resize, I just don't know why the gap still remains, the buttons are aligned vertically to the top, but the now empty gap remains. On a horizontal panel, the buttons are aligned left and the gap remains on the right..

changes

@braikar
Copy link
Contributor

braikar commented Aug 20, 2018

It's almost done for that problem, I'll work on resizing the arrow correctly too next. braikar#2
As for the notification area, I've seen it's been neatly modified now, but it will thus take me more time to add the changes.. Though it's basically the same as before, change a GtkBox to a GtkGrid (or GtkTable before, but that one will be deprecated in 3.4 too), and it will need to be done in the future anyway since I've seen that Gtk is planning on dropping GtkBoxes anyway..

@braikar
Copy link
Contributor

braikar commented Aug 20, 2018

Pull request to fix the GTK_ARROW on BUTTON_WIDGETs: braikar#3
Notification area is next :)

@braikar
Copy link
Contributor

braikar commented Aug 20, 2018

screenshot at 2018-08-20 21-24-58

Getting there :) The GtkBox is properly replaced by a GtkGrid.
I have to get used to how GtkGrid works...
I'll finish the fine tuning soon, the icons placement is just a bit erratic.

@braikar
Copy link
Contributor

braikar commented Aug 21, 2018

I am trying to set a gsettings schema for the notification-area, but I can't make sense of the makefile.. The xml gschema is not compiled during the make process? Does anyone have any idea what's wrong? Or can tell me where to ask? Thank you
`SUBDIRS =
libstatus-notifier-watcher
status-notifier
system-tray

noinst_LTLIBRARIES = libtray.la
noinst_PROGRAMS = testtray

AM_CPPFLAGS =
$(NOTIFICATION_AREA_CFLAGS)
$(LIBMATE_PANEL_APPLET_CFLAGS)
-I$(srcdir)
-I$(srcdir)/../../libmate-panel-applet
-I$(top_builddir)/libmate-panel-applet
-DBUILDERDIR=""$(uidir)""
-DMATELOCALEDIR=""$(datadir)/locale""
-DG_LOG_DOMAIN=""notification-area-applet""
-DNOTIFICATION_AREA_MENU_UI_DIR=""$(xmluidir)""
-DPROVIDE_WATCHER_SERVICE=1
$(DISABLE_DEPRECATED_CFLAGS)

AM_CFLAGS = $(WARN_CFLAGS)

libtray_la_SOURCES =
na-grid.c
na-grid.h
na-host.c
na-host.h
na-item.c
na-item.h

libtray_la_LIBADD =
libstatus-notifier-watcher/libstatus-notifier-watcher.la
status-notifier/libstatus-notifier.la
system-tray/libsystem-tray.la

NOTIFICATION_AREA_SOURCES = main.c main.h

NOTIFICATION_AREA_LDADD =
../../libmate-panel-applet/libmate-panel-applet-4.la
libtray.la
$(NOTIFICATION_AREA_LIBS)
$(LIBMATE_PANEL_APPLET_LIBS)

testtray_SOURCES = testtray.c
testtray_LDADD =
libtray.la
$(NOTIFICATION_AREA_LIBS)

if NOTIFICATION_AREA_INPROCESS
APPLET_IN_PROCESS = true
APPLET_LOCATION = $(pkglibdir)/libnotification-area-applet.so

notification_area_appletlibdir = $(pkglibdir)
notification_area_appletlib_LTLIBRARIES = libnotification-area-applet.la
libnotification_area_applet_la_SOURCES = $(NOTIFICATION_AREA_SOURCES)
libnotification_area_applet_la_LIBADD = $(NOTIFICATION_AREA_LDADD)
libnotification_area_applet_la_LDFLAGS = -module -avoid-version
libnotification_area_applet_la_CFLAGS = $(AM_CFLAGS)
else
APPLET_IN_PROCESS = false
APPLET_LOCATION = $(libexecdir)/notification-area-applet

libexec_PROGRAMS = notification-area-applet
notification_area_applet_SOURCES = $(NOTIFICATION_AREA_SOURCES)
notification_area_applet_LDADD = $(NOTIFICATION_AREA_LDADD)
notification_area_applet_CFLAGS = $(AM_CFLAGS)
endif

appletdir = $(datadir)/mate-panel/applets
applet_in_files = org.mate.panel.NotificationAreaApplet.mate-panel-applet.in
applet_DATA = $(applet_in_files:.mate-panel-applet.in=.mate-panel-applet)

$(applet_in_files): $(applet_in_files).in Makefile
$(AM_V_GEN)sed
-e "s|@location@|$(APPLET_LOCATION)|"
-e "s|@IN_PROCESS@|$(APPLET_IN_PROCESS)|"
-e "s|@Version@|$(PACKAGE_VERSION)|"
$< > $@

@PANEL_INTLTOOL_MATE_PANEL_APPLET_RULE@

if !NOTIFICATION_AREA_INPROCESS
servicedir = $(datadir)/dbus-1/services
service_in_files = org.mate.panel.applet.NotificationAreaAppletFactory.service.in
service_DATA = $(service_in_files:.service.in=.service)

org.mate.panel.applet.NotificationAreaAppletFactory.service: $(service_in_files)
$(AM_V_GEN)sed
-e "s|@location@|$(APPLET_LOCATION)|"
$< > $@
endif

uidir = $(datadir)/mate-panel/ui
ui_DATA = notification-area-preferences-dialog.ui

xmluidir = $(datadir)/mate-panel/ui
xmlui_DATA = notification-area-menu.xml

notification_area_gschemas_in = org.mate.panel.applet.notification-area.gschema.xml.in
gsettings_SCHEMAS = $(notification_area_gschemas_in:.xml.in=.xml)

EXTRA_DIST =
org.mate.panel.NotificationAreaApplet.mate-panel-applet.in.in
$(notification_area_gschemas_in)
$(xmlui_DATA)
$(ui_DATA)
$(service_in_files)

CLEANFILES =
$(applet_DATA)
$(applet_DATA).in
$(service_DATA)
$(gsettings_SCHEMAS)

-include $(top_srcdir)/git.mk`

That's the content on the makefile, and the gschema is referenced in main.c...

@braikar
Copy link
Contributor

braikar commented Aug 21, 2018

Almost done, in the end it was quite easy! But it must be fined tuned. The sorting system of the icons is a bit messy! It works by removing all items from the grid, re-adding them and re-sorting them and forcing a redraw.. It could be made nicer that's sure. ^^
I'll do some more beautifying of the code in the coming weeks (it doesn't react well to panel resize, but that's not a big issue since it doesn't happen often anyway..). In the coming weeks.. because in 4 days I'm going to a place almost without internet (satellite/56k haha, and barely 3g when the atmosphere allows it!) for almost for 3 weeks ;)
As I'm all set for my desktop, that's all I wanted. I'll publish the actual diff in 1-2 days for those who want it quickly ;)
screenshot at 2018-08-21 14-05-58
As you can see I added a Preferences dialog, with two options, a tick box to keep them aligned on one line as it was before, they automatically resize to the width of the panel, up to 48px (icon size) centered (the change I made in BUTTON_WIDGETs applies now on the notification area items too, they don't take up 200x200 on a wide panel anymore).
And if the "Display icons only on one line" is unticked, one can choose the size of the icons directly and they'll re-arrange nicely in a gird.
As you can see the two examples where I set 28 size for one and 43 for the other. They don't adapt to all sizes though, once the size is big enough or small enough to fill the width/height, it resizes..
And as you can see the settings are set in a GSchema. I'll just need help to figure out how to change the Makefile to automatically compile it, I've spent hours on it without figuring it out. I installed the GSchema manually..
Meanwhile while doing that I've noticed that the clock applet doesn't display the weather anymore :( I guess the the connection to the weather server has been broken with the port to GtK3..
screenshot at 2018-08-21 14-14-01
See you soon

@lukefromdc
Copy link
Member

Maybe you are not reaching the weather server from where you live? Turning on weather in the clock applet works fine with GTK 3 on my builds from the eastern US, and has all the way back to MATE 1.10 and with all GTK3 verrsions from 3.14 to current development 3.23

@braikar
Copy link
Contributor

braikar commented Aug 22, 2018

@lukefromdc I don't know? I can't see anything wrong in the syslog. Can you try, my settings are either "Paris, France" or "Luxembourg, Luxembourg".
I was thinking maybe it's because I have compiz running, with D-Bus disabled? If enabled, everything flickers like crazy..
I jumped from mate-1.12 (where it worked flawlessly) to 1.20, I haven't used the in between updates because I wanted to keep my vertical panel and had no time to make patches for the new versions.
Can you just tell me if Paris/Luxembourg works for you, then I know it's something here. I'll try to figure it out when I get back in some weeks. As you can see on the screenshots mine displays absolutely nothing (the space is left blank). Thanks

@synthakai
Copy link

synthakai commented Aug 22, 2018

@braikar thanks for the good job! I hope everybody can get the vertical panel working soon :) . meanwhile, I am on linuxmint 17 and even in this old distribution with mate 1.12 the weather applet has been updated and it is working now, so theoretically there should be a way in the code to make the weather applet work. Paris/Luxembourg are working fine for me. nice weather in Paris +30

@braikar
Copy link
Contributor

braikar commented Aug 22, 2018

@synthakai Haha indeed nice weather here, it's even too dry! ;)
You're talking about the weather applet. I just tested that one, it works all good :) Thanks for the suggestion.
Actually what I had before was the weather activated on the clock applet, that's what's not working now. And it still isn't. I'll try to figure out why next month, since it works for @lukefromdc I wonder why it doesn't work for me. And it should work, since the weather applet works.. I'll compare the code between the two.

Else, as promised for the panel, I've created the pull request for all the changes :)

And for those who can't wait (or can't compile patches/diffs, it took me days to figure out so many of these things when I started some years ago!), I've uploaded the compiled package on my website: (it's for mate-1.20.1).

There you go for install procedure

First install the gschema (since I can't figure out how to get it in the compiled package..)
put http://braikar.com/stuff/org.mate.panel.applet.notification-area.gschema.xml
in /usr/share/glib-2.0/schemas/ (using "sudo -H caja" or "gksudo caja" depending on the distribution to access files in root mode)
then "sudo glib-compile-schemas /usr/share/glib-2.0/schemas/"
then install the package http://braikar.com/stuff/mate-panel_1.20.1-3ubuntu1_amd64.deb
And killall mate-panel
just remember the notification area doesn't redraw on panel loading, I don't know which signal to watch for in the code.. I need to figrue that out!!
For the moment, open the prefs and change something and it will redraw (click/unclick the checkbox).
Else on boot it's not important, since the notification area icons add up gradually, the redraw occurs at somepoint.
That's it :)

in case something's wrong,
sudo apt-get install --reinstall mate-panel :)

@braikar
Copy link
Contributor

braikar commented Aug 22, 2018

I couldn't let it go, most of the work is done now ;)
The package is compiled properly, so no need to add the gschema manually ;)
And the applet loads fine and reacts to all panel changes. It's almost perfect :)
so one just needs to install that (I've updated it): http://braikar.com/stuff/mate-panel_1.20.1-3ubuntu1_amd64.deb as it should be :)

@synthakai
Copy link

@braikar interesting, I didn't notice there were different ways of getting weather with mate-panel.
in fact, I was talking about the weather showing in clock applet, I have it too, and there I have the weather for several locations and it is working now. I guess it's thanks to libmateweather update in 2016.
as for the "Weather Report" applet of mate-panel - it isn't working now, but for me it's unimportant :)
thanks again for the good job! I hope I would be upgrading to mint19 soon and be able to test the package :)

@slacka
Copy link

slacka commented Aug 29, 2018

@braikar
This is awesome! Could you please consider doing a pull request so that everyone can benefit from your effort?

@braikar
Copy link
Contributor

braikar commented Sep 26, 2018

@slacka it's on the way :) #856

@SirDagen
Copy link

SirDagen commented Oct 21, 2018

I am new to Linux, just installed Mate 19. Looks very good I have to say.

I have my system bar on the right side and several elements on this bar love to move to the top and abandon the bottom corner. Also some elements are stacked on top of each other so that it is unusable. This happens every time I restart, so manual fixing doesnt help.

@lukefromdc
Copy link
Member

#856
has been merged, so is this all the way fix and ready to be closed or are there other issues with wide panels beyond the menubar applet not being usable (as it is a menubar and menubars are horizontal).

@SirDagen
Copy link

SirDagen commented Oct 22, 2018

Oh, I am sorry, I totally misread this thread: I have a standard screen orientation and my system bar is on the right side (this configuration worked perfectly on Xfce 18). On "MATE bar 1.20.1" the items of the bar are clogged together and not usable as described above. That's what I meant, and thank you for asking and showing me the corresponding pull request.

(Please excuse my confusion, this is my first use of Linux on a machine. I tried Xfce 18 at a friends computer and was unhappy to see that Mate 19 currently has this problem. Everything except a few minor bugs is totally a great experience. Way to go, Linux Mint.)

@braikar
Copy link
Contributor

braikar commented Oct 22, 2018

I've been using a wide and vertical panel for years. The notification applet was the main issue.
Window list was another ptoblem, but somehow that one has been fixed..? I don't know when but it works.
The menubar is the other big one, I'm not using it, but I'm working on it slowly when I have time, to make it display horizontally when the panel is wide enough.
Else I'll be probably playing with making the notification applet a bit more fancy/customizable, but that's not really something urgent either.
The only one I remember, was the sticky note applet that had also a huge icon, I just tried it, it didn't change, its still huge, I guess it's not linked to the button widget display mechanism..

@raveit65
Copy link
Member

Does this issue still exists?

@synthakai
Copy link

synthakai commented Jul 21, 2023

Does this issue still exists?

yes

@lukefromdc
Copy link
Member

There will in fact probably be more work to do on this for mate-panel under wayland as well.

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