Commit Graph

73470 Commits

Author SHA1 Message Date
Carlos Garnacho
7c0a395ff9 gtktext: Also reset IM context after IM surrounding text deletion
When the IM commands the GtkText to delete text, the cursor position
would change, and so would the surrounding text. Reset the IM context
so that these updates are properly picked up by the IM.

Fixes backspace key behavior in the GNOME Shell OSK, since that relies
on the surrounding text being properly updated for the next iteration.
2022-09-06 22:17:40 +02:00
Carlos Garnacho
41f26975a9 gtktext: Avoid early IM reset on updates
Resetting the IM on IM updates is too eager and indeed the simple
IM context doesn't like that this happens in the middle of dead
key handling.

We however want to reset the IM after actual text buffer changes
(say, a committed string) moved the cursor position, altered the
surrounding text, etc. So that the IM implementation does know to
update its state.

Since there is going to be an actual IM reset anyways, it does
no longer make sense to try to preserve the old priv->need_im_reset
status during commit handling.

Fixes: 52ac71b972 ("gtktextview: Shuffle the places doing IM reset")
Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5133
2022-09-06 22:17:40 +02:00
Carlos Garnacho
085374198f gtktext: Avoid early IM reset on updates
Resetting the IM on IM updates is too eager and indeed the simple
IM context doesn't like that this happens in the middle of dead
key handling.

We however want to reset the IM after actual text buffer changes
(say, a committed string) moved the cursor position, altered the
surrounding text, etc. So that the IM implementation does know to
update its state.

Fixes: 9e29739e66 ("gtktext: Shuffle the places doing IM reset")
Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5133
2022-09-06 22:17:40 +02:00
Matthias Clasen
586675c902 Merge branch 'treepopover-ellipsize' into 'main'
treepopover: Do not propagate natural width of content

See merge request GNOME/gtk!4895
2022-09-06 20:17:33 +00:00
Matthias Clasen
1679fc8675 Merge branch 'display-wayland-update-scale' into 'main'
wayland/display: Remove duplicate update_scale() call

See merge request GNOME/gtk!5003
2022-09-06 20:14:38 +00:00
Matthias Clasen
9cc1dcf2a4 4.8.0 2022-09-06 15:59:04 -04:00
Zurab Kargareteli
e4be073f0a Update Georgian translation 2022-09-06 16:28:59 +00:00
Zurab Kargareteli
4ffefec469 Update Georgian translation 2022-09-06 16:28:00 +00:00
Changwoo Ryu
db2432b5db Update Korean translation 2022-09-06 04:15:30 +00:00
Aurimas Černius
7d29b456b8 Updated Lithuanian translation 2022-09-05 22:38:20 +03:00
Daniel Mustieles
8fbb647daa Updated Spanish translation 2022-09-05 14:30:59 +02:00
Fran Dieguez
c28b8297ee Update Galician translation 2022-09-04 22:24:45 +00:00
Aleksandr Melman
4eb0dd7264 Update Russian translation 2022-09-04 20:45:34 +00:00
Rūdolfs Mazurs
b3d6972803 Update Latvian translation 2022-09-04 15:50:02 +00:00
Jürgen Benvenuti
0eab3c3940 Update German translation 2022-09-04 13:57:48 +00:00
Boyuan Yang
4603e7bb18 Update Chinese (China) translation 2022-09-03 21:16:03 +00:00
Rūdolfs Mazurs
8d504cae44 Update Latvian translation 2022-09-03 13:04:54 +00:00
Piotr Drąg
0f35ece2af Update Polish translation 2022-09-03 15:00:46 +02:00
Marek Černocký
204cac7ebf Updated Czech translation 2022-09-03 09:50:27 +02:00
Robert Mader
06a51b6ca6 wayland/display: Remove duplicate update_scale() call
`apply_monitor_change()` already calls `update_scale()`.
Note that this only affects old compositor versions (see
`should_update_monitor()`) so it's just a minor cleanup.
2022-09-03 00:53:02 +02:00
Balázs Úr
853bfcb130 Update Hungarian translation 2022-09-02 21:29:08 +00:00
Jordi Mas
6a1f5c0af5 Update Catalan translation 2022-09-02 20:34:04 +02:00
Carlos Garnacho
bce90df49d Merge branch 'treeview-gesture-claim' into 'main'
treeview: Don't claim event sequence too early

Closes #3649, #3985, #4206, and #4669

