! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Square appears on top-left corner on screen when using composite and java-app...
Status:
RESOLVED: FIXED

Comments

Description trash4inbox 2014-06-26 14:36:10 CEST
Created attachment 5534 
Shows a square appears on the top-left corner of the screen

Found in versions Xfwm 4.10.* 4.11.* 

A square appears on the top-left corner of the screen, when composite is ON and java-app with tray icon. There's a screenshot attached that shows the problem.
Comment 1 Olivier Fourdan editbugs 2014-06-29 10:09:02 CEST
Looks like the (default, empty) icon of your app, hardly a major issue as stated in the severity of the bug.
Comment 2 trash4inbox 2014-06-30 10:48:42 CEST
The BUG is known.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667682
Comment 3 trash4inbox 2014-07-21 11:43:19 CEST
Simple example:

<code>

import java.awt.Image;
import java.awt.SystemTray;
import java.awt.Toolkit;
import java.awt.TrayIcon;

public class IconTest {

	public static void main(String args[]) {
		TrayIcon trayIcon = null;
		if (SystemTray.isSupported()) {
			SystemTray tray = SystemTray.getSystemTray();
			Image image = Toolkit.getDefaultToolkit().getImage(
					"/usr/share/pixmaps/sun-java.png"
			);
			trayIcon = new TrayIcon(image);
			try {
				tray.add(trayIcon);
			} catch (Exception e) {
				System.err.println(e);
			}
		}
	}
}

</code>

and in terminal:

javac IconTest.java
java IconTest
Comment 4 Olivier Fourdan editbugs 2014-07-21 17:44:15 CEST
(In reply to trash4inbox from comment #3)
> Simple example

That's the icon in the systray, not the window icon, the window manager does not manage this.
Comment 5 trash4inbox 2014-07-21 17:48:30 CEST
May be. But without composite isn't the square on the top-left corner of the screen and isn't the square within another window manager (compiz).
Comment 6 philou 2014-10-28 16:35:07 CET
Hi, I have the same artifact on top left corner with SelekTOR java application.
Here is a Screenshot: http://i.imgur.com/HRp66Yy.png

$ lsb_release --all
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.10
Release:	14.10
Codename:	utopic

$ dpkg -l | grep '^ii' | awk '{print $2 "\t" $3}' | grep "xfce"
libxfce4ui-1-0	4.11.1-2ubuntu1
libxfce4ui-2-0	4.11.1-2ubuntu1
libxfce4ui-common	4.11.1-2ubuntu1
libxfce4ui-utils	4.11.1-2ubuntu1
libxfce4util-bin	4.10.1-2
libxfce4util-common	4.10.1-2
libxfce4util6	4.10.1-2
libxfcegui4-4	4.10.0-2
xfce4-appfinder	4.11.0-1
xfce4-artwork	0.1.1a~git+20110420-1
xfce4-cpugraph-plugin	1.0.5-1
xfce4-dict	0.7.0-1
xfce4-dockbarx-plugin	0.3.1-0~webupd8~utopic0
xfce4-indicator-plugin	2.3.2-0ubuntu2
xfce4-mailwatch-plugin	1.2.0-2
xfce4-netload-plugin	1.2.0-1
xfce4-notes	1.7.7-3ubuntu2
xfce4-notes-plugin	1.7.7-3ubuntu2
xfce4-notifyd	0.2.4-3
xfce4-panel	4.11.1-0ubuntu2
xfce4-places-plugin	1.6.0-1ubuntu1
xfce4-power-manager	1.4.1+git-0~1642~ubuntu14.10.1
xfce4-power-manager-data	1.4.1+git-0~1642~ubuntu14.10.1
xfce4-power-manager-plugins	1.4.1+git-0~1642~ubuntu14.10.1
xfce4-quicklauncher-plugin	1.9.4-10ubuntu1
xfce4-screenshooter	1.8.1-5
xfce4-sensors-plugin	1.2.5-2
xfce4-session	4.11.0-1ubuntu1
xfce4-settings	4.11.3+git-0~1882~ubuntu14.10.1
xfce4-systemload-plugin	1:1.1.1-2ubuntu1
xfce4-taskmanager	1.0.1-1
xfce4-terminal	0.6.3-1ubuntu1
xfce4-verve-plugin	1.0.0-2ubuntu1
xfce4-volumed	0.2.0-0ubuntu1
xfce4-weather-plugin	0.8.3-2
xfce4-whiskermenu-plugin	1.4.0-1ubuntu1
xfce4-windowck-plugin	0.3.0-0~eugenesan~trusty4
xfce4-xkb-plugin	1:0.7.0-0ubuntu2


It was also reported here: http://forum.xfce.org/viewtopic.php?id=7907
Comment 7 Olivier Fourdan editbugs 2014-12-28 23:00:14 CET
Should be fixed with commit 15f717e
Comment 8 trash4inbox 2015-03-22 20:06:47 CET
Great! Thank you very much! Super!

Bug #10978

Reported by:
trash4inbox
Reported on: 2014-06-26
Last modified on: 2015-03-22

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
4.10.1

Attachments

Additional information