GNOME Bugzilla – Bug 753356
window-slot should handle the window visibility
Last modified: 2015-08-07 18:32:07 UTC
Currently, NautilusView contacts NautilusWindow directly for it to show the current view. Since we're isolating NautilusView, it is a good idea to not do it.
Created attachment 308903 [details] [review] window-slot: show window when view starts loading NautilusView directly access NautilusWindow to make sure the window is shown when the view starts loading, and not before this. Since we're restricting communication between NautilusView and other widgets, the view shouldn't ask the window directly. Fixed by making NautilusWindowSlot handle the visibility of the window on NautilusView::begin-loading signal.
Review of attachment 308903 [details] [review]: So I think what we actually want is show the window inmediatily, and then mark the view as loading, how does that it sounds? It is actually part of the wanted design, not sure if I understood correctly the code since Im on the phone :)
Review of attachment 308903 [details] [review]: Ok so to not spend time on this... I would say this looks okay. Update the commit message to explain why you can remove the code that updates the title of suposedly every hidding slot that wxisted before showing the window
Attachment 308903 [details] pushed as ae96063 - window-slot: show window when view starts loading