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

[gtk3] Tray icon #1110

Open
ivoshm opened this issue Jan 19, 2018 · 11 comments
Open

[gtk3] Tray icon #1110

ivoshm opened this issue Jan 19, 2018 · 11 comments

Comments

@ivoshm
Copy link

ivoshm commented Jan 19, 2018

Only aesthetic glitch, see zoomed picture:
guake_tray

Manjaro Linux XFCE
package from Arch Linux guake-3.0.2+6+ge9df754-1

@gsemet
Copy link
Member

gsemet commented Jan 19, 2018

thanks for this review.

@Ozzyboshi
Copy link
Contributor

Ozzyboshi commented Jan 19, 2018

I'd like to have a new icon for guake3 to avoid confusion with older guake, I usually load them both

@gsemet gsemet modified the milestones: 3.0.2, 3.0.3 Jan 19, 2018
@aichingm
Copy link
Collaborator

aichingm commented Jan 25, 2018

Doesn't happen on archlinux with Kde and current HEAD

@gsemet gsemet modified the milestones: 3.0.4, 3.0.5 Jan 26, 2018
@gsemet
Copy link
Member

gsemet commented Feb 15, 2018

is it still reproduced now we use the svg file?

@ivoshm
Copy link
Author

ivoshm commented Feb 19, 2018

Tested on 3.0.4-2 (Arch repo) and problem continue ...
... even if I removed guake-tray.png in /usr/lib/python3.6/site-packages/guake/data/pixmaps

EDIT: Problem disappeared if I set "show frame" in XFCE panel settings / SysTray - but I think it's correlated with icon size and zooming (if smaller than +/- 20 px is OK, bigger is with bug).

@shirishag75
Copy link

at the end the issue was found in GtkStatusIcon as that has been deprecated. See mate-desktop/mate-panel#666 (comment) . Somebody has issued a PR and there probably need to be some fixing up at Guake's end as well.

@muktupavels
Copy link

  1. Install named icon with different sizes and use gtk_status_icon_set_from_icon_name
  2. Or connect to size-changed signal and give status icon pixbuf at needed size:
    https://developer.gnome.org/gtk3/stable/GtkStatusIcon.html#GtkStatusIcon-size-changed

svg loaded with gtk_status_icon_set_from_file is not scaled up either if size is smaller then needed.

@ghost
Copy link

ghost commented Dec 15, 2018

I get the same strange icon (see image below, centre) that others report. I am on Mint 19.0 x64 Cinnamon with Guake 3.0.5 (which is the version of Guake in my repositories).

image

EDIT: same problem in Mint 19.1 beta Cinnamon. (Actually in Mint 19.1 the icon exhibits a further strangeness, in that it gets squashed into the top half of the space it should be occupying. But that may be a Mint bug.)

@muktupavels
Copy link

@CottonEaster It is combination of bug in GTK and Guake providing only small icon. GTK bug is fixed, but there has not been new release with fix yet.

@ghost
Copy link

ghost commented Dec 15, 2018

Thank you for the information though. I remain unsure about some things:

but there has not been new release with fix yet.
No new release of GTK, you mean? Also, if the answer is 'yes', then doesn't Guake itself need fixing, as you suggest?

@muktupavels
Copy link

My fix was merged in gtk:

So now we need to wait until there will be new release. On IRC I read that they are planing / hope to make new release before Christmas. Then there will be some time until new release is uploaded to distributions. Distro maintainers can choose to apply patch without waiting for new release.

With GTK fix icon still will be small, but it will look correct. Guake should be fixed, because I would expect that all tray icons are same size - so small icon is bug.

@gsemet gsemet modified the milestones: Backlog, -- NEXT VERSION -- Apr 4, 2019
@gsemet gsemet modified the milestones: 3.6.0, -- NEXT VERSION -- Apr 26, 2019
@gsemet gsemet modified the milestones: 3.6.3, -- NEXT VERSION -- May 13, 2019
@ivoshm ivoshm mentioned this issue Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants