Yesterday my S developed a variant of the previously reported sunroof opening glitch. Since I've had my car for 2-1/2 months and this was the first time I'd opened the sunroof since installing 4.0, I assumed at first it was a software 'feature'. Here's the rundown:
1. Dragged down on the graphic in the Sunroof page on the touch screen: the sunroof panel popped up and stopped. After I released my finger from the screen the graphic returned to showing the sunroof as closed.
2. Dragged down on the graphic again: sunroof opened to the selected position and the graphic update appropriately. Dragged up on the graphic: sunroof closed normally.
3. Repeat 1. and 2.: same behavior.
4. Called Ownership and described behavior. Tesla rep at first claimed it was a new feature of 4.0 and said he thought it was kind of 'abrupt' the way it now worked. Asked me to try using the slider control instead of dragging down on the graphic. Same behavior: sunroof pops up and stops; slider graphic returns to 'Closed' indication. Second swipe opens the sunroof to selected position.
5. I notice that on the initial attempt the sunroof pops up, but only part way to the 'Vent' position. Coupled with the 'Closed' indication, I argue that it can't be a feature, but must be a glitch: Ownership rep agrees to write it up.
6. After several more experiments where it takes two attempts to open the sunroof, suddenly it starts working as it always has up to yesterday: one swipe, and the sunroof opens to the selected position with appropriate indications on the touch screen. Since then I've tried it half a dozen times over several hours: the anomalous behavior of 1. and 2. hasn't recurred.
So I take away from this that while there may have been a software change with 4.0 that affects sunroof behavior, it's not necessarily intentional and it certainly isn't consistent. BTW, the rep told me that there will be a 4.1 rev coming out in the next few weeks. He also responded to my queries about the smartphone app by saying that the ball is in the App Store's court: the iPhone version, at least, is released and awaiting Apple's approval.