-
Notifications
You must be signed in to change notification settings - Fork 106
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
right click and property dialog #14
Comments
I'm not sure how pixel saver can cause that. Would you have a screenshot or something ? |
That is super weird. I honestly have no idea what can be the source of the problem, pixel saver doesn't even play with the cursor (well, not directly or intentionally anyway). |
I think this issue might be related to this one, as Pixel Saver and Maximus Two share some code. Unfortunately, it seems like they don't managed to fix it either. |
The crosshair looks exactly like the one xprop would use when asking the user to select a window. So the bug may probably hide somewhere near the invocations of xprop or xwminfo. |
Ha yes, pixel saver is using xprop. Could you put some log around the xprop call to see what is going on when you repro ? |
I wasn't able to find any log about xprop specificaly, but I got this in my logs (using journalctl -f): When I right-click, then click on properties :
When I click on nautilus with the crosshair for the property dialog to appear :
I don't know how to get more accurate logs. |
Well the one at line 69 is due to nonsensical code of mine. Problem is, have I have no idea what I intended to write at the time. Javascript is such a wonderful piece of shit. This code shouldn't have compiled on any sane plateform. |
Ok I have a repro. I still have no idea what is going on, but I guess this is progress. |
I did a little testing and I found that Crazygolem on this issue report was right. The problem comes from this command line in decoration.js (l. 52) :
It appears that act['x-window'] is undefined for the nautilus "properties" window's actor. And therefore, the executed command becomes :
When I execute this command in a terminal, I get the exact same behavior as when I repro the issue, with xwininfo asking me to select the window about which I would like information by clicking the mouse in that window. So, when xwininfo doesn't have a proper id parameter, it just ask the user to select the window with this crosshair cursor.
So, as a workaround, I just changed (l. 51):
to
which did the trick for now. Of course, I got this in my logs :
But it doesn't seems to be problematic (the properties dialog can't be maximized anyway). |
Hi!
Using latest version with Gnome 3.14 when i right click something like a folder in Nautilus or to get the menu in Firefox to display the source code i always get a cross to replace my cursor, then i have to right click again to get the property dialog or the source code. Also the window that opens sometimes doesn't display nice.
Tell me how can i give you a log to work on this issue.
The text was updated successfully, but these errors were encountered: