Request: Drag'n'Drop to non-active Tabs to activate tab

Bugs and Suggestions in XnView MP or XnConvert MP which have been resolved.

Moderators: helmut, XnTriq, xnview

User avatar
budz45
XnThusiast
Posts: 1598
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Request: Drag'n'Drop to non-active Tabs to activate tab

Post 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.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
xnview
Author of XnView
Posts: 37889
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Request: Drag'n'Drop to non-active Tabs to activate tab

Post by xnview »

Perhaps dra&drop in Tab widget will be better than inactive tab??
Pierre.
User avatar
budz45
XnThusiast
Posts: 1598
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Request: Drag'n'Drop to non-active Tabs to activate tab

Post 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 :wink:
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
xnview
Author of XnView
Posts: 37889
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Request: Drag'n'Drop to non-active Tabs to activate tab

Post by xnview »

So:
* Drag&Drop on a viewer tab => replace current picture
*Drag&Drop on tab bar => open a new view tab
right?
Pierre.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: Request: Drag'n'Drop to non-active Tabs to activate tab

Post 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!
John
User avatar
budz45
XnThusiast
Posts: 1598
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Request: Drag'n'Drop to non-active Tabs to activate tab

Post 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:
drag-to-tab-demo.zip
This topic is related to this: http://newsgroup.xnview.com/viewtopic.php?f=60&t=21042
You do not have the required permissions to view the files attached to this post.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
xnview
Author of XnView
Posts: 37889
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Request: Drag'n'Drop to non-active Tabs to activate tab

Post by xnview »

Please check XnViewMP 0.38
Pierre.
User avatar
budz45
XnThusiast
Posts: 1598
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Request: Drag'n'Drop to non-active Tabs to activate tab

Post by budz45 »

Just been briefly playing with this new feature :D A big Thank you for this. :P

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
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
Posts: 1598
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Request: Drag'n'Drop to non-active Tabs to activate tab

Post by budz45 »

budz45 wrote: 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
Yes, so I means like this video I made...
dropparayyyy.zip
so tab should focus/light up upon drag 'n' drop to tab :)
You do not have the required permissions to view the files attached to this post.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
Posts: 1598
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Request: Drag'n'Drop to non-active Tabs to activate tab

Post 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 8) 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.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
Posts: 1598
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Request: Drag'n'Drop to non-active Tabs to activate tab

Post 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 :P Thank you Pierre, merci :)
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only