Usable vertical panel? #157

Open
Amet13 opened this Issue Jan 17, 2014 · 41 comments

Comments

Projects
None yet
@Amet13

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

This comment has been minimized.

Show comment
Hide comment
@dadix

dadix 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

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

This comment has been minimized.

Show comment
Hide comment
@slacka

slacka 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

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

This comment has been minimized.

Show comment
Hide comment
@glensc

glensc 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

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

This comment has been minimized.

Show comment
Hide comment
@synthakai

synthakai Aug 24, 2014

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

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

This comment has been minimized.

Show comment
Hide comment
@slacka

slacka 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.

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

This comment has been minimized.

Show comment
Hide comment
@synthakai

synthakai Aug 25, 2014

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.

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

This comment has been minimized.

Show comment
Hide comment
@fraterlinux

fraterlinux Aug 27, 2014

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

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

This comment has been minimized.

Show comment
Hide comment
@damarev

damarev 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.

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

This comment has been minimized.

Show comment
Hide comment
@slacka

slacka 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?

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

This comment has been minimized.

Show comment
Hide comment
@jasonmacduffie

jasonmacduffie Oct 31, 2015

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

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

@kafran

This comment has been minimized.

Show comment
Hide comment
@kafran

kafran Apr 22, 2016

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

kafran commented Apr 22, 2016

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

@Balls0fSteel

This comment has been minimized.

Show comment
Hide comment
@Balls0fSteel

Balls0fSteel Aug 3, 2016

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.)

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

This comment has been minimized.

Show comment
Hide comment
@enetarch

enetarch 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.

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

This comment has been minimized.

Show comment
Hide comment
@jasonmacduffie

jasonmacduffie Sep 23, 2016

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.

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

This comment has been minimized.

Show comment
Hide comment
@kafran

kafran 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

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

This comment has been minimized.

Show comment
Hide comment
@jasonmacduffie

jasonmacduffie Sep 28, 2016

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

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

@enetarch

This comment has been minimized.

Show comment
Hide comment
@enetarch

enetarch 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.

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

This comment has been minimized.

Show comment
Hide comment
@mckaygerhard

mckaygerhard Mar 23, 2017

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..

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

This comment has been minimized.

Show comment
Hide comment
@mckaygerhard

mckaygerhard Mar 23, 2017

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..

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

This comment has been minimized.

Show comment
Hide comment
@attila123

attila123 Aug 12, 2017

@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.

@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

This comment has been minimized.

Show comment
Hide comment
@lukefromdc

lukefromdc Aug 12, 2017

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.

Member

lukefromdc commented Aug 12, 2017

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

This comment has been minimized.

Show comment
Hide comment
@enetarch

enetarch Aug 12, 2017

@lukefromdc

This comment has been minimized.

Show comment
Hide comment
@lukefromdc

lukefromdc Aug 12, 2017

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

Member

lukefromdc commented Aug 12, 2017

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

This comment has been minimized.

Show comment
Hide comment
@synthakai

synthakai 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?

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

This comment has been minimized.

Show comment
Hide comment
@braikar

braikar Jan 8, 2018

screenshot at 2018-01-08 22 02 06
I have these issues fixed since 5-6 years, but every time I have to patch the individual components myself, now I'm stuck at mate 1.12 because I never took the time to modify the new codes for the patches.
I guess no developer has a vertical panel, so that's why i tdoesn't get fixed?
So I hope my message will help you, mate developers, look in the right places :)
I myself don't know enough about gtk to fix the details properly, all my fixes are hard coded!
My launchers applet on the top has the icons/apps defined straight in the code, to change them requires a recompile.. It's really simple and works well that way for me, it's just gtktables with fixed column numbers and rows and an array of icon paths and launcher commands... Anyone knowing how to compile can modify it himself easily. But making it user friendly with draggable items/lockable layout, variable grid etc. that's another much harder task. Else for the notification area at the bottom, the fix is always the same replace the NaList widget with a GtkTable in GTk2, in gtk3 sicne I haven't made it yet I can't be sure, but I guess it will be the same, just with a GtkGrid? But when looking at github in the latest version it seems that's been done with GtkBox. Anyway, that solution is easy, it's been fixed since almost 10 years, the patch has just never been applied in the core versions! I applied it manually on each new version it always worked fine since 2012-2013.

