MantisBT - NetSurf
View Issue Details
0002170NetSurfRISC OS-specificpublic2014-07-13 09:442016-02-16 14:03
ReporterSprow 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.1 
Target VersionFixed in Version3.4 
Fixed in CI build #
Reported in CI build #
URL of problem page
Summary0002170: When hovered over a link closing the window leaves the wrong mouse pointer shape
DescriptionHovered over a link you get ptr_point as expected, but if Netsurf's window is then closed using a keyboard shortcut (Ctrl-F2) the mouse pointer shape remains that shape. It should change back to ptr_default.
Steps To ReproduceHover over a link, close the window using the keyboard.
Additional InformationFixed in or just before CI #3362. I resubmitted the patch because the line numbers had changed slightly.
TagsNo tags attached.
Attached Filespatch window.patch (332) 2015-08-13 09:34
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=312&type=bug

Notes
(0000901)
Sprow   
2015-08-13 09:39   
Having dug into this a bit more, it seems that the Wimp doesn't send a Pointer Leaving Window reason code when the window has been deleted underneath the pointer, so ro_gui_window_track_end() never gets called when the browser is closed with Ctrl-F2.

Patch manually calls the gui_window_set_pointer() function.
(0001227)
Vincent Sanders   
2016-02-16 14:03   
Confirmed fixed in 3.4 release

Issue History
2014-07-13 09:44SprowNew Issue
2014-07-13 23:02Vincent SandersAssigned To => Steve Fryatt
2014-07-13 23:02Vincent SandersStatusnew => acknowledged
2015-08-13 09:34SprowFile Added: window.patch
2015-08-13 09:39SprowNote Added: 0000901
2015-10-31 21:57Vincent SandersAssigned ToSteve Fryatt =>
2016-02-07 22:26Dave HigtonStatusacknowledged => resolved
2016-02-07 22:26Dave HigtonResolutionopen => fixed
2016-02-07 22:26Dave HigtonFixed in Version => 3.4
2016-02-07 22:26Dave HigtonAdditional Information Updatedbug_revision_view_page.php?rev_id=1775#r1775
2016-02-16 14:03Vincent SandersNote Added: 0001227
2016-02-16 14:03Vincent SandersStatusresolved => closed