Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2818)

Issue 6826045: Add 1 second interval before IME switcher is shown. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by fujiwara
Modified:
11 years, 5 months ago
Reviewers:
shawn.p.huang, Peng
CC:
shawn.p.huang_gmail.com
Base URL:
git@github.com:ibus/ibus.git@master
Visibility:
Public.

Description

Add some milliseconds interval before IME switcher is shown.

Patch Set 1 #

Total comments: 4

Patch Set 2 : Update with message #2. #

Patch Set 3 : Fixed typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -11 lines) Patch
M data/ibus.schemas.in View 1 1 chunk +11 lines, -0 lines 0 comments Download
M ui/gtk3/panel.vala View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gtk3/switcher.vala View 1 2 5 chunks +39 lines, -11 lines 0 comments Download

Messages

Total messages: 4
fujiwara
11 years, 5 months ago (2012-11-01 03:47:53 UTC) #1
Peng
https://codereview.appspot.com/6826045/diff/1/ui/gtk3/switcher.vala File ui/gtk3/switcher.vala (right): https://codereview.appspot.com/6826045/diff/1/ui/gtk3/switcher.vala#newcode77 ui/gtk3/switcher.vala:77: private uint m_popup_delay_time = 1000; Is 1 seconds too ...
11 years, 5 months ago (2012-11-01 13:29:57 UTC) #2
fujiwara
On 2012/11/01 13:29:57, Peng wrote: > https://codereview.appspot.com/6826045/diff/1/ui/gtk3/switcher.vala > File ui/gtk3/switcher.vala (right): > > https://codereview.appspot.com/6826045/diff/1/ui/gtk3/switcher.vala#newcode77 > ...
11 years, 5 months ago (2012-11-02 02:10:19 UTC) #3
Peng
11 years, 5 months ago (2012-11-02 14:52:37 UTC) #4
lgtm. Please try to test it with all desktop envs (gnome, kde and etc), before
landing it. Thanks.

On 2012/11/02 02:10:19, fujiwara wrote:
> On 2012/11/01 13:29:57, Peng wrote:
> > https://codereview.appspot.com/6826045/diff/1/ui/gtk3/switcher.vala
> > File ui/gtk3/switcher.vala (right):
> > 
> >
https://codereview.appspot.com/6826045/diff/1/ui/gtk3/switcher.vala#newcode77
> > ui/gtk3/switcher.vala:77: private uint m_popup_delay_time = 1000;
> > Is 1 seconds too long?
> 
> OK, changed it to 400 millisecs.
> 
> > 
> >
https://codereview.appspot.com/6826045/diff/1/ui/gtk3/switcher.vala#newcode168
> > ui/gtk3/switcher.vala:168: return true;
> > Maybe return false is better?
> 
> Agreed.
> 
> > 
> >
https://codereview.appspot.com/6826045/diff/1/ui/gtk3/switcher.vala#newcode171
> > ui/gtk3/switcher.vala:171: if (is_composited()) {
> > I did not notice it has a similar logic to delay show the switcher. Does it
> have
> > problem?
> 
> I have noticed it but it does not work because composite is disabled.
> Now I removed that code.
> 
> > 
> >
https://codereview.appspot.com/6826045/diff/1/ui/gtk3/switcher.vala#newcode312
> > ui/gtk3/switcher.vala:312: debug("restore_window_position %s %ld %ld\n",
> > debug_str,
> > weird style. Could you please change it to 
> > debug(...
> >     debug_str, m_root_x, m_root_y);
> > 
> > or
> > 
> > debug(....,
> >       ...
> >       ...
> >       ...);
> 
> I think the original format is used in GNOME but now I updated it to narrow
the
> line width.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b