For the windows-list applet, that's the tricky part, my solution is hard coded too, but rather simple, since the applet is in a fixed position on my panel, I forced its vertical size with gtk_widget_set_usize(). I know it's deprecated with gtk3 now. But there lies the rather simple solution for those that know a bit more gtk than me. The problem is that by default the windows list applet (and wnck component) always try to take the minimum size possible and on vertical panels that brings the flickering effect because it can't decide on its size.. I know a good fix will take time, because it's a fundamental problem in wnck.. But the simple easy fix, is very easy. I just add gtk_widget_set_usize(tasklist->applet, width, height) with the sizes for my panel (120, 297 if I remember well) in the window_list_applet_fill() function..
And the very important part is that this change has to be made in the libwnck package tasklist.c as well in the size_allocate function too. Libwnck is also very faulty for the problem.
That's it for the quick fix solution to look for, instead of letting the code in wncklet/window-list.c trying to fit the smallest size possible, if it's changed to try and fit the largest size possible/available on the panel, the flickering should end. My modifications force a fixed size, but I guess changing the code to let it fill the entire space available shouldn't be that hard.. The only problem there is that adding an applet in the void below the window list won't work because the space is actually filled by the empty window-list..
If anyone needs, let me know I'll send you the diffs for the exact changes I've made to fix these issues, even if i know that a proper fix will require a bit more work, at least you'll know where to look :)

braikar commented Jan 8, 2018

screenshot at 2018-01-08 22 02 06
I have these issues fixed since 5-6 years, but every time I have to patch the individual components myself, now I'm stuck at mate 1.12 because I never took the time to modify the new codes for the patches.
I guess no developer has a vertical panel, so that's why i tdoesn't get fixed?
So I hope my message will help you, mate developers, look in the right places :)
I myself don't know enough about gtk to fix the details properly, all my fixes are hard coded!
My launchers applet on the top has the icons/apps defined straight in the code, to change them requires a recompile.. It's really simple and works well that way for me, it's just gtktables with fixed column numbers and rows and an array of icon paths and launcher commands... Anyone knowing how to compile can modify it himself easily. But making it user friendly with draggable items/lockable layout, variable grid etc. that's another much harder task. Else for the notification area at the bottom, the fix is always the same replace the NaList widget with a GtkTable in GTk2, in gtk3 sicne I haven't made it yet I can't be sure, but I guess it will be the same, just with a GtkGrid? But when looking at github in the latest version it seems that's been done with GtkBox. Anyway, that solution is easy, it's been fixed since almost 10 years, the patch has just never been applied in the core versions! I applied it manually on each new version it always worked fine since 2012-2013.

For the windows-list applet, that's the tricky part, my solution is hard coded too, but rather simple, since the applet is in a fixed position on my panel, I forced its vertical size with gtk_widget_set_usize(). I know it's deprecated with gtk3 now. But there lies the rather simple solution for those that know a bit more gtk than me. The problem is that by default the windows list applet (and wnck component) always try to take the minimum size possible and on vertical panels that brings the flickering effect because it can't decide on its size.. I know a good fix will take time, because it's a fundamental problem in wnck.. But the simple easy fix, is very easy. I just add gtk_widget_set_usize(tasklist->applet, width, height) with the sizes for my panel (120, 297 if I remember well) in the window_list_applet_fill() function..
And the very important part is that this change has to be made in the libwnck package tasklist.c as well in the size_allocate function too. Libwnck is also very faulty for the problem.
That's it for the quick fix solution to look for, instead of letting the code in wncklet/window-list.c trying to fit the smallest size possible, if it's changed to try and fit the largest size possible/available on the panel, the flickering should end. My modifications force a fixed size, but I guess changing the code to let it fill the entire space available shouldn't be that hard.. The only problem there is that adding an applet in the void below the window list won't work because the space is actually filled by the empty window-list..
If anyone needs, let me know I'll send you the diffs for the exact changes I've made to fix these issues, even if i know that a proper fix will require a bit more work, at least you'll know where to look :)

