Bug 198259
| Summary: | The scim systray icon in gnome-panel does not become transparent. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Satoru SATOH <ssato> | ||||||
| Component: | scim | Assignee: | Jens Petersen <petersen> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | rawhide | CC: | aalam, eng-i18n-bugs | ||||||
| Target Milestone: | --- | Keywords: | Desktop, MoveUpstream, Patch, Reopened | ||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 1.4.4-32.fc6 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2006-10-02 16:21:08 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 150223, 167798 | ||||||||
| Attachments: |
|
||||||||
|
Description
Satoru SATOH
2006-07-10 17:49:08 UTC
Created attachment 132188 [details]
The patch to make scim systray icon transparent
FYI. My patch looks submitted into upstream cvs. [ 1520119 ] The scim systray icon in gnome-panel does not become transp.... https://sourceforge.net/tracker/?func=detail&atid=650539&aid=1520119&group_id=108454 Thanks for the report and patch. Perhaps I'm missing something but after applying the patch, the scim systray icon is still not transparent for me. I checked that your code should definitely be in 1.4.4-24. You think one of scim_panel_gtk-*.patch affects this? I'm not sure about that but the recent changes in scim_panel_gtk.cpp causing this. 1.4.4-23 + my patch just works fine. > ... the recent changes in scim_panel_gtk.cpp causing this.
It's my feeling. I did not check it.
BTW, if scim-systray needs both normal menu and context menu, the code in
NetworkManager/gnome/applet/ should be helpful, I guess.
Tagoh commented that it is probably due to changing the base systray widget from the Gtk Button to an EventBox in scim_panel_gtk-icon-size-fixes.patch. (That patch hasn't been submitted upstream yet btw.) (Does the NetworkManager applet do the menus in a better way?) *** Bug 202741 has been marked as a duplicate of this bug. *** Created attachment 134811 [details]
status_icon.patch
For reference here is a rough patch that implements the tray icon using
GtkStatusIcon. It seems to work well except the menu activation
is only for click not release.
For now I will revert the tray icon to a GtkButton so that transparency works. This has the unfortunately side effect that the icon has to be much smaller unfortunately since the button restricts the available child size considerably and the default gnome panel size is pretty small. Fix should be in scim-1.4.4-32.fc6. I confirmed it works as a workaround, so will close this. But I don't think EventBox is the cause of this issue. Both gpm (gnome-power-manager) and nm (NetworkManager) look using gtk_event_* but work fine. I'll look I am tempted re-revert to the EventBox, since I feel the size problem is more serious than the transparency issue. I think the difference may be since g-p-m and NM are gnome-panel applets whereas the scim icon sits in the notification tray. I reduced the icon size of the systray button to 12 now scim-1.4.4.fc6. |