Bug 120598 - [EFL] Synchronize caret interval with that of EFL entry
Summary: [EFL] Synchronize caret interval with that of EFL entry
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jinwoo Song
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-02 04:47 PDT by Jinwoo Song
Modified: 2017-03-11 10:38 PST (History)
8 users (show)

See Also:


Attachments
Patch (1.29 KB, patch)
2013-09-02 04:59 PDT, Jinwoo Song
cdumez: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jinwoo Song 2013-09-02 04:47:29 PDT
EFL entry's cursor interval is set to 0.6.
Comment 1 Jinwoo Song 2013-09-02 04:59:45 PDT
Created attachment 210275 [details]
Patch
Comment 2 Chris Dumez 2013-09-02 05:58:58 PDT
Comment on attachment 210275 [details]
Patch

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

> Source/WebCore/platform/efl/RenderThemeEfl.h:119
> +    virtual double caretBlinkInterval() const { return 0.6; }

Would you please move the implementation to the cpp file, add a global constant for the magic 0.6 value with a comment explaining why we use this value?
Comment 3 Chris Dumez 2013-09-02 05:59:23 PDT
Comment on attachment 210275 [details]
Patch

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

>> Source/WebCore/platform/efl/RenderThemeEfl.h:119
>> +    virtual double caretBlinkInterval() const { return 0.6; }
> 
> Would you please move the implementation to the cpp file, add a global constant for the magic 0.6 value with a comment explaining why we use this value?

Also, you are missing OVERRIDE.
Comment 4 Gyuyoung Kim 2013-09-02 20:56:18 PDT
Comment on attachment 210275 [details]
Patch

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

> Source/WebCore/ChangeLog:8
> +        Set caret interval as 0.6 to synchronize with EFL entry's cursor interval.

I wonder if EFL entry's cursor interval is working. It looks it doesn't work now, isn't it ? I think we need to make a rule or a policy to set the cursor interval as port ports.
Comment 5 Ryuan Choi 2013-09-02 21:09:14 PDT
(In reply to comment #4)
> (From update of attachment 210275 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=210275&action=review
> 
> > Source/WebCore/ChangeLog:8
> > +        Set caret interval as 0.6 to synchronize with EFL entry's cursor interval.
> 
> I wonder if EFL entry's cursor interval is working. It looks it doesn't work now, isn't it ? I think we need to make a rule or a policy to set the cursor interval as port ports.

Cursor interval depends on Theme.
Elementary default theme use 0.2 (now)
Tizen use 0.6 as interval.
EFL Dark theme(recently working on progress) are now using 0.5/0.2 (show/hide).

If we want to synchronize caret interval with EFL, we'd better to get information from edc.
Comment 6 Ryuan Choi 2013-09-02 21:24:35 PDT
(In reply to comment #5)
> (In reply to comment #4)
> > (From update of attachment 210275 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=210275&action=review
> > 
> > > Source/WebCore/ChangeLog:8
> > > +        Set caret interval as 0.6 to synchronize with EFL entry's cursor interval.
> > 
> > I wonder if EFL entry's cursor interval is working. It looks it doesn't work now, isn't it ? I think we need to make a rule or a policy to set the cursor interval as port ports.
> 
> Cursor interval depends on Theme.
> Elementary default theme use 0.2 (now)
> Tizen use 0.6 as interval.
> EFL Dark theme(recently working on progress) are now using 0.5/0.2 (show/hide).
> 
> If we want to synchronize caret interval with EFL, we'd better to get information from edc.

s/theme/edc
Comment 7 Gyuyoung Kim 2013-09-02 22:28:26 PDT
(In reply to comment #5)
> (In reply to comment #4)
> > (From update of attachment 210275 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=210275&action=review
> > 
> > > Source/WebCore/ChangeLog:8
> > > +        Set caret interval as 0.6 to synchronize with EFL entry's cursor interval.
> > 
> > I wonder if EFL entry's cursor interval is working. It looks it doesn't work now, isn't it ? I think we need to make a rule or a policy to set the cursor interval as port ports.
> 
> Cursor interval depends on Theme.
> Elementary default theme use 0.2 (now)
> Tizen use 0.6 as interval.
> EFL Dark theme(recently working on progress) are now using 0.5/0.2 (show/hide).
> 
> If we want to synchronize caret interval with EFL, we'd better to get information from edc.

Yes, I don't mind to get the interval information from edc. That can be our policy. My point is we need to make a policy how to set the interval value. Ryuan, do you know if we can get the information from theme or edc file ?
Comment 8 Michael Catanzaro 2017-03-11 10:38:05 PST
Closing this bug because the EFL port has been removed from trunk.

If you feel this bug applies to a different upstream WebKit port and was closed in error, please either update the title and reopen the bug, or leave a comment to request this.