Skip to content

Conversation

@mbkma
Copy link
Member

@mbkma mbkma commented Aug 14, 2025

fixes #207

@mbkma mbkma requested a review from a team August 14, 2025 20:52
Copy link

@luigifab luigifab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without the PR with french locale with mate-calc 1.26 debian & 1.28 fedora

image

Without the PR with c locale with mate-calc 1.26 debian & 1.28 fedora

image

but when I paste the number with the space, I have a warning:

fabrice@localhost:~$ LC_ALL=c mate-calc

(process:44337): Gtk-WARNING **: 10:33:38.985: Locale not supported by C library.
	Using the fallback 'C' locale.

(mate-calc:44337): Gtk-WARNING **: 10:34:10.211: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created.
You must use marks, character numbers, or line numbers to preserve a position across buffer modifications.
You can apply tags and insert marks without invalidating your iterators,
but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset)
will invalidate all outstanding iterators

With the PR with french locale it's working by rebuilding Debian 1.26 source package:

image

and with c locale, warning on paste:

fabrice@mario:~$ LC_ALL=c mate-calc

(process:7385): Gtk-WARNING **: 10:41:36.675: Locale not supported by C library.
	Using the fallback 'C' locale.

(mate-calc:7385): Gtk-WARNING **: 10:41:37.357: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created.
You must use marks, character numbers, or line numbers to preserve a position across buffer modifications.
You can apply tags and insert marks without invalidating your iterators,
but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset)
will invalidate all outstanding iterators

@mbkma
Copy link
Member Author

mbkma commented Aug 15, 2025

these warnings in this pr should also be fixed by 4bff62e

@mbkma mbkma requested review from a team and vkareh December 29, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Paste figures with spaces should either cut or ignore spaces

4 participants