After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 264404 - calender day/week summaries does not allow 'Enter' in preedit mode.
calender day/week summaries does not allow 'Enter' in preedit mode.
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.0.x (obsolete)
Other All
: Normal normal
: Future
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 303873 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-08-27 18:45 UTC by suresh
Modified: 2008-01-14 20:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
calender patch (1.87 KB, patch)
2004-08-27 18:48 UTC, suresh
none Details | Review
updated calendar patch (1.69 KB, patch)
2007-11-13 10:24 UTC, Milan Crha
committed Details | Review

Description suresh 2004-08-27 18:45:17 UTC
Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:

In Ja locale
calender day/week summaries does not allow 'Enter'  in preedit mode.

Steps to reproduce the problem:
1. Launch evolution in ja locale and click local folder->Calendar;
2. Enter an appointment.
3. Try to edit the summary in day/week view mode inline. Change to preedit
mode and enter some japanese chars.
4. Press 'Enter' to commit.
5. It's not getting committed.

Actual Results:
Enter don't have any effect

Expected Results:
Enter should commit the preedit buffer

How often does this happen? 
Always

Additional Information:
Comment 1 suresh 2004-08-27 18:48:36 UTC
Created attachment 44131 [details] [review]
calender patch
Comment 2 suresh 2004-08-27 18:51:08 UTC
See also
http://bugzilla.gnome.org/show_bug.cgi?id=263731
These two patches must be applied to solve the preedit issue.
Comment 3 ynakai 2004-09-02 10:25:07 UTC
This bug doesn't happen on open source Japanese input
method, with gal CVS HEAD and evolution CVS HEAD.
Comment 4 ynakai 2004-09-03 10:45:08 UTC
== Bug test on gal CVS HEAD and evolution CVS HEAD ==
#63731 is applied but this #64404 is not applied

I used 'nihongo' as the Japanese input string.
Press 'a' first to make item editable and Shift+Space
or Control+Space to start preedit mode.

Bug appearance:
im-canna(snooper on) NO
im-freewnn(snooper on) NO
im-canna(snooper off) NO
im-freewnn(snooper off) YES
im-xim(kinput2 -canna, no snooper) YES
im-iiim(CannaLE, no snooper) YES

Bug appearance after the patch applied:
http://bugzilla.gnome.org/attachment.cgi?id=44131

im-canna(snooper on) NO
im-freewnn(snooper on) NO
im-canna(snooper off) NO
im-freewnn(snooper off) NO
im-xim(kinput2 -canna, no snooper) NO
im-iiim(CannaLE, no snooper) NO

Snooper is the feature to avoid
http://bugzilla.gnome.org/show_bug.cgi?id=90082
bug. It uses gtk_key_snooper_install() and get all key
events earlier than applications' shortcut key combo.
Owen, GTK+ officiel denies this way of fix and snooper
is known to introduce another weird behaviors. But that
is popular among Japanese immodule developer, because it
fixes one of the most important bug in GTK+.

For this #64404 bug, im's snooper function get GDK_Return
before evolution so the bug does't appear. Im-canna without
snooper feature works in both cases so I feel like immodule
implementation could be the real problem.

Anyway, adding !E_TEXT (item)->preedit_len does not break
input method behavior. I cannot find any reason to disagree
to this patch now.
Comment 5 suresh 2004-09-03 17:45:06 UTC
Really appreciate your detailed testings on this. Will wait for
evolution maintainers to approve. BTW, how's the work with gal/e-text
going ?
Comment 6 André Klapper 2005-03-05 14:46:09 UTC
adding "patch" keyword
Comment 7 André Klapper 2006-05-31 23:33:54 UTC
patch has not been applied yet, i assume that it still should go in?
Comment 8 Hiroyuki Ikezoe 2006-07-20 02:58:48 UTC
Bug 303873 seems to be the same as this bug.
Comment 9 Milan Crha 2007-11-13 10:24:45 UTC
Created attachment 99017 [details] [review]
updated calendar patch

for evolution;

This is only updated calendar patch above, to be applicable on actual sources. I think we can accept it, it seems to me that it will not break anything.
Comment 10 Chenthill P 2008-01-13 08:19:49 UTC
Please commit the patch.
Comment 11 Suman Manjunath 2008-01-14 07:45:15 UTC
Committed to SVN trunk as r34808
(http://svn.gnome.org/viewvc/evolution?view=revision&revision=34808)
Comment 12 Matthew Barnes 2008-01-14 20:21:36 UTC
*** Bug 303873 has been marked as a duplicate of this bug. ***