geordanr / xwing

Squad builder for the First Edition X-Wing Miniatures game by Fantasy Flight Games.
http://geordanr.github.io/xwing
MIT License
97 stars 154 forks source link

Unable to print #568

Open SgtKUSMC opened 6 years ago

SgtKUSMC commented 6 years ago

Hi there, I am unable to print any of my builds using the available print function.

Any help would be appreciated.

YASB Bug Report

Note: If you are experiencing problems with the permalink URL when you have Maul or Bomblet Generator in your list, this is a known issue. For more information please see https://www.reddit.com/r/XWingTMG/comments/7c4q6h/yet_another_squad_builder_problems_with_maul/

Expected Behavior

State what you expect to happen here.

Actual Behavior

State what actually happens here.

Language

State what language translation you use.

geordanr commented 6 years ago

Can you provide more detail? What happens when you click the Print button?

What browser and OS are you using?

austingraham24 commented 6 years ago

Experiencing the same problem. I'm on a mac (El Capitan) using Chrome.

Expected Behavior: The modal pops up and there is a print button (or other instructions) to trigger printing the content.

What actually happens: I get the modal pop up with options. There is no button or info on how to print. If I just right click / go to file print, the page is blank.

Attempting to include screenshots: screen shot 2018-03-28 at 12 30 31 pm screen shot 2018-03-28 at 12 34 02 pm

geordanr commented 6 years ago

Is it happening only in Safari, or are other browsers affected?

austingraham24 commented 6 years ago

Aha! I have more info! So on both safari and chrome, the modal pops up but since the modal is larger than what is on the screen, most of the bottom content is cut off. (Meaning, I cant keep scrolling down the page to see the rest of the modal (see image))

If I full screen them on the mac, it works fine. screen shot 2018-03-28 at 2 03 34 pm

In full screen mode on the mac, the modal is sized/placed correctly and I can see all of the options and hit the print button just fine.

screen shot 2018-03-28 at 2 07 32 pm

austingraham24 commented 6 years ago

Also I should mention that this is on a laptop and not a full monitor. (I haven't tested a full monitor yet)

zavrtak commented 6 years ago

Have you tried to press the "change" button and switch to a different printing target, preferable a printer, to actually print? Currently your system is setup for PDF Printing, so you are "printing" directly to a PDF-File.

austingraham24 commented 6 years ago

Yeah I was, and it did not work yesterday (remained a blank page). Today, however, something different is happening (because why not).

So now, I can right click on the modal and the print view has content inside of it. However, it does not format with the options if they are checked, it only has the black and white minimum. So it'll work, just not the full functionality (obviously in full screen to get the rest of the modal to appear and clicking print still works as it is intended)

**Edit: now print results in the blank page again. It might have been caching the data which is why this morning right click print worked. A new window and right click print is still a blank page.