{"id":105203,"date":"2021-05-11T07:00:00","date_gmt":"2021-05-11T14:00:00","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/oldnewthing\/?p=105203"},"modified":"2021-05-11T06:47:59","modified_gmt":"2021-05-11T13:47:59","slug":"20210511-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20210511-00\/?p=105203\/","title":{"rendered":"Why does the mouse cursor jump a few pixels if you right-click on the Start button?"},"content":{"rendered":"<p>Some time ago, I noted that <a href=\"https:\/\/devblogs.microsoft.com\/oldnewthing\/20150225-00\/?p=44593\"> mouse cursor jumps a few pixels if you click on the very bottom row of pixels on the taskbar<\/a>. I noted that this is done to make it possible to click on the very bottom row of pixels, even though they are technically a border, in order to operate on the button immediately above them. Otherwise, the button-down code sees that the mouse is outside the button and cancels the button operation (click or drag).<\/p>\n<p>If you right-click on the Start button, the mouse cursor jumps a few pixels up and to the right. Is this done to solve the same problem?<\/p>\n<p>No, the problem doesn&#8217;t apply here because the right mouse button does not have the same cancellation behavior as the left mouse button. There&#8217;s a different reason for moving the mouse cursor.<\/p>\n<p>The mouse cursor moves up and to the right so that it is positioned over the last menu item. That way, you can right-click followed by left-click to activate the bottom menu item.<\/p>\n<p>This means that the bottom item on the Start button&#8217;s context menu has a special status: It&#8217;s the one you can activate quickly by performing a right-click left-click.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To give you a head start.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[26],"class_list":["post-105203","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-other"],"acf":[],"blog_post_summary":"<p>To give you a head start.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/105203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=105203"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/105203\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=105203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=105203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=105203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}