Red Hat Bugzilla – Bug 750527
Tab order differs on different platforms
Last modified: 2013-07-04 08:59:10 EDT
Description of problem:
i686 version of firstboot has tabs in a different order than x86_64 version of firstboot. The tabs "Date and Time" and "Create User" are swapped. See screenshots.
I don't think that's intentional and I believe the UI should look the same regardless of platform.
Version-Release number of selected component (if applicable):
Created attachment 531132 [details]
Created attachment 531133 [details]
IMHO the problem caused by the fact, that firstboot modules create_user.py and date.py have the same priority.
Next, even though the comment in firstboot/module.py says, that all modules with the same priority are sorted alphabeticaly, it is IMHO not true, because the fistboot/loader.py reads the modules from hard drive (which means in order according to their inode, not alphabeticaly) @line 62, and then the list of 'successfully loaded' modules is sorted just by the priority @line 112.
These two combined IMHO cause the fact that the 32b firstboot and 64b firstboot have different order of modules.
OK, so the bug is in inode order, so it can manifest itself even with two different installations on the same architecture.
BTW, I believe there is no reason to have two modules with the same priority and sort them then according to alphabet, which gives different results for different languages. It seems like a bad idea to me. Use different priorities for all the modules so that it looks the same regardless of inode order and regardless of localization.