@mckaygerhard

This comment has been minimized.

Show comment
Hide comment
@mckaygerhard

mckaygerhard Jan 8, 2018

hi @braikar , can do you send the older patches as unified ? to some distribution of linux in interes, due seems in the mate team nobody cares, what a fuck

i understand you, its a paint in the ass, when got working something and then something "new" with unuseless "features" are "comming"

hi @braikar , can do you send the older patches as unified ? to some distribution of linux in interes, due seems in the mate team nobody cares, what a fuck

i understand you, its a paint in the ass, when got working something and then something "new" with unuseless "features" are "comming"

@braikar

This comment has been minimized.

Show comment
Hide comment
@braikar

braikar Jan 8, 2018

Hi @mckaygerhard I would like to do that, but where do I send it? I've tried adding the changes in github and all I got is people commenting that it wasn't 100% right, I knew that, but it was just to show where things could be changed.. If you have an idea where to send it, I'd be glad to do it, people on github mate-panel don't seem to care enough :/

braikar commented Jan 8, 2018

Hi @mckaygerhard I would like to do that, but where do I send it? I've tried adding the changes in github and all I got is people commenting that it wasn't 100% right, I knew that, but it was just to show where things could be changed.. If you have an idea where to send it, I'd be glad to do it, people on github mate-panel don't seem to care enough :/

@mckaygerhard

This comment has been minimized.

Show comment
Hide comment
@mckaygerhard

mckaygerhard Jan 8, 2018

debian seems are welcome, well i think! due in mayority of times i send patches to debian, was acepted!

if you dessire, can send by me! but i prefer do by yourselft i'm a user tht also need those patches merged.. (well my mate version are old.. )

debian seems are welcome, well i think! due in mayority of times i send patches to debian, was acepted!

if you dessire, can send by me! but i prefer do by yourselft i'm a user tht also need those patches merged.. (well my mate version are old.. )

@shirishag75

This comment has been minimized.

Show comment
Hide comment
@shirishag75

shirishag75 Jun 1, 2018

@Amet13 did you send the patches to @mckaygerhard. If yes, then @mckaygerhard were you able to put a merge request on https://salsa.debian.org/debian-mate-team or open a bug against mate-panel and putting a patch against mate-panel using patch.

Right now, mate-panel is 1.20.1-3 in Debian.

$ apt-cache policy mate-panel
mate-panel:
  Installed: 1.20.1-3
  Candidate: 1.20.1-3
  Version table:
 *** 1.20.1-3 500
        500 http://cdn-fastly.deb.debian.org/debian buster/main amd64 Packages
        100 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

If the answer to both the above question is yes, please share the bug-report number and the patch. Will definitely try it on both my lappies as well as desktop to see if any improvement can be seen than the existing scenario.

shirishag75 commented Jun 1, 2018

@Amet13 did you send the patches to @mckaygerhard. If yes, then @mckaygerhard were you able to put a merge request on https://salsa.debian.org/debian-mate-team or open a bug against mate-panel and putting a patch against mate-panel using patch.

Right now, mate-panel is 1.20.1-3 in Debian.

$ apt-cache policy mate-panel
mate-panel:
  Installed: 1.20.1-3
  Candidate: 1.20.1-3
  Version table:
 *** 1.20.1-3 500
        500 http://cdn-fastly.deb.debian.org/debian buster/main amd64 Packages
        100 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

