Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-09-03 12:54:39

salome
Member
Registered: 2019-09-03
Posts: 4

I need help : tasklist and starter menu icons dimensions

Hi,

since I installed xfce 4.14, the look of the tasklist and the starter menu is different.

I need:
- to increase the dimensions of tasklist's icons, and force the tasklist to use the 64px icons instead the 16px-22px-22px (monochromatic in my icon theme)

- to increase the icons size of the starter menu's quick-list
- to increase the icon size of the popuo of the incons in the quicklist

here thee screen

https://i.postimg.cc/hGhdJQN0/xfce.png

Last edited by salome (2019-09-03 12:55:10)

Offline

#2 2019-09-03 14:35:11

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,032

Re: I need help : tasklist and starter menu icons dimensions

Which GTK (Appearance) theme are you using?

For the first one, Bleachbit, see this bug report.

The second one, the one below it, looks like a tooltip icon. I am unaware of a way to change the size of the tooltip icon for launcher menus.

For the third one, is that a launcher or Windows Buttons (tasklist). If it's a tasklist, try something like one of the following in ~/.config/gtk-3.0/gtk.css:

.tasklist button {padding:0; margin:0}

...or

.tasklist image  {padding:0; margin:0;}

Restart the panel "xfce4-panel -r" for it to take effect.

Offline

#3 2019-09-03 17:55:08

salome
Member
Registered: 2019-09-03
Posts: 4

Re: I need help : tasklist and starter menu icons dimensions

ToZ wrote:

Which GTK (Appearance) theme are you using?

For the first one, Bleachbit, see this bug report.

The second one, the one below it, looks like a tooltip icon. I am unaware of a way to change the size of the tooltip icon for launcher menus.

For the third one, is that a launcher or Windows Buttons (tasklist). If it's a tasklist, try something like one of the following in ~/.config/gtk-3.0/gtk.css:

.tasklist button {padding:0; margin:0}

...or

.tasklist image  {padding:0; margin:0;}

Restart the panel "xfce4-panel -r" for it to take effect.

.tasklist button {padding:0; margin:0}

...or

.tasklist image  {padding:0; margin:0;}

increase only the tasklist's margins.
I wanna increase the applications' icons, and eventually set the tasklist to use the 64px icons instead the smaller ones

The problem is with all GTK themes I tried (Adwaita, Arc, Numix etc.)

This is how my old tasklist's icons were on gtk2

https://i.postimg.cc/XNPqY1sM/xfcegtk2.png

Last edited by salome (2019-09-03 18:01:32)

Offline

#4 2019-09-03 19:31:55

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,032

Re: I need help : tasklist and starter menu icons dimensions

The only setting that I can find to affect the icon size is:

.tasklist image {-gtk-icon-transform: scale(1.5); }

...but that only upscales the icon image and unfortunately blurs it.

Perhaps a bug report is in order. Maybe tasklist icons can be tied to the new panel icon size functionality that was introduced in 4.14. They are.

Offline

#5 2019-09-04 01:49:09

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,032

Re: I need help : tasklist and starter menu icons dimensions

Just ran into the issue myself in a VM. Try setting "Adjust Size Automatically" in the Icons section of the Appearance tab for the panel properties.

The change doesn't happen automatically for me - I have to hover my mouse over the tasklist button for them to change.

Offline

#6 2019-09-04 07:34:16

DarkTrick
Member
Registered: 2019-02-16
Posts: 19

Re: I need help : tasklist and starter menu icons dimensions

Shouldn't "height: 64px; width:64px;" be the answer to this question?

I'm having the same and the opposite problem:
- Tasklist items are to small
- Whiskers menu is too big

Checking things with GtkInspector is seems like width/height properties are not supported.

Screenshot: https://i.postimg.cc/QCNPqCvj/deleteMe.jpg (check out the overdimensioned whiskers menu button smile )

Offline

#7 2019-09-04 10:26:39

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,032

Re: I need help : tasklist and starter menu icons dimensions

GTK3 does not allow you to specify exact heights/widths - just min-height/min-width (which are more like suggestions). The widgets are designed to fill the space they are given.

Does using icon auto-adjust (Panel Preferences > Appearance > Icons > Adjust size automatically make a difference?

Offline

#8 2019-09-04 12:27:37

DarkTrick
Member
Registered: 2019-02-16
Posts: 19

Re: I need help : tasklist and starter menu icons dimensions

> GTK3 does not allow you to specify exact heights/widths - just min-height/min-width
> (which are more like suggestions)
"Suggestion" is indeed the correct wording. It seems like it doesn't work:

>.tasklist button{
>  min-height: 62px;
> }

has no effect.


> Does using icon auto-adjust (Panel Preferences > Appearance > Icons > Adjust size automatically make a difference?
For me, this changes the launcher icon size, but does not affect the tasklist.
It might help the thread creator, though.

Offline

#9 2019-09-04 12:31:58

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,032

Re: I need help : tasklist and starter menu icons dimensions

DarkTrick wrote:

> Does using icon auto-adjust (Panel Preferences > Appearance > Icons > Adjust size automatically make a difference?
For me, this changes the launcher icon size, but does not affect the tasklist.

I'm noticing this weird bug that I have to hover over the tasklist items to get them to resize properly after making that adjustment. Do you notice the same?

Offline

#10 2019-09-05 18:15:38

DarkTrick
Member
Registered: 2019-02-16
Posts: 19

Re: I need help : tasklist and starter menu icons dimensions

Can you post the content of your gtk.css file?

I currently use

tasklist{
  font-size: 28px;
  font-family: Arial;
  min-height: 50px;
}

.tasklist button{
  min-height: 50px;
}

.tasklist .toggle
{
  max-height: 62px;
}

Nothing changes on hovering (as you experience on your machine). The buttons always keep the same height.
The font-size change works, though.

Last edited by DarkTrick (2019-09-05 18:16:11)

Offline

#11 2019-09-05 21:14:19

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,032

Re: I need help : tasklist and starter menu icons dimensions

Okay. Here is what I see:

Theme = Adwaita
Icons = Adwaita
Blank gtk.css
Panel Row size = 42
Panel Fixed Icon Size = 16
DT611BF.png

Now with Panel Fixed Size Changed to 36 (I need to hover over tasklist items to get them to change size):
OfoKihc.png
..however, all of the other panel icons are now large.

These I can selectively shrink with the something like the following in gtk.css:

#applicationmenu-button image { -gtk-icon-transform: scale(0.5); }
#launcher-arrow image { -gtk-icon-transform: scale(0.5); }
#pulseaudio-button image { -gtk-icon-transform: scale(0.5); }
#xfce4-notification-plugin image { -gtk-icon-transform: scale(0.5); }
#xfce4-power-manager-plugin image { -gtk-icon-transform: scale(0.5); }
#xfce-panel-button image { -gtk-icon-transform: scale(0.5); }

iyWkx4g.png

But I can't do the opposite, which is make all the icons small and then just increase the size of the tasklist buttons without making them blurry (Panel fixed icon size = 16 and the following in gtk.css):

.tasklist image { margin:0; padding: 0; -gtk-icon-transform: scale(2.0); }

1XnPtA5.png

Offline

#12 2019-09-06 06:55:06

DarkTrick
Member
Registered: 2019-02-16
Posts: 19

Re: I need help : tasklist and starter menu icons dimensions

I'm using:
Theme: Greybird
Icons: elementary Xfce dark

I also tried:
Theme: Adwaita
Icons: elementary Xfce dark

I tried your configuration and could not find any abnormal behavior

-gtk-icon-transform: scale(2.0);

Always makes it blurry here. I guess it's because the low-res image is simply enlarged

Now with Panel Fixed Size Changed to 36 (I need to hover over tasklist items to get them to change size):

Do they keep the size after hovering once? If yes, that would only be a minor "screen update" problem.


just as Reference: css reference for gtk3
- https://developer.gnome.org/gtk3/stable … rties.html
- Maybe this bug report is related https://bugzilla.xfce.org/show_bug.cgi?id=14985
I think if you could set a bigger height for the tasklist buttons, the icons will automatically increatse their size as well.

Last edited by DarkTrick (2019-09-06 07:01:35)

Offline

#13 2019-09-06 18:45:12

salome
Member
Registered: 2019-09-03
Posts: 4

Re: I need help : tasklist and starter menu icons dimensions

ToZ wrote:

Okay. Here is what I see:

Theme = Adwaita
Icons = Adwaita
Blank gtk.css
Panel Row size = 42
Panel Fixed Icon Size = 16
https://imgur.com/DT611BF.png

Now with Panel Fixed Size Changed to 36 (I need to hover over tasklist items to get them to change size):
https://imgur.com/OfoKihc.png
..however, all of the other panel icons are now large.

These I can selectively shrink with the something like the following in gtk.css:

#applicationmenu-button image { -gtk-icon-transform: scale(0.5); }
#launcher-arrow image { -gtk-icon-transform: scale(0.5); }
#pulseaudio-button image { -gtk-icon-transform: scale(0.5); }
#xfce4-notification-plugin image { -gtk-icon-transform: scale(0.5); }
#xfce4-power-manager-plugin image { -gtk-icon-transform: scale(0.5); }
#xfce-panel-button image { -gtk-icon-transform: scale(0.5); }

https://imgur.com/iyWkx4g.png

But I can't do the opposite, which is make all the icons small and then just increase the size of the tasklist buttons without making them blurry (Panel fixed icon size = 16 and the following in gtk.css):

.tasklist image { margin:0; padding: 0; -gtk-icon-transform: scale(2.0); }

https://imgur.com/1XnPtA5.png

Nothing happens with your configuration, for me, at every panel height)

Also I found another bug with some icons an multiple application's windows

With some apps, the icon are not at the same size when the panel is too much big (panel height: 42 in this case):

https://i.postimg.cc/sfwhXFQs/Istantane … -35-38.png

Also, no action icons when you right-click on a single windows in the tasklist:

https://i.postimg.cc/4xJ4hyr0/aaa.png

In my opinion, the panel and the tasklist are quite buggy and need some extra work

Last edited by salome (2019-09-06 18:46:07)

Offline

#14 2019-09-06 19:51:46

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,032

Re: I need help : tasklist and starter menu icons dimensions

Are you also adjusting the Fixed Icon Setting and Setting in Panel Preferences?

Which distro are you using? I'll fire it up and have a closer look.

Offline

#15 2019-09-06 19:54:47

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,032

Re: I need help : tasklist and starter menu icons dimensions

salome wrote:

Also, no action icons when you right-click on a single windows in the tasklist:

https://i.postimg.cc/4xJ4hyr0/aaa.png

Those are being removed. See https://git.xfce.org/xfce/xfwm4/commit/ … 6692f51218

Offline

#16 2019-10-03 19:27:06

apurkrt
Member
From: Czechia, Europe
Registered: 2014-08-31
Posts: 38

Re: I need help : tasklist and starter menu icons dimensions

Hello, found this thread - I would like to achieve the same - increase the size of icons of the task list. Tried to increase the "panel fixed icon size" together with panel size, it has no effect (I tried to hover the tasklist buttons).

PS: Btw the "Window buttons" should be imo renamed to "task list" for easier reference and searching...

Offline

#17 2019-10-04 00:54:09

DarkTrick
Member
Registered: 2019-02-16
Posts: 19

Re: I need help : tasklist and starter menu icons dimensions

Now we're 3 (?)
Maybe you could file a bug for that at https://bugzilla.xfce.org/

Offline

#18 2019-10-04 06:50:00

apurkrt
Member
From: Czechia, Europe
Registered: 2014-08-31
Posts: 38

Re: I need help : tasklist and starter menu icons dimensions

Offline

#19 2019-10-04 09:47:14

apurkrt
Member
From: Czechia, Europe
Registered: 2014-08-31
Posts: 38

Re: I need help : tasklist and starter menu icons dimensions

I found how to have big icons: you have to

1) disable Window Buttons/Properties/Show button labels
and 2) have "Panel Preferences/Appearance/Icons/Adjust size automatically" off
and 3) have "Panel Preferences/Appearance/Fixed icon size" at least 32

