Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550452 - xfce-base/xfce4-panel-4.12 - icon-size of the application-menu does not scale to 24x24
Summary: xfce-base/xfce4-panel-4.12 - icon-size of the application-menu does not scale...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-26 10:41 UTC by Gerold Schellstede
Modified: 2015-07-09 08:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
xdpyinfo (xdpyinfo.txt,6.87 KB, text/plain)
2015-07-06 16:46 UTC, Gerold Schellstede
Details
Situation with Xfce 4.12 (Xfce_412.png,549.03 KB, image/png)
2015-07-08 12:43 UTC, Gerold Schellstede
Details
Situation with Xfce 4.10 (Xfce_410.png,80.81 KB, image/png)
2015-07-08 12:59 UTC, Gerold Schellstede
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerold Schellstede 2015-05-26 10:41:12 UTC
For me the Icons of Xfce's application menu are to small (16x16).

In Xfce 4.10 the problem was solvable. I used the xfce4-settings-editor and entered in the section "xsettings --> GTK --> IconsSizes" the value "panel-launcher-menu=24,24". The effect was that the application menu got 24x24 icons. 

After updating to Xfce 4.12 this value is still the same but not recognized anymore meaning that the icon size in the application-menu is now 16x16. 

I use the stable amd64-portage-tree. So my Xfce 4.10 version was the actual stable one. To update to Xfce 4.12 I unmasked (~amd64) the following packages which I use currently:

   =xfce-base/libxfce4ui-4.12.1-r1
   =xfce-base/garcon-0.5.0-r1
   =xfce-base/libxfce4util-4.12.1
   =xfce-base/xfconf-4.12.0
   =xfce-base/xfce4-panel-4.12.0
   =xfce-base/xfce4-appfinder-4.12.0-r1
   =xfce-base/xfce4-session-4.12.1
   =xfce-base/xfce4-settings-4.12.0
   =xfce-base/xfwm4-4.12.3
   =xfce-base/xfdesktop-4.12.2

Best regards 
Gerold Schellstede
Comment 1 Gerold Schellstede 2015-05-26 10:42:34 UTC
I forgot to say that I use the standard menu, not the Whisker menu.
Comment 2 Gerold Schellstede 2015-05-26 10:54:07 UTC
Pardon, the value working in 4.10 was "panel-applications-menu=24,24" and not "panel-launcher-menu=24,24". 

The value "panel-launcher-menu=24,24" was a suggestion by an ubuntu community-site. It works neither in 4.10 nor in 4.12
Comment 3 Denis Dupeyron (RETIRED) gentoo-dev 2015-05-26 23:40:54 UTC
Isn't that more of an upstream issue?
Comment 4 Gerold Schellstede 2015-05-27 08:16:42 UTC
What means upstream issue in this context? 

I think there are only two possibilities:

1) It is a serious bug
2) The command "panel-launcher-menu=24,24" changed to something else what is unknown and not documented. This comes down to nearly the same problem as 1)
Comment 5 Gerold Schellstede 2015-05-27 08:17:14 UTC
What means upstream issue in this context? 

I think there are only two possibilities:

1) It is a serious bug
2) The command "panel-applications-menu=24,24" changed to something else what is unknown and not documented. This comes down to nearly the same problem as 1)
Comment 7 Gerold Schellstede 2015-07-06 10:37:06 UTC
The bug becomes more and more worse because Xfce 4.12 is now stable. Is there any way to overcome this really annoying problem?

