Bug 54092 - Extra separator after Select All in context menu
Summary: Extra separator after Select All in context menu
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-09 05:12 PST by Christian Dywan
Modified: 2011-04-26 16:57 PDT (History)
1 user (show)

See Also:


Attachments
Move spelling option menu separator to non-GTK+port guards (1.83 KB, patch)
2011-02-09 05:53 PST, Christian Dywan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Dywan 2011-02-09 05:12:38 PST
There is an extra separator after Select All in the context menu.
Comment 1 Christian Dywan 2011-02-09 05:53:57 PST
Created attachment 81794 [details]
Move spelling option menu separator to non-GTK+port guards

The separator comes from the spelling option menu which the GTK+ port doesn't show. So the separator needs to be moved into non-GTK+ port guards.
Comment 2 Gustavo Noronha (kov) 2011-02-14 08:33:40 PST
Comment on attachment 81794 [details]
Move spelling option menu separator to non-GTK+port guards

View in context: https://bugs.webkit.org/attachment.cgi?id=81794&action=review

> Source/WebCore/page/ContextMenuController.cpp:894
>  #ifndef BUILDING_ON_TIGER
>  #if !PLATFORM(GTK)
> +            appendItem(*separatorItem(), m_contextMenu.get());

This looks right ot me, but we're also affecting Mac here. Although it does look like it would work as intended for them as well, better check with someone from mac land.
Comment 3 Brent Fulgham 2011-04-11 13:49:49 PDT
Comment on attachment 81794 [details]
Move spelling option menu separator to non-GTK+port guards

View in context: https://bugs.webkit.org/attachment.cgi?id=81794&action=review

>> Source/WebCore/page/ContextMenuController.cpp:894
>> +            appendItem(*separatorItem(), m_contextMenu.get());
> 
> This looks right ot me, but we're also affecting Mac here. Although it does look like it would work as intended for them as well, better check with someone from mac land.

This may not do the right thing for Tiger builds.  The append will only happen for more recent OS versions, but perhaps no one cares anymore?
Comment 4 Eric Seidel (no email) 2011-04-26 15:29:50 PDT
Comment on attachment 81794 [details]
Move spelling option menu separator to non-GTK+port guards

Looks fine.  If this doesn't break anything in the CQ, it's fine.  Please let the cq land it to be sure.
Comment 5 WebKit Commit Bot 2011-04-26 16:57:48 PDT
Comment on attachment 81794 [details]
Move spelling option menu separator to non-GTK+port guards

Clearing flags on attachment: 81794

Committed r84983: <http://trac.webkit.org/changeset/84983>
Comment 6 WebKit Commit Bot 2011-04-26 16:57:51 PDT
All reviewed patches have been landed.  Closing bug.