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 671588 - selectable labels loose the selection too easily
selectable labels loose the selection too easily
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkLabel
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-03-07 19:24 UTC by Matthias Clasen
Modified: 2012-03-20 05:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
label: Don't use the selection too easily (1.16 KB, patch)
2012-03-20 05:06 UTC, Matthias Clasen
committed Details | Review

Description Matthias Clasen 2012-03-07 19:24:34 UTC
if you hit Alt while a label is selected, gtk_label_recalculate is getting called and that calls gtk_label_clear_select_info - I don't think it should do that.
Comment 1 Matthias Clasen 2012-03-20 05:06:26 UTC
The following fix has been pushed:
ad1c0f7 label: Don't use the selection too easily
Comment 2 Matthias Clasen 2012-03-20 05:06:29 UTC
Created attachment 210142 [details] [review]
label: Don't use the selection too easily

When we are re-setting the same text for internal reasons
(e.g. when applying the mnemonics-visible change upon Alt press),
we should not needlessly loos the selection.