Best regards 
Gerold Schellstede
Comment 8 Jason Zaman gentoo-dev 2015-07-06 14:37:01 UTC
What resolution screen do you have? and the physical size too. Can you attach the output of the `xdpyinfo' command? Is it just the icons that are too small or are the fonts too small also?
Comment 9 Gerold Schellstede 2015-07-06 16:46:28 UTC
Created attachment 406260 [details]
xdpyinfo

Tanks for the reply. 
The native resolution of my Monitor is 1920x1200 and I use this resolution also for xfce. 

And yes, only the icon-size is wrong the font-size is ok. 

Thereby it is not relevant if one sets the icon-size globally in "/etc/xdg/.../xstettings.xml" oder locally in the xsettings-editor. 

At xfce-bugzilla (https://bugzilla.xfce.org/show_bug.cgi?id=11757) another user made a patch and putted the old xfce-4.10-application-menu into xfce-4.12 (it is part of the xfce4-panel package). But only applying the patch led to an emerge-error at my system. I think because one needs the source files of the 4.10 version too.
Comment 10 Jason Zaman gentoo-dev 2015-07-08 09:57:19 UTC
(In reply to Gerold Schellstede from comment #9)
> Created attachment 406260 [details]
> xdpyinfo
> 
> Tanks for the reply. 
> The native resolution of my Monitor is 1920x1200 and I use this resolution
> also for xfce. 
> 
> And yes, only the icon-size is wrong the font-size is ok. 

So I have a similar resolution and size to your screen. Just to clarify that I understand correctly, My top panel (right click->panel prefs->display->row size) is 30pixels and the icons in the panel fill it. Then if I click Applications, the icons in the menu are a bit smaller than the panel icons. Changing row size does not affect the applications menu unfortunately. And you want the menu icons to be bigger? Is this correct? If this is incorrect can you attach a screenshot of the panel and applications menu (Set the greybird theme first, see below).


> Thereby it is not relevant if one sets the icon-size globally in
> "/etc/xdg/.../xstettings.xml" oder locally in the xsettings-editor. 
> 
> At xfce-bugzilla (https://bugzilla.xfce.org/show_bug.cgi?id=11757) another
> user made a patch and putted the old xfce-4.10-application-menu into
> xfce-4.12 (it is part of the xfce4-panel package). But only applying the
> patch led to an emerge-error at my system. I think because one needs the
> source files of the 4.10 version too.

I saw that in the upstream report and it doesnt sound like it will work. Ripping out part of the program without the rest matching sounds like it will only cause problems. That said, I was looking through the diffs in the git repo and comparing 4.10 and 4.12. 4.12 uses GTK3 now whereas 4.10 used GTK2.

(In reply to Gerold Schellstede from comment #0)
> For me the Icons of Xfce's application menu are to small (16x16).
> 
> In Xfce 4.10 the problem was solvable. I used the xfce4-settings-editor and
> entered in the section "xsettings --> GTK --> IconsSizes" the value
> "panel-launcher-menu=24,24". The effect was that the application menu got
> 24x24 icons.

I suspect "GTK" might mean gtk2 not 3. Theming changed a lot between gtk2/3 (gtk3 is CSS) so I suspect the IconSizes thing will have changed to something else. What theme are you using? Can you test out using x11-themes/greybird since it works well for both gtk2 and gtk3 and then we'll be on the same page.
Comment 11 Gerold Schellstede 2015-07-08 12:43:16 UTC
Created attachment 406356 [details]
Situation with Xfce 4.12
Comment 12 Gerold Schellstede 2015-07-08 12:59:50 UTC
Created attachment 406362 [details]
Situation with Xfce 4.10

Thank for your answer. You solved my problem.

Before your last post, the problem looked like shown by my two pictures (One with Xfce 4.12 and one with Xfce 4.10). 

The solution came along with your suggestion to test everything with greybird. I did not have greybird installed previously so my first step after your post was to install it. 

Then I restarted X and surprisingly now everything works like it should. Thereby it is worth to notice that I do not changed the theme I use (Clearlooks with Metabox) to greybird not even for testing.

Obviously some parts of the packages pulled in by the installation of greybird are needed for all themes to scale the icons properly. 

The packages pulled in by the emerge of greybird were:
x11-themes/murrine-themes-0.98.0
x11-themes/gtk-engines-murrine-0.98.2-r1
x11-themes/greybird-1.5.3

I would suggest to mark the needed packages as an emerge-dependency for Xfce4-panel 4.12 to solve the problem.

Many thanks!!!
Gerold
Comment 13 Jason Zaman gentoo-dev 2015-07-08 13:41:41 UTC
(In reply to Gerold Schellstede from comment #12)
> Thank for your answer. You solved my problem.
Great that its fixed.

> Then I restarted X and surprisingly now everything works like it should.
> Thereby it is worth to notice that I do not changed the theme I use
> (Clearlooks with Metabox) to greybird not even for testing.

What theme were you using before? and which themes and engines did you have installed?
What is the output of "qlist -CIv x11-themes/"

> Obviously some parts of the packages pulled in by the installation of
> greybird are needed for all themes to scale the icons properly. 
> 
> The packages pulled in by the emerge of greybird were:
> x11-themes/murrine-themes-0.98.0
> x11-themes/gtk-engines-murrine-0.98.2-r1
> x11-themes/greybird-1.5.3
> 
> I would suggest to mark the needed packages as an emerge-dependency for
> Xfce4-panel 4.12 to solve the problem.

So it worked just by having those packages installed even with the selected theme as your old one? you did not have to have greybird selected? Can you un-merge them one-by-one and see which package it is that breaks it. The dependency is probably missing from the theme that you had installed before not from xfce4-panel itself. Once we narrow down which you had installed before and which is the important one, I'll add to the right place.
Comment 14 Gerold Schellstede 2015-07-08 15:11:07 UTC
> What theme were you using before? and which themes and engines did you have
> installed?
> What is the output of "qlist -CIv x11-themes/"
I used Clearlooks + Metabox before and after. I never selected greybird. But the problem was not related to Clearlooks + Metabox only. Other themes like adawita or something else I tested showed the same problem.

qlist -CIv x11-themes -->
x11-themes/adwaita-icon-theme-3.14.1-r1
x11-themes/clearlooks-phenix-3.0.15
x11-themes/gnome-icon-theme-3.12.0
x11-themes/gnome-icon-theme-symbolic-3.12.0
x11-themes/greybird-1.5.3
x11-themes/gtk-engines-2.20.2-r1
x11-themes/gtk-engines-murrine-0.98.2-r1
x11-themes/gtk-engines-xfce-3.2.0-r200
x11-themes/gtk-engines-xfce-3.2.0-r300
x11-themes/hicolor-icon-theme-0.15
x11-themes/murrine-themes-0.98.0
x11-themes/slim-themes-1.2.3a-r6
x11-themes/xfwm4-themes-4.10.0

> So it worked just by having those packages installed even with the selected
> theme as your old one? you did not have to have greybird selected? Can you
> un-merge them one-by-one and see which package it is that breaks it. The
> dependency is probably missing from the theme that you had installed before
> not from xfce4-panel itself. Once we narrow down which you had installed
> before and which is the important one, I'll add to the right place.

That is true, I never selected greybird. Before the installation it worked with non of the themes. After the installation all themes work (I checked it with more then 10 themes)

I cannot say which package of the 3 ones mentioned above did the trick, because if I uninstall all of them it still works. 

I think there is a link or setting one of the three greybird packages make which is necessary for the other theme to apply the Icon-Size setting set in xsetnnings.xml. 

Probably only a few people recognize the problem, because greybird is installed on most machines.
Comment 15 Jason Zaman gentoo-dev 2015-07-08 15:47:08 UTC
i(In reply to Gerold Schellstede from comment #14)
> > What theme were you using before? and which themes and engines did you have
> > installed?
> > What is the output of "qlist -CIv x11-themes/"
> I used Clearlooks + Metabox before and after. I never selected greybird. But
> the problem was not related to Clearlooks + Metabox only. Other themes like
> adawita or something else I tested showed the same problem.
> 
> qlist -CIv x11-themes -->
> x11-themes/adwaita-icon-theme-3.14.1-r1
> x11-themes/clearlooks-phenix-3.0.15
> x11-themes/gnome-icon-theme-3.12.0
> x11-themes/gnome-icon-theme-symbolic-3.12.0
> x11-themes/greybird-1.5.3
> x11-themes/gtk-engines-2.20.2-r1
> x11-themes/gtk-engines-murrine-0.98.2-r1
> x11-themes/gtk-engines-xfce-3.2.0-r200
> x11-themes/gtk-engines-xfce-3.2.0-r300
> x11-themes/hicolor-icon-theme-0.15
> x11-themes/murrine-themes-0.98.0
> x11-themes/slim-themes-1.2.3a-r6
> x11-themes/xfwm4-themes-4.10.0

All of these apart from the new ones and x11-themes/gtk-engines-xfce-3.2.0-r300 are for gtk2 I think. Can you remove them and remove the SLOT=3 version of gtk-engines-xfce (the -r300 one). gtk-engines-xfce:3 is needed to make the stock xfce themes work with GTK3 (slot=0 is for gtk2)

can you run equery d x11-themes/gtk-engines-xfce and see what is pulling it in? and then remove it (forcibly if required) and see if your themes break. xfce-meta has a dep on slot 0 but not slot 3, I'll add it if you confirm that is causing the breakage.
Comment 16 Gerold Schellstede 2015-07-09 08:44:47 UTC
equery says

xfce-base/xfce4-meta

I tried what you suggested, but the bug is gone. I cannot recover it. 

Again, thanks a lot.
Comment 17 Jason Zaman gentoo-dev 2015-07-09 08:49:24 UTC
Well, as long as your problem is fixed now then :)