Hi, I’m using insync ver. 1.2.3 in ubuntu 14.04 with two monitors, gnome flashback with compiz as window manager, I have my gnome panel with indicators on the right monitor, my main monitor is the left one.
When I click on the “Open app window” menu it appears on the top left corner of my left monitor without window borders (it’s a wiindow or a border-less notification like?), the old notifications (file updates and so on) appear on the top right corner of the monitor where the mouse cursor is. I’ve tryed to disable the “place windows” CompizConfig plugin without success.
Regards
I can confirm the same issue. Running 15.04 with two monitors. When I click the app link, the border-less window appears on the wrong monitor. I’m not sure if this is expected behavior, but it doesn’t seem right.
Hello all,
Please try this build: http://s.insynchq.com/test_builds/insync_1.2.4.35094-trusty_amd64.deb. Thanks.
Now instead of being on my right monitor left justified, it is on my left monitor left justified. Am I to assume it should be displaying below the indicator?
Hi Stephen,
Please run the following steps to help diagnose the issue. You need to have Insync installed.
- Go to https://gist.github.com/luipugs/1784334e63df649ccc55
- Save the contents to a file, for example
/tmp/tray_icon_test.py
. - Run
/usr/lib/insync/py /tmp/tray_icon_test.py
. - This will create a tray icon with the Insync logo. Click on it and choose “Show coordinates”.
- Send the output on the terminal.
Thanks.
cursor PySide.QtCore.QPoint(1196, 29)
tray icon PySide.QtCore.QRect(0, 0, 0, 0)
screen PySide.QtCore.QRect(0, 0, 1600, 1200)
available PySide.QtCore.QRect(65, 24, 1535, 1176)
Thanks for the info. Please try this build: http://s.insynchq.com/test_builds/insync_1.2.4.35095-trusty_amd64.deb
Hi,
now the app window is below the notification icon, but there is a ~20 pixel gap between the window and the gnome panel.
cursor PySide.QtCore.QPoint(878, 34)
tray icon PySide.QtCore.QRect(0, 0, 0, 0)
screen PySide.QtCore.QRect(0, 0, 1366, 768)
available PySide.QtCore.QRect(0, 0, 1366, 768)
Thanks & regards.
This seemed to solve this issue for Unity.
Opening on left desktop.
Opening on right desktop.
The only other persistent issue I have is sometimes the app window won’t close when you click away from the menu. I either have to click the “open app window” link again and then click away (which doesn’t always work) or choose an element from the menu and then click away. This isn’t consistent. Probably outside the scope of the original post. If you aren’t aware of this issue I can log it in a separate post.
Thanks for your help in solving this issue. Hopefully you can solve the issue Hector is having as well.
Stephen, I think you don’t technically have to choose an item then click away, it should work if you just click inside the app window. But in any case it is a bit annoying.
Hector’s issue is a bit harder to resolve. From the output both of you sent there’s an error when getting the geometry of the tray icon. It should be (x, y, width, height) but (0, 0, 0, 0) is returned instead. So I used the cursor’s position but it doesn’t align to the system tray.