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

Tab mode: allow multiple windows, moving tabs between windows #18

Open
kjk opened this Issue Dec 8, 2014 · 13 comments

Comments

Projects
None yet
@kjk
Copy link
Member

kjk commented Dec 8, 2014

This only applies to tabs ui mode.

We need to implement drag&drop of tabs, with the following behavior:

  • dragging within tab bar works like today: re-arranges the tab order
  • dragging a tab to another sumatra window moves the tab to that window. By default as the last tab. As a bonus, if dropped on tab area, puts at the position where it was dropped
  • dragging a tab outside a window and dropping creates a new window with this tab as the first tab

As a bonus, when drag&drop is initated, the drag image is a thumbnail of the document.

When dragging out the last tab of the window, we close the window.

@cheesecracker

This comment has been minimized.

Copy link

cheesecracker commented Jun 28, 2015

Please add the following behaviour:

  • Right-click on a tab. Context menu suggests "Move to new window"
    NB: This is implemented in Firefox and I find it very cool to use.
@theFork

This comment has been minimized.

Copy link

theFork commented Apr 7, 2016

+1
Support for multiple windows would be nice, regardless how to un-dock tabs.

@Balls0fSteel

This comment has been minimized.

Copy link

Balls0fSteel commented Jan 12, 2017

Subscribed, this would be awesome.

@AndyDurden

This comment has been minimized.

Copy link

AndyDurden commented Mar 30, 2017

Very interested in this

@p0te

This comment has been minimized.

Copy link

p0te commented May 20, 2017

How would one contribute to this issue? I plan on looking at how this behavior is accomplished in chromium and Firefox, but I'm not nearly skilled enough to try to replicate that code. I guess I'll see what I can gather from the source and post my findings here. or is there a better mechanism for that in GitHub? (i.e. If I have an idea of how to implement the solution, but not the skills to implement it myself, how do I share that idea )

@kjk

This comment has been minimized.

Copy link
Member Author

kjk commented May 20, 2017

Really the only thing that would help is a working implementation. It's just a lot of work.

@Sasstraliss

This comment has been minimized.

Copy link

Sasstraliss commented Nov 6, 2017

Would really like this feature

@spok7

This comment has been minimized.

Copy link

spok7 commented Jan 17, 2018

Workaround for multiple tabs:

  1. Run SumatraPDF
  2. Create and go to a new virtual desktop (Task View Button or Win+Tab, New desktop)
  3. Run SumatraPDF in new desktop (this should run a new instance in the new desktop)
  4. Drag window from one virtual desktop to the other in task view
  5. Close unused virtual desktop
  6. Profit

Edit: I am running Windows 10 Pro, and I am not able to run more than 2 instances with this method.

@spok7

This comment has been minimized.

Copy link

spok7 commented Jan 17, 2018

Sadly that solution only works for Windows 10 systems. Shout outs to all of the awesome devs that are working on these features!

@strandloper

This comment has been minimized.

Copy link

strandloper commented Feb 2, 2018

I tried the suggestion from @spok7 but it didn't work for me. When I tried to launch the new instance of SumatraPDF on the second desktop, it just switched to the first desktop and focused the already running SumatraPDF instance. This on Windows 10 Fall Creator's Edition.

@strandloper

This comment has been minimized.

Copy link

strandloper commented Feb 2, 2018

I have just found an easier way to launch a second SumatraPDF instance. No need for virtual desktops; just make a second copy of SumatraPDF.exe, I just copied and pasted so I have "SumatraPDF - Copy.exe". Execute both executables and you end up with two instances of SumatraPDF.

@ThrosturX

This comment has been minimized.

Copy link

ThrosturX commented Jul 9, 2018

How has this PDF viewer survived 4 years since this issue opened?? Do people really only read 1 PDF at a time, like ever?

EDIT: Best workaround so far: Options > Use tabs (uncheck)

@RazinShaikh

This comment has been minimized.

Copy link

RazinShaikh commented Jan 3, 2019

Workaround suggested by @ThrosturX can also be used to open multiple windows with multiple tabs.

  1. Open the tabs you want in one window
  2. Options > Use tabs (uncheck)
  3. Open another window
  4. Options > Use tabs (check)
  5. Open files in the new window as tabs
  6. Repeat as needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.