x2: "Auto refresh" could be better
Moderators: fgagnon, nikos, Site Mods
-
flexigon
- Bronze Member

- Posts: 82
- Joined: 2003 Oct 14, 16:05
x2: "Auto refresh" could be better
When x2 automatically refreshes the shown directory in either panel because files were added/updated outside of x2 then the current scroll position is not retained and instead the currently selected file pops back into view.
This behaviour makes it very hard to scroll through a directory in which files are often updated (e.g. a general "downloads" directory).
This behaviour makes it very hard to scroll through a directory in which files are often updated (e.g. a general "downloads" directory).
-
narayan
- Platinum Member

- Posts: 1430
- Joined: 2002 Jun 04, 07:01
This (I suppose) is related to my observation that after merging some split files that were towards the bottom of a long file list, x2 jumps to somewhere near top. But there it does retain its focus on the split files! Only the files are out of sight; and we have to scroll down to see them again, all the time taking care not to click anywhere (otherwise the focus will be lost)
-
JRz
- Gold Member

- Posts: 560
- Joined: 2003 Jun 10, 23:19
- Location: NL
Re: x2: "Auto refresh" could be better
This behaviour of retaining the selected file(s) in the view, even when you change the sort order (!) is normally very conveniant, but I agree that this is a nuisance.flexigon wrote:When x2 automatically refreshes the shown directory in either panel because files were added/updated outside of x2 then the current scroll position is not retained and instead the currently selected file pops back into view.
This behaviour makes it very hard to scroll through a directory in which files are often updated (e.g. a general "downloads" directory).
If you have a folder with some files which get updated very frequently (log files for instance) it is virtually impossible to scroll away from selected files, because the position gets reset almost instantly. You must select some file to get X2 to keep the view from returning to the previously selected file(s). This migth not be what you wanted to do.
Another observation: the auto-refresh gets in the way too much when you have the above situation (files being updated almost all the time) in combination with a relatively slow (network)connection. The WaitCursor is making overtime in such cases and X2 is not very responsive. Does anyone see that behaviour too?
Dumb questions are the ones that are never asked 
-
narayan
- Platinum Member

- Posts: 1430
- Joined: 2002 Jun 04, 07:01
Another (related? ) observation: if the user is editing a filename, and a pane is updated, x2 leaves edit mode by itself, and discards the partially entered name (it reinstates the name before the edit mode started).
Thus when a pane is being updated often (because of a downloader or something), editing can't be done at all.
Thus when a pane is being updated often (because of a downloader or something), editing can't be done at all.
-
fgagnon
- Site Admin

- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
Yes, I've seen some of those behaviours -- but only infrequently, because my x2 usage is only occasionally in folders with active other-user activity & I have not had need to merge split files.
While I recognized that the spasms were related to real time file activity in the active pane, I had not previously given any thought on this issue as to how I would prefer x2 to behave & under what conditions (it hasn't happened enough to be a real bother for me -- but I can see the nuisance for network & real time work-group admin situations).
Perhaps one case could be dealt with by having x2 prioritise filename edit above background activity so auto-refresh is put on hold until edit is complete.
And for the times when the user knows he/she is working in a boiling cauldron of file activity -- how about a gui control to turn off auto-update, nikos?
While I recognized that the spasms were related to real time file activity in the active pane, I had not previously given any thought on this issue as to how I would prefer x2 to behave & under what conditions (it hasn't happened enough to be a real bother for me -- but I can see the nuisance for network & real time work-group admin situations).
Perhaps one case could be dealt with by having x2 prioritise filename edit above background activity so auto-refresh is put on hold until edit is complete.
And for the times when the user knows he/she is working in a boiling cauldron of file activity -- how about a gui control to turn off auto-update, nikos?
-
nikos
- Site Admin

- Posts: 16341
- Joined: 2002 Feb 07, 15:57
- Location: UK
there is nothing left to chance or random jumps.
x2 like 2x before it assumes that users work around the "focused" item. So it tries to keep it in view. If you want to scroll around in a folder with frequent changes, its best to do it with the keyboard (PgDown/Up) so that the focus moves along. If you just use the scrollbar, then you'll experience these "jumps". It is an exact science all along!
x2 like 2x before it assumes that users work around the "focused" item. So it tries to keep it in view. If you want to scroll around in a folder with frequent changes, its best to do it with the keyboard (PgDown/Up) so that the focus moves along. If you just use the scrollbar, then you'll experience these "jumps". It is an exact science all along!
-
flexigon
- Bronze Member

- Posts: 82
- Joined: 2003 Oct 14, 16:05
-
nikos
- Site Admin

- Posts: 16341
- Joined: 2002 Feb 07, 15:57
- Location: UK
with the exception of JRz, all other posters seemed to believe that some sort of paranormal activity was involved, maliciously scrolling the active pane just for laughs. I just wanted to set the record straight 
now wrt disabling autorefresh, wouldn't a new GUI feature (eg menu item) controlling whether autorefresh is on/off, be overkill?
now wrt disabling autorefresh, wouldn't a new GUI feature (eg menu item) controlling whether autorefresh is on/off, be overkill?
-
fgagnon
- Site Admin

- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
-
flexigon
- Bronze Member

- Posts: 82
- Joined: 2003 Oct 14, 16:05
-
flexigon
- Bronze Member

- Posts: 82
- Joined: 2003 Oct 14, 16:05
-
JRz
- Gold Member

- Posts: 560
- Joined: 2003 Jun 10, 23:19
- Location: NL
A menu item wouldn't be overkill I think. Similar like the mirror browsing and mirror scrolling it could be controlled by a menu item and optional shortcut key (Ctrl-Alt-R ??)
Thinking about this, it would be nice to have some sort of indication that auto-refresh is disabled (I agree with most members that it should be on by default). Maybe it is sensible to have an indicator in the titlebar of the pane to show that the pane contents is out of sync with reality when auto-refresh is off and the contents of the pane should have been refreshed if auto-refresh were on, just like many editors have when the file being edited is 'dirty' (changed and not saved yet).
It should be possible to disable the feature in each pane separately. Only the active pane should be affected by using the shortcut or menu item to disable refreshing.
Maybe it is even sensible to re-enable it automatically when a change of folders is executed. That way the shortcut Ctrl-Alt-R works like a kind of 'un-refresh pane' switch only for the time the current folder is active.
Food for thought?
Thinking about this, it would be nice to have some sort of indication that auto-refresh is disabled (I agree with most members that it should be on by default). Maybe it is sensible to have an indicator in the titlebar of the pane to show that the pane contents is out of sync with reality when auto-refresh is off and the contents of the pane should have been refreshed if auto-refresh were on, just like many editors have when the file being edited is 'dirty' (changed and not saved yet).
It should be possible to disable the feature in each pane separately. Only the active pane should be affected by using the shortcut or menu item to disable refreshing.
Maybe it is even sensible to re-enable it automatically when a change of folders is executed. That way the shortcut Ctrl-Alt-R works like a kind of 'un-refresh pane' switch only for the time the current folder is active.
Food for thought?
Dumb questions are the ones that are never asked 
-
nikos
- Site Admin

- Posts: 16341
- Joined: 2002 Feb 07, 15:57
- Location: UK
that's what i was thinking, exactly!
now regarding a visual indicator for "dirty" contents, it would be confusing the GUI. Most users won't even know it is possible to switch autorefresh off, and would scratch their heads nonstop for any indicators for it!
i'll add a menu item that says "Don't refresh this folder" with a checkmark. When you move to another folder, it will be reset automatically. I suppose narayan's claim for renames is right too
finally, i deactivated the focus-after-refresh, for your convenience
now regarding a visual indicator for "dirty" contents, it would be confusing the GUI. Most users won't even know it is possible to switch autorefresh off, and would scratch their heads nonstop for any indicators for it!
i'll add a menu item that says "Don't refresh this folder" with a checkmark. When you move to another folder, it will be reset automatically. I suppose narayan's claim for renames is right too
finally, i deactivated the focus-after-refresh, for your convenience
-
JRz
- Gold Member

- Posts: 560
- Joined: 2003 Jun 10, 23:19
- Location: NL
Granted! On second thought I don't like it either. Keeping the interface as clean as possible is a worthy causenow regarding a visual indicator for "dirty" contents, it would be confusing the GUI
Yep. Would like that to be fixed too.I suppose narayan's claim for renames is right too
Looking forward to .49
Dumb questions are the ones that are never asked 
-
flexigon
- Bronze Member

- Posts: 82
- Joined: 2003 Oct 14, 16:05