Page 1 of 1
Request: Drag'n'Drop to non-active Tabs to activate tab
Posted: Thu Jan 13, 2011 7:26 am
by budz45
hi,
I will explain, in XnView MP v0.33 I am in the Browser mode and I have 1 other image viewer tab opened (so 2 tabs in total on interface). The Browser tab is the active one that I'm in and the image viewer tab is the inactive tab with either a file or <empty>.
I want to be able to Drag'n'Drop files, image files, from my desktop to the inactive viewer tab for that tab to become activated and open just like what is easily possible in many tabbed file-managers like Xyplorer - it's process of draging n dropping files between tabs of folders and the tabs becoming active on moving the cursor drop.
Support for:
1. Drag'n'Drop from Win Explorer/native OS --> to any tabs
2. Drag'n'Drop from Browser too (any file) --> to any viewer tabs
Feature shouldn't be too hard to implement since basic Drag'n'Drop support is already there. just need it for tabs.
thanks for reading.
Re: Request: Drag'n'Drop to non-active Tabs to activate tab
Posted: Tue Jun 21, 2011 12:46 pm
by xnview
Perhaps dra&drop in Tab widget will be better than inactive tab??
Re: Request: Drag'n'Drop to non-active Tabs to activate tab
Posted: Wed Jun 22, 2011 3:33 am
by budz45
xnview wrote:Perhaps dra&drop in Tab widget will be better than inactive tab??
I would still prefer drag to inactive tab for tab to be focused on.
By tab widget do you mean the tab bar? Why not just add support for both

Re: Request: Drag'n'Drop to non-active Tabs to activate tab
Posted: Wed Jun 22, 2011 9:24 am
by xnview
So:
* Drag&Drop on a viewer tab => replace current picture
*Drag&Drop on tab bar => open a new view tab
right?
Re: Request: Drag'n'Drop to non-active Tabs to activate tab
Posted: Wed Jun 22, 2011 12:19 pm
by JohnFredC
xnview wrote:So:
* Drag&Drop on a viewer tab => replace current picture
*Drag&Drop on tab bar => open a new view tab
right?
Yes. That is how it should work!
Re: Request: Drag'n'Drop to non-active Tabs to activate tab
Posted: Wed Jun 22, 2011 2:14 pm
by budz45
xnview wrote:
*Drag&Drop on tab bar => open a new view tab
You see you have to be careful if implementing this tab bar one in the case of doing it with a batch amount of files. Would each file opne in each new tab or would the first file from a batch just open in one new tab only?
For me, I would not add support for dra'n'drop to tab bar (yet)
xnview wrote:So:
* Drag&Drop on a viewer tab => replace current picture
Yes but also for <empty> tab as well
Please watch this small video I made for what I mean:
This topic is related to this:
http://newsgroup.xnview.com/viewtopic.php?f=60&t=21042
Re: Request: Drag'n'Drop to non-active Tabs to activate tab
Posted: Wed Jul 13, 2011 12:25 pm
by xnview
Please check
XnViewMP 0.38
Re: Request: Drag'n'Drop to non-active Tabs to activate tab
Posted: Wed Jul 13, 2011 1:17 pm
by budz45
Just been briefly playing with this new feature

A big Thank you for this.
The only thing left to fix on this feature is to make the non-active tab focused view/highlight upon drag'n'dropping of items and that would be this previous topic
http://newsgroup.xnview.com/viewtopic.php?f=60&t=21042
Re: Request: Drag'n'Drop to non-active Tabs to activate tab
Posted: Wed Jul 13, 2011 4:55 pm
by budz45
Yes, so I means like this video I made...
- dropparayyyy.zip
- drag n drop between tabs in XYplorer
- (212.02 KiB) Downloaded 138 times
so tab should focus/light up upon drag 'n' drop to tab

Re: Request: Drag'n'Drop to non-active Tabs to activate tab
Posted: Fri Jul 15, 2011 2:25 pm
by budz45
Right,
The tab focus-highlight feature is now in XnViewMP
0.38.1 BUT, it's strangely somewhat stubborn to display.
I have made this small video to show what it's currently like in 0.38.1 build (40 second video):
http://tinypic.com/r/349a0bc/7
..Can you see how the highlight responds after a little while but not initially.
EDIT:-
Actually to get tab to highlight on drag 'n' drop you have to do have the drop item across the window title bar

but this is still a bug issue (as seen in the video) because the feature should respond from ANY area space of drag 'n' drop.
Re: Request: Drag'n'Drop to non-active Tabs to activate tab
Posted: Mon Jul 18, 2011 9:23 pm
by budz45
budz45 wrote:Right,
The tab focus-highlight feature is now in XnViewMP
0.38.1 BUT, it's strangely somewhat stubborn to display.
I have made this small video to show what it's currently like in 0.38.1 build (40 second video):
http://tinypic.com/r/349a0bc/7
Fixed in XnViewMP
0.38.2 
Thank you Pierre, merci
