GNOME Bugzilla – Bug 761128
Selected text in password entry not drawn correctly
Last modified: 2016-01-27 01:13:16 UTC
1) master form yesterday 2) gtk3-demo 3) Entry -> Entry Buffer 4) Type something in the upper entry 5) Try to select the hidden password text in the entry below 6) Only parts of the selection background is shown
commit a222aa66d5b7811798c3a98b0b0694de6fe4ec49 Author: Benjamin Otte <otte@redhat.com> Date: Wed Jan 27 02:07:35 2016 +0100 entry: Compute selection range correctly gtk_editable_get_selection_bounds() returns UTF-8 character offsets, but gdk_pango_layout_get_clip_region() wants byte ranges, so convert from one to the other. With English, this is especially visible for passwords, which use ● as the invisible character.