Bug 188292

Summary: PDFPlugin: Context menus in RTL are left-aligned
Product: WebKit Reporter: Tim Horton <thorton>
Component: New BugsAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: aestes, commit-queue, simon.fraser, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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
Tim Horton
Comment 1 2018-08-02 17:20:11 PDT
Tim Horton
Comment 2 2018-08-02 17:20:36 PDT
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.