If the answer to both the above question is yes, please share the bug-report number and the patch. Will definitely try it on both my lappies as well as desktop to see if any improvement can be seen than the existing scenario.

@Amet13

This comment has been minimized.

Show comment
Hide comment
@Amet13

Amet13 Jun 1, 2018

No, I didn't.
I'm not strong in coding and don't use MATE already so i can't send any patch.
Eventually i closed issue because of 4+ year without any actions by this way.

Amet13 commented Jun 1, 2018

No, I didn't.
I'm not strong in coding and don't use MATE already so i can't send any patch.
Eventually i closed issue because of 4+ year without any actions by this way.

@shirishag75

This comment has been minimized.

Show comment
Hide comment
@shirishag75

shirishag75 Jun 1, 2018

my bad, should have asked @braikar for the info.

my bad, should have asked @braikar for the info.

@mckaygerhard

This comment has been minimized.

Show comment
Hide comment
@mckaygerhard

mckaygerhard Jun 1, 2018

no @shirishag75 i didnt recieve any and will be usefully due i used older versions of mate panel!

and why closed? @Amet13 ? please reopen i'm active monitoring this issue!

no @shirishag75 i didnt recieve any and will be usefully due i used older versions of mate panel!

and why closed? @Amet13 ? please reopen i'm active monitoring this issue!

@mckaygerhard

This comment has been minimized.

Show comment
Hide comment
@mckaygerhard

mckaygerhard Jun 1, 2018

@braikar hi! what happened with you? please can send me those patcheds? you can attach here in the issue!

@braikar hi! what happened with you? please can send me those patcheds? you can attach here in the issue!

@braikar

This comment has been minimized.

Show comment
Hide comment
@braikar

braikar Jun 1, 2018

