Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blinking window #5

Closed
juliendelplanque opened this issue Nov 7, 2016 · 1 comment
Closed

Blinking window #5

juliendelplanque opened this issue Nov 7, 2016 · 1 comment
Assignees
Labels

Comments

@juliendelplanque
Copy link
Owner

It appears when a collapsed window's thumbnail is updated.

To fix it, just check if the window is collapsed before updating the thumbnail.
If so, don't update the thumbnail (if it is collapsed, the thumbnail of the window didn't changed).

@juliendelplanque juliendelplanque self-assigned this Nov 7, 2016
@juliendelplanque juliendelplanque changed the title Fix blinking window issue Blinking window Nov 7, 2016
@juliendelplanque
Copy link
Owner Author

Tried this in another image and it works:

scheduleThumbnailUpdate
    [ 
        MICarouselSettings thumbnailUpdateTime seconds wait.
        self mirageMutex 
            critical: [ 
                self isCollapsed ifFalse: [ self updateMirageThumbnail ] ].
        self continueToScheduleUpdate
            ifTrue: [ self scheduleThumbnailUpdate ]
    ] forkNamed: 'MirageThumbnailUpdater'.

juliendelplanque pushed a commit that referenced this issue Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant