Bug 510712 - Project context menu performs I/O on UI thread => can block UI for long periods
Summary: Project context menu performs I/O on UI thread => can block UI for long periods
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-19 13:47 EST by Missing name CLA
Modified: 2017-01-20 11:55 EST (History)
2 users (show)

See Also:


Attachments
main thread stacktrace when opening the context menu where EGit does IO (5.32 KB, text/x-log)
2017-01-19 13:47 EST, Missing name CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2017-01-19 13:47:40 EST
Created attachment 266365 [details]
main thread stacktrace when opening the context menu where EGit does IO

When right clicking on the project context menu EGit tries to do IO on the UI thread and can block the UI for log periods. See attached stack trace of the main thread.
Comment 1 Matthias Sohn CLA 2017-01-19 17:42:08 EST
which EGit version are you using ?
Comment 2 Missing name CLA 2017-01-20 11:26:29 EST
I am using EGit 4.6.0.201612231935-r
Comment 3 Thomas Wolf CLA 2017-01-20 11:52:32 EST
Undeniably the canPushToGerrit accesses the git config :-(.

What exactly is this bug report about: that this can or could block, or that you actually _had_ the UI blocked for a long period?
Comment 4 Missing name CLA 2017-01-20 11:55:51 EST
I had the UI blocked for a long period. I was able to get that stack trace because the UI was frozen.