Hi, I haven't continued on the topic because I was waiting for Mate to get properly switched to gtk 3.22. But I haven't forgotten the topic either!
Making these changes for gtk 2 properly just to have them modified again seemed useless. I'm waiting for mint 19 (I know ubuntu 18.04 is out.. but I prefer mint), when I install mint I'll have mate 1.20, and I will need to apply all the same patches (fitted for gtk 3) so that I can have my panel vertically as I like it. I will come back to share the patches I've made. But it also involves a change in libwnck, I had to add functions for orientation, because the original version has none.. But then I don't know if that won't affect other packages I don't know.. Anyway, I'll come back in a couple of months when I have mint19 and will have been forced to make the new patches :) I've attached the patches as your request, but it's for mate 1.12.. I'm still on that version, I was waiting for all the big changes with gtk etc. and switchign distribution to re-update those patches.
The tasklist.diff is for libwnck 2.30.7
na_tray-c.patch is for mate 1.12 (I haven't tested it somewhere else)
but the problem that needs to be adressed is that my dirty trick won't work for all sizes, in applets/wncklet/window-list.c I actually force the panel size to the specific size of my panel..
I have added gtk_widget_set_usize (GTK_WIDGET(applet), 120, 270); in the window_list_applet_fill(MatePanelApplet* applet) function.. That cannot be used for a proper patch, there's that bug in the window_list panel that still tries to allocate other sizes if it's not forced to a specific height.. I haven't figured out why.

na-tray-c.patch.txt
tasklist.diff.txt

braikar commented Jun 1, 2018

Hi, I haven't continued on the topic because I was waiting for Mate to get properly switched to gtk 3.22. But I haven't forgotten the topic either!
Making these changes for gtk 2 properly just to have them modified again seemed useless. I'm waiting for mint 19 (I know ubuntu 18.04 is out.. but I prefer mint), when I install mint I'll have mate 1.20, and I will need to apply all the same patches (fitted for gtk 3) so that I can have my panel vertically as I like it. I will come back to share the patches I've made. But it also involves a change in libwnck, I had to add functions for orientation, because the original version has none.. But then I don't know if that won't affect other packages I don't know.. Anyway, I'll come back in a couple of months when I have mint19 and will have been forced to make the new patches :) I've attached the patches as your request, but it's for mate 1.12.. I'm still on that version, I was waiting for all the big changes with gtk etc. and switchign distribution to re-update those patches.
The tasklist.diff is for libwnck 2.30.7
na_tray-c.patch is for mate 1.12 (I haven't tested it somewhere else)
but the problem that needs to be adressed is that my dirty trick won't work for all sizes, in applets/wncklet/window-list.c I actually force the panel size to the specific size of my panel..
I have added gtk_widget_set_usize (GTK_WIDGET(applet), 120, 270); in the window_list_applet_fill(MatePanelApplet* applet) function.. That cannot be used for a proper patch, there's that bug in the window_list panel that still tries to allocate other sizes if it's not forced to a specific height.. I haven't figured out why.

na-tray-c.patch.txt
tasklist.diff.txt

@mckaygerhard

This comment has been minimized.

Show comment
Hide comment
@mckaygerhard

mckaygerhard Jun 1, 2018

i'm not fan of "updates" and "fashioned version" so i still use gtk2 in many things (more cheap respect memory), and afraik of i'm not a fan of winbuntu, there's no problem for me to try those patches due i not fan of "upgrades"

ok makes sense, we can force a minimun size and maximun size with a flag.. taking in consideration that most screen today are widescren, it's good for me and so for those interesting on (like me)

i'm not fan of "updates" and "fashioned version" so i still use gtk2 in many things (more cheap respect memory), and afraik of i'm not a fan of winbuntu, there's no problem for me to try those patches due i not fan of "upgrades"

ok makes sense, we can force a minimun size and maximun size with a flag.. taking in consideration that most screen today are widescren, it's good for me and so for those interesting on (like me)

@shirishag75

This comment has been minimized.

Show comment
Hide comment
@shirishag75

shirishag75 Jun 1, 2018

@braikar in your case, I would wish you could try debian-testing. It has already everything in place.

$ apt-cache policy libwnck-3-0
libwnck-3-0:
  Installed: 3.24.1-2
  Candidate: 3.24.1-2
  Version table:
 *** 3.24.1-2 500
        500 http://cdn-fastly.deb.debian.org/debian buster/main amd64 Packages
        100 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

Then -


$ mate-about -v
MATE Desktop Environment 1.20.1

and last but not the least -

$ gtk-launch --version
3.22.29

So any changes done in Debian would automatically get sent to Mint and other debian-derived distros. including Mint . If not comfortable use @mckaygerhard help . I could help you out with any specific installation issue you may have/encounter if you decide to go the Debian way.

shirishag75 commented Jun 1, 2018

@braikar in your case, I would wish you could try debian-testing. It has already everything in place.

$ apt-cache policy libwnck-3-0
libwnck-3-0:
  Installed: 3.24.1-2
  Candidate: 3.24.1-2
  Version table:
 *** 3.24.1-2 500
        500 http://cdn-fastly.deb.debian.org/debian buster/main amd64 Packages
        100 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

Then -


$ mate-about -v
MATE Desktop Environment 1.20.1

and last but not the least -

$ gtk-launch --version
3.22.29

So any changes done in Debian would automatically get sent to Mint and other debian-derived distros. including Mint . If not comfortable use @mckaygerhard help . I could help you out with any specific installation issue you may have/encounter if you decide to go the Debian way.

@Amet13 Amet13 reopened this Jun 2, 2018

@braikar

This comment has been minimized.

Show comment
Hide comment
@braikar

braikar 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.

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

This comment has been minimized.

Show comment
Hide comment
@shirishag75

shirishag75 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 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

This comment has been minimized.

Show comment
Hide comment
@shirishag75

shirishag75 Jun 2, 2018

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.

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

This comment has been minimized.

Show comment
Hide comment
@shirishag75

shirishag75 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 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

This comment has been minimized.

Show comment
Hide comment
@shirishag75

shirishag75 Jun 2, 2018

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment