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 274055 - In iframe, the window will not follow the cursor when selecting more words with keyboard.
In iframe, the window will not follow the cursor when selecting more words wi...
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: Editing
unspecified
Other All
: Normal major
: ---
Assigned To: mengjie yu
Evolution QA team
Depends on:
Blocks: 271192
 
 
Reported: 2005-03-24 11:33 UTC by mengjie yu
Modified: 2005-05-09 06:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Here is my patch. (1.03 KB, patch)
2005-03-24 11:43 UTC, mengjie yu
none Details | Review
Here is the new patch. (2.95 KB, patch)
2005-04-04 16:27 UTC, mengjie yu
none Details | Review

Description mengjie yu 2005-03-24 11:33:29 UTC
Steps to reproduce:
1. Launch Evolution and go to mail component.
2. Open the default welcome mail in local folder->inbox folder in new window.

Attention: we must choose this default mail, because this mail contains
iframe gtkhtml. 

3. Press F7 to switch to caret mode.
4. Locate the cursor in message body.
5. Press Shift+Down-Arrow to select more words in one line, multi line, 

Expected result:
The window should follow the cursor to display the correct contents which
are selected by user.

Actual result:
The window stops at the right side and won't follow the cursor to display
selected mail contents.


How often does this happen? 
always.

Additional Information:
rodo, I doubt that there is something wrong with the iframe gtkhtml widget.

1), In this case. the  iframe's engine->y_offset is always zero. I remember
you'v told me that the y_offset is the offset of the view. But why it is
always zero here. Is it because the iframe widget has no scollbar ??

2), In the same case, the iframe's engine->height is always a constant
while the top gtkhtml widget's engine->height is a variable which depends
on the height of view.

What is your opinion? Thanks:)
Comment 1 mengjie yu 2005-03-24 11:43:16 UTC
Created attachment 45021 [details] [review]
Here is my patch.
Comment 2 mengjie yu 2005-04-04 16:27:27 UTC
Created attachment 45058 [details] [review]
Here is the new patch.
Comment 3 mengjie yu 2005-04-06 09:20:47 UTC
Fixed in CVS.