Bug 575689 - Print selection from editor does not stop
Summary: Print selection from editor does not stop
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.21   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 4.23 M3   Edit
Assignee: Lakshmi P Shanmugam CLA
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-08-29 03:33 EDT by J.F.Lanting CLA
Modified: 2022-02-19 01:13 EST (History)
2 users (show)

See Also:


Attachments
Print queue (63.08 KB, image/png)
2021-12-12 10:23 EST, J.F.Lanting CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description J.F.Lanting CLA 2021-08-29 03:33:45 EDT
print selection starts at the correct line but prints the entire source down.
Running 4.21M3 without any plug-in's on Catalina.

B.t.w.: I tried 4.21RC1 and it did not print at all ......
;JOOP!
Comment 1 J.F.Lanting CLA 2021-08-29 03:34:37 EDT
P.S.: all other applications (e.g. LibreOffice) print well.
;JOOP!
Comment 2 J.F.Lanting CLA 2021-08-29 05:50:04 EDT
In addition: something disturbing:

I did several print attempts from several machines in the network and found
that selection prints may hang at random for a long time, while 'all'-prints
pass them by and are printed completely.

Further, I found that and old bug, # 566780, "unable to print a single page"
was never repaired although somebody found the error in the source code.
Probably these cases are related.

For the time being: printing selections and single pages must be done
by copy and paste to LibreOffice writer. Certainly not the intention
of the ECLIPSE crew.
;JOOP!
Comment 3 J.F.Lanting CLA 2021-09-02 06:34:52 EDT
Installed ECLIPSE 4.21RC1a :: no selection printing at all!
The print queue shows the status: Incoming till you cancel the print.
;JOOP!
Comment 4 J.F.Lanting CLA 2021-09-02 15:55:41 EDT
... even printing as *.pdf does not work: it produces files that neither Preview
nor other utilities can read.
;JOOP!
Comment 5 J.F.Lanting CLA 2021-09-07 06:13:55 EDT
Installed Eclipse 4.21RC2:

- NO selection print (Incoming hang)
- NUL pdf file (same hang?)
;JOOP!
Comment 6 J.F.Lanting CLA 2021-09-10 04:04:46 EDT
Installed Eclipse 4.21RC2a:
Printing works again, but selection print as before:
everything beyond selection too.

Exactly the same behaviour with print to *.pdf and to Preview.
But at least it prints again; call it progress ....
;JOOP!
Comment 7 J.F.Lanting CLA 2021-11-04 13:40:04 EDT
Installed 4.22M1: does NOT print selections at all ......
;JOOP!
Comment 8 J.F.Lanting CLA 2021-11-13 11:38:10 EST
Installed 4.22M3 : no selective printing, no sending to Preview, no saving as PDF.

Well, ....
;JOOP!
Comment 9 J.F.Lanting CLA 2021-11-22 04:37:52 EST
4.22RC1 ....... still the same.

Could someone spend some minutes on this bug?
;JOOP!
Comment 10 J.F.Lanting CLA 2021-11-28 00:27:33 EST
4.22RC2: no selection print.
;JOOP!
Comment 11 J.F.Lanting CLA 2021-12-12 10:23:10 EST
Created attachment 287668 [details]
Print queue

Eclipse 4.22 : as before, the print queue may hang for years ......
;JOOP!
Comment 12 J.F.Lanting CLA 2022-01-08 02:57:04 EST
Eclipse 4.23M1: as before, print queue hangs.

Happy New Year, I suppose.
;JOOP!
Comment 13 Eclipse Genie CLA 2022-01-17 04:37:30 EST
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/189699
Comment 15 Lakshmi P Shanmugam CLA 2022-01-17 05:57:30 EST
Happens on all platforms. Caused by a selection offset related change in Bug 562676.
Comment 16 Lakshmi P Shanmugam CLA 2022-02-15 12:58:43 EST
Verified in Build id: I20220214-1800
Comment 17 J.F.Lanting CLA 2022-02-19 01:13:17 EST
4.23M3 on Big Sur: seems OK
Thanks for mending.
;JOOP!