[Bug 1178394] New: YaST Qt UI: Resolving Keyboard Shortcut Conflicts Ignores Menu Item Enabled/Disabled State
http://bugzilla.opensuse.org/show_bug.cgi?id=1178394 Bug ID: 1178394 Summary: YaST Qt UI: Resolving Keyboard Shortcut Conflicts Ignores Menu Item Enabled/Disabled State Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: All OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: shundhammer@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- When the content of a YaST dialog changes and keyboard shortcut conflicts are resolved, all menu items of a MenuBar are enabled, even though they are explicitly disabled internally. This affects only the Qt UI. Found by Ancor during development of https://trello.com/c/MRJhR5x6/2080-1-partitioner-disable-menu-entries-from-d... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178394 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|yast2-maintainers@suse.de |shundhammer@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178394 http://bugzilla.opensuse.org/show_bug.cgi?id=1178394#c1 --- Comment #1 from Stefan Hundhammer <shundhammer@suse.com> --- Created attachment 843259 --> http://bugzilla.opensuse.org/attachment.cgi?id=843259&action=edit Test case: UI example Start this with y2base ./MenuBar-shortcuts-test.rb qt Open the "Edit" menu. Notice how menu items "Cut" and "Paste" are disabled (while the "Read Only" check box below is checked). Toggle the "Extra Buttons" check box; new buttons appear. Open the "Edit" menu again: Both "Cut" and "Paste" are now enabled, even though they should not be. Rebuilding the menu tree ignored each menu item's enabled/disabled state. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178394 http://bugzilla.opensuse.org/show_bug.cgi?id=1178394#c2 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Stefan Hundhammer <shundhammer@suse.com> --- Pull request with a fix: https://github.com/libyui/libyui-qt/pull/139 Pull request adding the test case to the UI examples: https://github.com/yast/yast-ycp-ui-bindings/pull/60 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com