Bug 110860 - [BlackBerry] Context menu cannot be invoked after doing text selection in landscape mode
Summary: [BlackBerry] Context menu cannot be invoked after doing text selection in lan...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit BlackBerry (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-26 01:22 PST by Sean Wang
Modified: 2013-02-27 09:22 PST (History)
6 users (show)

See Also:


Attachments
patch (2.23 KB, patch)
2013-02-26 01:30 PST, Sean Wang
no flags Details | Formatted Diff | Diff
patch (6.55 KB, patch)
2013-02-26 01:34 PST, Sean Wang
no flags Details | Formatted Diff | Diff
patch (6.40 KB, patch)
2013-02-26 18:38 PST, Sean Wang
no flags Details | Formatted Diff | Diff
patch (6.39 KB, patch)
2013-02-26 19:07 PST, Sean Wang
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Wang 2013-02-26 01:22:56 PST
Steps:
1) Launch browser and navigate to a webpage
2) Tap on the overflow menu to add to Home Screen.
3) Rotate the device and bring up the Fine Cursor Controller
4) Press and hold to select text
5) Tap on it again to invoke Context Menu

Actual:
5) The screen moves up and down or sometimes the Context Menu comes up behind the Keyboard

Expected:
5) The Context Menu is displayed and the Virtual Keyboard is dismissed.
Comment 1 Sean Wang 2013-02-26 01:30:38 PST
Created attachment 190238 [details]
patch
Comment 2 Sean Wang 2013-02-26 01:32:31 PST
Comment on attachment 190238 [details]
patch

Wrong patch
Comment 3 Sean Wang 2013-02-26 01:34:35 PST
Created attachment 190240 [details]
patch
Comment 4 WebKit Review Bot 2013-02-26 02:12:50 PST
Attachment 190240 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/blackberry/Api/WebPageClient.h', u'Source/WebKit/blackberry/ChangeLog', u'Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp', u'Source/WebKit/blackberry/WebKitSupport/SelectionHandler.h']" exit_code: 1
Source/WebKit/blackberry/Api/WebPageClient.h:158:  The parameter name "details" adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp:1024:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp:1025:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp:1026:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp:1027:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp:1028:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Total errors found: 6 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Sean Wang 2013-02-26 18:38:40 PST
Created attachment 190411 [details]
patch
Comment 6 WebKit Review Bot 2013-02-26 18:52:50 PST
Attachment 190411 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/blackberry/Api/WebPageClient.h', u'Source/WebKit/blackberry/ChangeLog', u'Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp', u'Source/WebKit/blackberry/WebKitSupport/SelectionHandler.h']" exit_code: 1
Source/WebKit/blackberry/Api/WebPageClient.h:158:  The parameter name "details" adds no information, so it should be removed.  [readability/parameter_name] [5]
Total errors found: 1 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 Sean Wang 2013-02-26 19:07:19 PST
Created attachment 190418 [details]
patch
Comment 8 Yong Li 2013-02-27 09:04:15 PST
Comment on attachment 190418 [details]
patch

based on mike's review
Comment 9 WebKit Review Bot 2013-02-27 09:22:10 PST
Comment on attachment 190418 [details]
patch

Clearing flags on attachment: 190418

Committed r144202: <http://trac.webkit.org/changeset/144202>
Comment 10 WebKit Review Bot 2013-02-27 09:22:14 PST
All reviewed patches have been landed.  Closing bug.