See merge request GNOME/gtk!4883
2022-09-02 12:40:15 +00:00
Mat
58953671fe treeview: Don't claim event sequence too early
We want to claim the event sequence in the click gesture when appropriate,
such as activating a row or clicking an editable cell, but this is currently
done too early, preventing other gestures for drag-and-drop and rubberband
selection entirely.

Fixes #3649
Fixes #3985
Fixes #4669
2022-09-02 15:04:43 +03:00
Ask Hjorth Larsen
df527758b1 Updated Danish translation 2022-09-02 11:51:27 +02:00
Emin Tufan Çetin
3cd55fdf35 Update Turkish translation 2022-09-01 22:53:55 +00:00
Alexander Shopov
25783573c6 Update Bulgarian translation 2022-09-01 21:11:55 +00:00
Luca Bacci
041a186272 Merge branch 'implement-gtk-color-picker-for-windows' into 'main'
Implement GtkColorPicker for Windows

Closes #5136

See merge request GNOME/gtk!4983
2022-09-01 20:39:15 +00:00
Christian Hergert
f5488bb4b2 gdk: fix typo in frame clock docs 2022-09-01 12:16:10 -07:00
Luca Bacci
86a38918d7 Implement GtkColorPicker for Windows
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5136
2022-09-01 19:25:07 +02:00
Hugo Carvalho
88f38f598b Update Portuguese translation 2022-09-01 17:18:51 +00:00
Nathan Follens
4aee6edbbd Update Dutch translation 2022-09-01 16:21:14 +00:00
Matthias Clasen
adcec93b02 Merge branch 'gtkplacessidebar' into 'main'
gtkplacessidebar: Fix crash when remove or rename bookmark

See merge request GNOME/gtk!4625
2022-09-01 15:00:42 +00:00
Matthias Clasen
79ff151624 Merge branch 'inscription_a11y' into 'main'
GtkInscription: Set the a11y label when updating the text property

See merge request GNOME/gtk!5000
2022-09-01 14:38:49 +00:00
Lukáš Tyrychtr
27f32b7f9b GtkInscription: Set the a11y label when updating the text property 2022-09-01 16:19:59 +02:00
Anders Jonsson
1771f75c6c Update Swedish translation 2022-09-01 13:15:36 +00:00
Marek Černocký
979c418e46 Updated Czech translation 2022-09-01 14:41:37 +02:00
Marek Černocký
28f63259ab Updated Czech translation 2022-09-01 14:34:27 +02:00
Leônidas Araújo
105a2262dc Update Brazilian Portuguese translation 2022-08-31 14:53:19 +00:00
Danial Behzadi
3615619f41 Update Persian translation 2022-08-31 12:45:30 +00:00
Kukuh Syafaat
0782bfa52b Update Indonesian translation 2022-08-31 09:17:12 +00:00
Asier Sarasua Garmendia
ccd5565f75 Update Basque translation 2022-08-31 07:04:00 +00:00
Matthias Clasen
e502155dfa Merge branch 'gbsneto/cleanup-gsettings' into 'main'
gtk: Remove last-folder-uri from schema

See merge request GNOME/gtk!4998
2022-08-30 19:14:44 +00:00
Georges Basile Stavracas Neto
9261b0079d gtk: Remove last-folder-uri from schema
It's unused since 2013, apparently.
2022-08-30 15:58:47 -03:00
Goran Vidović
4638f942b8 Update Croatian translation 2022-08-30 11:56:21 +00:00
Yuri Chornoivan
46483bebcd Update Ukrainian translation 2022-08-29 19:21:22 +00:00
Matthias Clasen
e077a6bffe Merge branch 'wip/jimmac/HC-italic-hints' into 'main'
HC: entry - make hints italic

Closes #5143

See merge request GNOME/gtk!4994
2022-08-29 18:55:34 +00:00
Matthias Clasen
66dc193aeb Merge branch 'font-feature-work' into 'main'
fontchooser: Rename default feature value

See merge request GNOME/gtk!4995
2022-08-29 18:48:00 +00:00
Matthias Clasen
39439aa838 fontchooser: Rename default feature value
"Default" is a better fit than "None" here.
2022-08-29 14:14:07 -04:00
Matthias Clasen
018bd0a927 fontchooser: Add a tooltip to the tweak button
Icon-only buttons are always better with a tooltip.
2022-08-29 12:13:32 -04:00