WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
188292
PDFPlugin: Context menus in RTL are left-aligned
https://bugs.webkit.org/show_bug.cgi?id=188292
Summary
PDFPlugin: Context menus in RTL are left-aligned
Tim Horton
Reported
2018-08-02 17:20:00 PDT
PDFPlugin: Context menus in RTL are left-aligned
Attachments
Patch
(5.91 KB, patch)
2018-08-02 17:20 PDT
,
Tim Horton
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2018-08-02 17:20:11 PDT
Created
attachment 346434
[details]
Patch
Tim Horton
Comment 2
2018-08-02 17:20:36 PDT
<
rdar://problem/33781669
>
Simon Fraser (smfr)
Comment 3
2018-08-02 17:27:14 PDT
Comment on
attachment 346434
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=346434&action=review
> Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm:1610 > + auto itemCount = [nsMenu numberOfItems]; > + for (int i = 0; i < itemCount; i++) {
auto considered harmful: are you going to get signed/unsigned comparison warnings here or not?
> Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm:1619 > + std::optional<int> selectedIndex = -1;
optional<> but init with -1? Why not optional<optional<>> (j/k)
WebKit Commit Bot
Comment 4
2018-08-02 18:11:53 PDT
Comment on
attachment 346434
[details]
Patch Clearing flags on attachment: 346434 Committed
r234530
: <
https://trac.webkit.org/changeset/234530
>
WebKit Commit Bot
Comment 5
2018-08-02 18:11:55 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug