Bug 1033050

Summary: system confing language changes language even if user presses cancel in command line mode
Product: [Fedora] Fedora Reporter: anish <apatil>
Component: system-config-languageAssignee: anish <apatil>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: i18n-bugs, lnie, nav007, petersen, pnemade, psatpute
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: system-config-language-1.4.0-7.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-14 03:05:56 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 anish 2013-11-21 13:26:04 UTC
Description of problem:
Start s-c-l in command line and select a language for which language support is available such as Marathi or Gujarati
Select Language and then proceed with installation and in next screen it asks
Gujarati language support is not avaliable do you want to continue or cancel
Press cancel  button it exits but system locale is changed to Gujarati


Expected results:
System locale should not be changed as user has pressed cancel button to abort the transaction

Comment 1 Fedora Update System 2013-11-22 05:04:14 UTC
system-config-language-1.4.0-5.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/system-config-language-1.4.0-5.fc19

Comment 2 Fedora Update System 2013-11-22 05:04:43 UTC
system-config-language-1.4.0-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/system-config-language-1.4.0-5.fc20

Comment 3 lnie 2013-11-22 09:53:41 UTC
still occur with system-config-language-1.4.0-5.fc20

Comment 4 anish 2013-11-22 13:10:58 UTC
Hi lnie,


I have tried to reproduce the issue with system-config-language-1.4.0-5.fc20 but i could not reproduce it.
May be you are using 1.4.0-4 or there might be another bug in another screen 
Can you please let me know steps so that i can reproduce the issue?

Comment 5 Fedora Update System 2013-11-23 19:52:53 UTC
Package system-config-language-1.4.0-5.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-language-1.4.0-5.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-21899/system-config-language-1.4.0-5.fc19
then log in and leave karma (feedback).

Comment 6 lnie 2013-11-25 04:20:49 UTC
Hi anish,I tested with system-config-language-1.4.0-5.fc20.
 Steps as follows:
 1start system-config-language by running the command
 2 choose Marathi
 3 choose cancel in next screen
 4 message box comes out asking:
   Marathi language support is not installed,do you want to install it?
   The s-c-l GUi disappears immediately after I choose 'No'
 5 After the reboot,the system locale is changed to Marathi

Comment 7 Fedora Update System 2013-12-10 06:51:06 UTC
system-config-language-1.4.0-6.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/system-config-language-1.4.0-6.fc20

Comment 8 Fedora Update System 2013-12-10 06:51:36 UTC
system-config-language-1.4.0-6.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/system-config-language-1.4.0-6.fc19

Comment 9 lnie 2013-12-10 07:54:08 UTC
still persists in 1.4.0-6-fc20

Comment 10 lnie 2013-12-10 09:02:55 UTC
seems more serious,after change the language to Marathi,I have to start s-c-l choose"cancel",and then start s-c-l again,and choose'yes',
before I successfully change it back to English

Comment 11 Fedora Update System 2013-12-14 03:05:56 UTC
system-config-language-1.4.0-5.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Parag Nemade 2013-12-16 17:41:28 UTC
lnie,
  I am not the original author of this system-config-language code but what I have understood from its code is that basic intention behind this tool is to set the system language default. So, once you select any language and click on OK button there is no way to stop setting the selected language as default language and I see this is a correct behaviour. 
  Now In addition to this, system-config-language also provides installing language support. So if selected language support is not already installed then it will ask whether we want to install it or not. If selected Yes then it will proceed with yum installing packages for this language and if selected No then it will just exit.
  So, I don't think this is a valid bug. This behaviour is same for GUI as well as command line execution.

Comment 13 Fedora Update System 2014-01-16 04:39:16 UTC
system-config-language-1.4.0-7.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/system-config-language-1.4.0-7.fc20

Comment 14 Fedora Update System 2014-01-16 07:17:00 UTC
system-config-language-1.4.0-6.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2014-01-19 04:01:55 UTC
system-config-language-1.4.0-7.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.