Then there are 32 pixel icons instead of 16 pixel ones (they are somewhat misplaced on the buttons though, evidently not a well tested part of the code).

I would like to have big icons with labels, and possibly scalable icons, which needs changes to the source...

Offline

#20 2019-11-14 02:16:22

bberg
Member
Registered: 2014-06-13
Posts: 2

Re: I need help : tasklist and starter menu icons dimensions

ToZ wrote:

I'm noticing this weird bug that I have to hover over the tasklist items to get them to resize properly after making that adjustment.

As for me, the "fixed icon size" option didn't work when hovering the tasklist icons - but it did after closing the preferences window. Yay!

My goal is to have the same icon size (big) for [applications menu] and [window buttons].
And same icon size (small) for everything else [status notifier] [power manager] [pulseaudio].
Please check screenshot.

Almost there. The only problem is the padding around the small icons. And the big icons are blurry.

Using Greybird, Papirus icons, Xubuntu 19.10, Xfce 4.14 with window scaling 2x and Fonts custom DPI 100 on a 13" monitor.

https://i.imgur.com/fGBiPGj.png
https://imgur.com/a/UCk5fBI

Last edited by bberg (2019-11-14 02:18:00)

Offline

#21 2019-11-14 12:04:04

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,032

Re: I need help : tasklist and starter menu icons dimensions

@bberg, hello and welcome.

I'm having some trouble identifying the issues in the image that you posted. The only icon that should be blurry, should be the applicationsmenu icon since you have scaled it over 1.0. That will blur any icon. Instead of scaling it, try setting all margins and paddings to 0. You can also send margins into the negatives to "borrow" space from the parent.

As for the smaller icons, can you clarify what is wrong, or what you are trying to accomplish with the padding? They look good to me.

Offline

#22 2019-11-14 17:21:45

bberg
Member
Registered: 2014-06-13
Posts: 2

Re: I need help : tasklist and starter menu icons dimensions

Hi, ToZ. Thanks for the reply.

I've tracked the svg files for the icons and dropped them over the screenshot. We can see how the original screenshot (to the left) looks blurred compared to my montage (to the right).

I've tried not scaling the applicationsmenu icon and using margin/padding but they don't seem to affect the icon size, just the spacing around it.

As for the small icons, it's the spacing around them that I wanted to modify. Please check edited screenshot. Btw, I did not edit the small icons themselves. They look crisp already. I just moved them closer together.

Sorry for the huge image:

https://i.imgur.com/yRWYGlM.png
https://imgur.com/a/PtXkahf

Offline

#23 2019-11-14 18:59:14

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,032

Re: I need help : tasklist and starter menu icons dimensions

Is it possible that the fuzziness is a result of the 2x window scaling? I don't have a hi-dpi device to test. If you set it back to 1x, does the fuzziness disappear?

Offline

Board footer

Powered by FluxBB