Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Cause:
Previous versions of gtk2 had a horizontal separator between the dialog contents and the buttons. The system-config-keyboard program attempted to remove that widget, but did so in a very crude fashion.
Consequence:
With the rebase of gtk2 to 2.24.23, dialog window widgets don't have an horizontal separator above their buttons. Because system-config-keyboard relies on the inner structure of the dialog window to find the separator widget and because it lacked additional checks, with this new version of gtk2 the OK button was removed instead.
Fix:
This new release of system-config-keyboard checks that the widget it would delete is actually a horizontal separator, otherwise it does nothing.
Result:
The OK button remains and no horizontal separator is shown, regardless of if the older or current versions of the gtk2 package are installed.
DescriptionBranislav Blaškovič
2014-09-03 12:02:29 UTC
Description of problem:
I cannot see submit button for dialog.
Version-Release number of selected component (if applicable):
system-config-keyboard-1.3.1-5.el6.x86_64
Steps to Reproduce:
1. Run system-config-keyboard
2. Try to submit it
Actual results:
No submit button
Expected results:
Submit button
Comment 1Branislav Blaškovič
2014-09-03 12:04:52 UTC
(In reply to Petr Sklenar from comment #3)
> it seems to be regression, I can see it in my rhel65 with
> system-config-keyboard-1.3.1-4.el6.x86_64
Petr, have you checked -5 as well? This release of the package is available since before RHEL 6.5 FWIW.
I have just run it on an up-to-date RHEL6.5 and it displays well. Removing the Regression keyword for now.
Branislav, if you start s-c-keyboard from a terminal, do you see any error messages?
Comment 7Branislav Blaškovič
2014-09-04 08:14:06 UTC
(In reply to Nils Philippsen from comment #5)
> I have just run it on an up-to-date RHEL6.5 and it displays well. Removing
> the Regression keyword for now.
So, it is OK in rhel6.5 but broken on rhel6.6 so it is NOT a regression? I assume that if it is working on older version but not working on newer one, it is regression. But maybe I just dont understand it :)
> Branislav, if you start s-c-keyboard from a terminal, do you see any error
> messages?
Nothing on terminal..
(In reply to Petr Sklenar from comment #3)
> it seems to be regression, I can see it in my rhel65 with
> system-config-keyboard-1.3.1-4.el6.x86_64
with that it I meant "submit button" not 'the bug'
so
system-config-keyboard-1.3.1-4.el6.x86_64 : there is "submit button"
system-config-keyboard-1.3.1-5.el6.x86_64: there is not submit button, this version is buggy
(In reply to Petr Sklenar from comment #8)
> (In reply to Petr Sklenar from comment #3)
> > it seems to be regression, I can see it in my rhel65 with
> > system-config-keyboard-1.3.1-4.el6.x86_64
> with that it I meant "submit button" not 'the bug'
>
> so
> system-config-keyboard-1.3.1-4.el6.x86_64 : there is "submit button"
> system-config-keyboard-1.3.1-5.el6.x86_64: there is not submit button, this
> version is buggy
You've compared -4.el6 on RHEL 6.5 to -5.el6 on RHEL-6.6, so it doesn't follow that one version is buggy and the other isn't. The only difference between -4.el6 and -5.el6 is that the latter drops the hard requirement on firstboot in the package, so that people can install only s-c-keyboard and get the text interface without having to install firstboot and its dependencies as well. This change isn't responsible for the observed behavior, the code of s-c-keyboard wasn't changed in the -5.el6 release.
I've dug deeper and found that the line triggering the missing OK button is in s-c-keyboard since version 1.2.11 and only becomes buggy in conjunction with gtk2-2.24.x (which we ship in RHEL-6.6 -- RHEL-6.5 has 2.20.1). The line is supposed to remove a horizontal separator in the dialog window which the original author considered "ugly", newer versions of gtk2 don't have it and this causes the OK button to be removed instead.
Anyway, the bug is easily solvable in s-c-keyboard, I have a patch committed to "upstream" git which just adds a check if the widget to be removed is in fact a horizontal separator.
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.
http://rhn.redhat.com/errata/RHBA-2014-1617.html