Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369127

Summary: OpenID login window pops up suddenly
Product: z_Archived Reporter: Sam Davis <sam.davis>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 0.9   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Sam Davis CLA 2012-01-19 13:11:46 EST
I keep having the open ID login window pop up when I'm in the middle of doing something. Sometimes I'm in the middle of typing and the window steals my keystrokes and then closes. After logging in once, I should never have to log in again, and I certainly shouldn't be prompted like this.
Comment 1 Steffen Pingel CLA 2012-01-26 21:42:23 EST
I have pushed a fix. Please reopen if you are still getting the prompt on background synchronizations after updating to the latest.
Comment 2 Steffen Pingel CLA 2012-01-26 21:42:25 EST
Created attachment 210164 [details]
mylyn/context/zip
Comment 3 Sam Davis CLA 2012-01-27 02:06:45 EST
Thanks Steffen! I'll do that.
Comment 4 Steffen Pingel CLA 2012-01-27 10:05:08 EST
Reopening as a reminder to push the change to split repository after the move is complete.
Comment 5 Steffen Pingel CLA 2012-01-28 11:41:00 EST
Fixed in master.
Comment 6 Sam Davis CLA 2012-02-10 17:26:29 EST
I am no longer getting the prompt, but instead, the sync just fails. When I manually refresh, the login window pops up and disappears on its own, and then the sync works.
Comment 7 Steffen Pingel CLA 2012-02-11 07:04:40 EST
That's the expected behavior for background synchronizations. You will need to manually refresh to log-in again.
Comment 8 Steffen Pingel CLA 2012-02-11 07:11:14 EST
We could consider prompting once or something along those lines. You will run into the same problem with any connector if you change your password on the repository or don't save it. Background synchronizations will fail and queries will decorated with the warning icon.
Comment 9 Sam Davis CLA 2012-02-12 16:31:18 EST
But I didn't change my password. Is this going to happen every time I restart Eclipse?
Comment 10 Sam Davis CLA 2012-02-12 16:33:07 EST
Yes, it just happened again. Note that I don't actually need to enter my credentials again, it just pops up the login window for an instant and closes it. Also, I'm using the scheduled presentation, so there's nothing to tell me that I the synchronization failed. Most people will probably never realize they may be missing incomings.
Comment 11 Steffen Pingel CLA 2012-02-13 02:48:55 EST
(In reply to comment #10)
> Yes, it just happened again. Note that I don't actually need to enter my
> credentials again, it just pops up the login window for an instant and closes
> it. 

The browser caches credentials in a cookie in this case.

> Also, I'm using the scheduled presentation, so there's nothing to tell me
> that I the synchronization failed. Most people will probably never realize they
> may be missing incomings.

Yes, it's not optimal. We could show some sort of message in the task list that authentication failed for some repositories to make this more obvious. Feel free to file a bug for that.