Created attachment 1250 [details] IP radio button is selected, but Hostname has focus frame In tl-setup gui, on the External connections page, the focus frame is behaving strange. On the first run, when none of the radio buttons are selected, the focus frame is always on Hostname, which is the second radio button. However, after the initial setup run, the focus frame is not always on the pre-selected option. Screenshots are available for option 1 and 3. 1) When Ip is pre-selected, the focus frame is on Hostname 2) When Hostname is pre-selected, the focus frame is correctly on Hostname 3) When Manual is pre-selected, the focus frame is on Ip The focus frame should always be on the selected radio button.
Created attachment 1251 [details] Manual radio button is selected, but IP has focus frame
After the changes done in bug 6144 comment 96 the behaviour of the focus frame has slightly changed. On the first run, when none of the radio buttons are selected, the focus frame is always on IP, which is the first radio button. This feels more reasonable. After the initial setup run, the focus frame is not always on the pre-selected option. 1) When IP is pre-selected, the focus frame is correctly on IP 2) When Hostname is pre-selected, the focus frame is on IP 3) When Manual is pre-selected, the focus frame is on the input field (triggered by our event handling - when Manual is selected, input gets focus) This is an improvement from before. Now the only issue is that IP gets focus when Hostname should have it.