Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

filechooser dialog causing too many refreshes #840

Open
dracodoc opened this issue Apr 21, 2013 · 0 comments
Open

filechooser dialog causing too many refreshes #840

dracodoc opened this issue Apr 21, 2013 · 0 comments

Comments

@dracodoc
Copy link

When I moved a file to clipboard, I noticed there was 3 full refreshes in the procedure: 1 caused by file list change, 1 by pop up dialog, 1 by file list update or pop up dialog disappeared. And the operation of paste file from clipboard will have 2 full refreshes too.

I think the original method caused 3 refreshes for one operation is a little bit too much, so I changed the pop up dialog to the top message same with the "bookmark added" method. Now there will be only one full refresh for each operation.

Original:
InfoMessage:inform("Moving files from clipboard...", DINFO_NODELAY, 0, MSG_AUX)
Now:
InfoMessage:drawTopMsg(_("Moving files from clipboard..."))

I knew some people may prefer the normal dialog instead of the top message, so I'm just suggesting an option here. Whether to change it depend on whether you think the 3 full refreshes are OK.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant