linuxmint/xed

XED prints pages from EACH tab rather than only the active one

Opened this issue · 1 comments

 * xed - Version 3.2.8 (xed --version)
 * Distribution - (Mint 21.1 Mate)

Issue
I want to print page 1 of the file open in tab 3 of Xed
XED sends print jobs of page 1 for each and every one of my 11 files open in tabs
Even if a second instance of Xed is being opened with just 1 tab, printing in that tab still causes the creation of print jobs for ALL 12 tabs in BOTH instances.

This is madness! Behaving this way, Xed's Print feature is pointless!
Or do I miss something essential?

Steps to reproduce

  • in active tab for which page(s) should be printed
  • File → Print → General: Range: Pages 1 , Copies: 1
  • click Preview button: Preview shows correct selection: page 1 of file in active tab
  • click Print button
  • Document Print Status populates with 11 print jobs, each for page 1 of every Xed tab
  • printer spits out 11 pages, one for each tab. Strangely with a huge empty top margin (≈35mm)
  • open a second instance of Xed with just 1 tab and print page 1 of that file from Print Preview → print jobs for ALL 12 tabs in BOTH Xed instances are created!!

Expected behaviour
Only page(s) of the one active tab should be sent to printer

Other information
option to adjust print margins (e.g. for bindings) and to add Date and optionally Time to end of Page Header line would be quite useful (`a la MS Notepad)

And there is another oddity. In addition to the some 4mm unprintable top and bottom margin on letter paper, I get additional 6 lines (Monospace 9, no page header) worth of empty space on top of each printed page, which isn't shown in the preview.
Since my printer is a 19 years old laser MFC model, I am using the proprietary Brother USB Linux printer driver for it, installed with Brother's linux-brprinter-installer-2.2.3-1 script.

Confirm, same things happened to me 2 times.