great. the bug can be reproduced using the following steps.
1. open geditor, open a hidden file (say for eg, .bash_history)
2. open nautilus. all hidden files and folders would be visible.
3. close gedit. the hidden files and folders in nautilus cannot be hiddedn any more using ctrl+h shortcut
4. even view > uncheck show hidden items doesn't work
5. files can be finally hidden by going to preferences > views tab > uncheck show hidden files checkbox