Bug 1908152

Summary: Duplicate keybinding in the default config file generate by config wizard
Product: [Fedora] Fedora Reporter: Nasir Hussain <nasirhussainm14>
Component: i3Assignee: Dan Čermák <dan.cermak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 33CC: amurdaca, dan.cermak, gchamoul, kupo
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: i3-4.19-2.fc33 i3-4.19-2.fc32 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-23 01:30:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nasir Hussain 2020-12-15 23:53:07 UTC
Description of problem:

The default config created by `i3-config-wizard` has an issue, as it tries to create duplicate keybinding for $mod+d in `.config/i3/config`

Those two duplicate keybindings are following (for dmenu):

- bindsym $mod+d exec --no-startup-id dmenu_run
- bindsym $mod+d exec --no-startup-id i3-dmenu-desktop


Version-Release number of selected component (if applicable): i3 version 4.19 (2020-11-15)


How reproducible: Can be reproduced on New installations where precious config dosen't exist.


Steps to Reproduce:
1. Install i3 by running: `dnf install i3`
2. Once i3 window manager is installed, reboot and select i3 in your display manager.
3. As i3 is running for the first time, it'll run the i3-config-wizard which will ask for setting the mod key, once it's set.
4. It'll result in an error now, as the default config created by i3-config-wizard is trying to duplicate keybindings in the config file.

Actual results:

It results in an error due to multiple key bindings for dmenu.


Expected results:

The config wizard should work fine, without errors.

Additional info:

Comment 1 Fedora Update System 2021-01-19 19:42:31 UTC
FEDORA-2021-8eaa1c2cdb has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8eaa1c2cdb

Comment 2 Fedora Update System 2021-01-19 20:00:49 UTC
FEDORA-2021-141ff8ea49 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-141ff8ea49

Comment 3 Fedora Update System 2021-01-20 01:29:03 UTC
FEDORA-2021-141ff8ea49 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-141ff8ea49`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-141ff8ea49

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-01-20 02:11:30 UTC
FEDORA-2021-8eaa1c2cdb has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8eaa1c2cdb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8eaa1c2cdb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-01-23 01:30:41 UTC
FEDORA-2021-8eaa1c2cdb has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2021-01-27 04:11:45 UTC
FEDORA-2021-141ff8ea49 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.