[Bug 1379960] Re: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime)
This bug was fixed in the package nux - 4.0.7+15.10.20150802-0ubuntu1 --- nux (4.0.7+15.10.20150802-0ubuntu1) wily; urgency=medium [ CI Train Bot ] * New rebuild forced. [ Simon Arlott ] * fix the size of timeout values on 64-bit platforms (thanks Simon Arlott) (LP: #1379960) [ Stephen M. Webb ] * fixed a FTBFS when using GCC-5 -- CI Train Bot ci-train-...@canonical.com Sun, 02 Aug 2015 14:35:23 + ** Changed in: nux (Ubuntu) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379960 Title: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime) To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1379960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1379960] Re: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime)
** Also affects: nux/trusty Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379960 Title: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime) To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1379960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1379960] Re: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime)
** Changed in: nux Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379960 Title: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime) To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1379960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1379960] Re: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime)
** Changed in: nux/trusty Status: New = Triaged ** Changed in: nux/trusty Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379960 Title: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime) To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1379960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1379960] Re: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime)
** Changed in: nux Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379960 Title: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime) To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1379960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1379960] Re: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime)
** Changed in: compiz Status: New = Invalid ** Changed in: unity Status: New = Invalid ** Changed in: nux Status: Confirmed = In Progress ** Changed in: nux (Ubuntu) Status: Confirmed = In Progress ** Changed in: nux Importance: Undecided = Medium ** Changed in: nux Milestone: None = 4.0.7 ** Changed in: nux Assignee: (unassigned) = Simon Arlott (sa.me.uk) ** Changed in: nux (Ubuntu) Assignee: (unassigned) = Simon Arlott (sa.me.uk) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379960 Title: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime) To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1379960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1379960] Re: Menu interaction in fully maximised window causes the next click on the title bar to restore the window
This is a bug in libnux-4.0-0 on amd64, caused by the code in GraphicsDisplay::MousePress (NuxGraphics/GraphicsDisplayX11.cpp) which converts the unsigned long timestamp to a signed int: if ((double_click_counter_ == 1) ((int)current_time - (int)last_click_time_ double_click_time_delay)) The timestamp is in milliseconds, so it becomes negative after about 24.86 days. The comparison works ok until the final click on the title bar, when last_click_time_ is 0. Subtracting 0 from the negative current_time results in a value that is always less than double_click_time_delay. The unnecessary cast to int should be removed. Version: libnux-4.0-0 4.0.7+14.10.20141007-0ubuntu1 ** Also affects: nux Importance: Undecided Status: New ** Also affects: compiz Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379960 Title: Menu interaction in fully maximised window causes the next click on the title bar to restore the window To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1379960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1379960] Re: Menu interaction in fully maximised window causes the next click on the title bar to restore the window
The bug affects unity via compiz (which uses libnux). Version: compiz 1:0.9.12+14.10.20140918-0ubuntu1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379960 Title: Menu interaction in fully maximised window causes the next click on the title bar to restore the window To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1379960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1379960] Re: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime)
Simon: excellent work. I have a particular fondness for reading the write-ups on this time of bug. It reminds me a little of the infamous Doesn't print on Tuesdays (bug #248619). Once again, kudos to gradually narrowing down how to replicate it, then finding it and finally offering the patch. ** Changed in: nux Status: New = Confirmed ** Package changed: unity (Ubuntu) = nux (Ubuntu) ** Changed in: nux (Ubuntu) Status: New = Confirmed ** Changed in: nux (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379960 Title: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime) To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1379960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1379960] Re: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime)
** Summary changed: - Menu interaction in fully maximised window causes the next click on the title bar to restore the window + Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime) ** Patch added: Patch for nux-4.0.7+14.10.20141007 https://bugs.launchpad.net/nux/+bug/1379960/+attachment/4402675/+files/launchpad-bug-1379960.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379960 Title: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime) To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1379960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1379960] Re: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime)
The attachment Patch for nux-4.0.7+14.10.20141007 seems to be a patch. If it isn't, please remove the patch flag from the attachment, remove the patch tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379960 Title: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime) To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1379960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1379960] Re: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime)
** Branch linked: lp:~bregma/nux/lp-1379960 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379960 Title: Menu interaction in fully maximised window causes the next click on the title bar to restore the window (after 2^31ms of uptime) To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1379960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1379960] Re: Menu interaction in fully maximised window causes the next click on the title bar to restore the window
Even restarting Xorg doesn't fix this, only a reboot resolves it. com/canonical/unity/integrated-menus/double-click-wait is set to the default (0ms) If I set it to 300ms, then menu opening is delayed by 300ms but step 6 (The window restores to non-maximised size) occurs immediately upon clicking as soon as the button is pressed (even if it is not released). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379960 Title: Menu interaction in fully maximised window causes the next click on the title bar to restore the window To manage notifications about this bug go to: https://bugs.launchpad.net/unity/+bug/1379960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs