RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1070259 - Input disappeared and error message is shown when changing display number format
Summary: Input disappeared and error message is shown when changing display number format
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-calculator
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Alexander Larsson
QA Contact: Desktop QE
URL:
Whiteboard:
: 963659 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-26 13:53 UTC by Martin Simon
Modified: 2016-09-20 02:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 07:23:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2215 0 normal SHIPPED_LIVE gnome utilities bug fix and enhancement update 2015-11-19 08:26:52 UTC

Description Martin Simon 2014-02-26 13:53:04 UTC
Description of problem:
When I do some computation, then try to change preferences to show thousands separators, I get warning and error in terminal output and the displayed text disappears.

Version-Release number of selected component (if applicable):
gnome-calculator-3.8.2-4.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Type in the following number: 123456.654321*10^6 and press Enter
2. Click the Calculator's icon on the top panel and choose Preferences
3. Check Show thousands separators

Actual results:
The display becomes clear and I get following output in terminal:

(gnome-calculator:4780): Gtk-WARNING **: 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

(gnome-calculator:4780): Gtk-CRITICAL **: gtk_text_buffer_insert_with_tags: assertion `gtk_text_iter_get_buffer (iter) == buffer' failed

Expected results:
thousands separators shown correctly without any error nor warning

Additional info:

Comment 1 Martin Simon 2014-02-26 14:55:02 UTC
Ok, the problem is probably not connected to thousand separator  in general, but it's probably connected to number format. The error is shown and display is cleared also when I try any combination of Fixed number format and Automatic number format, so basically always when it's reasonable.

Comment 2 Martin Simon 2014-02-27 10:32:49 UTC
*** Bug 963649 has been marked as a duplicate of this bug. ***

Comment 3 Martin Simon 2014-02-27 10:36:17 UTC
*** Bug 963659 has been marked as a duplicate of this bug. ***

Comment 4 RHEL Program Management 2014-03-22 05:56:36 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 6 Vitezslav Humpa 2015-05-07 10:46:08 UTC
Works as expected with 3.14 codebase. Thousand separator and format changes are applied fine instantly, no warnings in the terminal.

Comment 8 Martin Simon 2015-09-02 10:23:53 UTC
I've re-tested this bug in gnome-calculator-3.14.1-2.el7.x86_64. According to comment 6 and my results, I assume the bug is fixed. The thousand separator and number format works fluently.

The reproducer has been incorporated into our gnome-calculator test plan.

Comment 9 errata-xmlrpc 2015-11-19 07:23:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2215.html


Note You need to log in before you can comment on or make changes to this bug.