Issue 5279

Title
Not possible to copy using entry popup
Priority
bug
Status
resolved
Nosy list
ced, roundup-bot
Assigned to
ced
Keywords
review

Created on 2016-01-22.18:09:01 by ced, last changed 58 months ago by roundup-bot.

Messages

New changeset 13d81b52b4c4 by C?dric Krier in branch 'default':
Don't reset entry position at focus-out
http://hg.tryton.org/tryton/rev/13d81b52b4c4
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2016-01-22.18:23:59
Here is review22751002
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2016-01-22.18:22:11
For the record, GTK+ tries to put the cursors on the screen with the always the strong one (the one where edition will start).
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2016-01-22.18:09:00
The changeset 709fa6e42bd8 from issue2230 introduce a PositionManager that reset the position on focus out but this prevent to use the entry popup as it triggers the focus-out event when it pops and so no text is select.
I think we should stick as close as possible to the GTK+ default behaviour and so I propose to just set the position to 0 when calling set_text like that the beginning of the entry will be visible the first time and after that it is up to use the user to manage the cursor position.
History
Date User Action Args
2016-02-02 19:11:50roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg24008
2016-01-22 18:30:08reviewbotsetreviews: 22751002
keyword: + review
2016-01-22 18:24:00cedsetstatus: in-progress -> testing
messages: + msg23888
2016-01-22 18:22:11cedsetmessages: + msg23887
2016-01-22 18:09:01cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)