-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Issues with printing selection since version 8.4 #11826
Comments
this Forum post came after, but seems to be related. The user in the Forum added the information that Settings > Preferences > Print had Colour Options = Black on White.
Screenshot of NPP I definitely agree that it's a bug if the settings are set to Black on White but it still prints selected text with a background color. |
The current version of SciTE does not have this problem in black-on-white printing mode: #~ %USERPROFILE%\SciTEUser.properties
print.colour.mode=2 Only difference I can see is that SciTE stores the selected text in an instance of N++ could do the same after #11734 is merged, but the benefit would be nil as they already enlarged the printable range beyond 2 GiB in 961a133, and swapping in |
It should be fixed in Scintilla newest version which is now merged in Notepad++ master: |
As of 9 days ago, the bug is proclaimed to have been fixed. However, there is apparently no updated release of N++. When should we expect the build that includes this bug fix? |
The release candidate 8.4.3 includes the upgrade to Scintilla 5.2.3. Have you tried that version yet? |
Thank you for a really quick response. I'll try that release candidate. However, I am also interested in the expected schedule for non "candidate" release, as I am a regular user, not a developer. |
I just installed the RC and tested printing a selection. The result certainly does not match my expectations. My expectation is syntax-highlight colored text on NO background (that is what I selected). The result is that the selection is printed with a gray background. Depending on the syntax highlighting (e.g. text literals in light gray), the printed output is quite difficult to read. Selection highlighting is NOT a component that one would expect to print, no matter the color scheme. My print options are set to "No background color". This option is clearly being ignored. |
Confirmed that 8.4.3 does not resolve this issue. Now rather than printing the highlighted selection with a purple background, it prints with a grey background. All previous versions of NPP prior to 8.4 printed with NO background. Please revert this change. |
There has never been a published "expected schedule" before, so I don't think there will be one now. You just have to wait and see like the rest of us. |
@donho, new upstream patch to try: https://sourceforge.net/p/scintilla/bugs/2335/#b237 |
Got these errors:
|
Use the --ignore-whitespace option and try this git-ified version (actually a unified diff of four related changesets [1]): HidePrinting.git.patch.4.npp.txt Or just wait for Scintilla 5.3.0, since upstream has already committed the fix. [1]:
|
Let's wait Scintilla v5.2.5 for updating, if the bug is fixed. |
This development build may resolve the printing issue: https://ci.appveyor.com/project/donho/notepad-plus-plus/builds/44597613/job/9mii1ux7a1w0w0ht/artifacts |
Fixed by |
I tested with this build, and verify that the problem appears to be finally resolved. Thanks to all involved. |
Description of the Issue
Since version 8.4 the text background on a print (only while printing selection) is pink, it's unusable if you're going to print it on a b/w printer.
Steps to Reproduce the Issue
Please add an option to change the background while printing a selection or change it back to no background.
Debug Information
Notepad++ v8.4 (64-bit)
Build time : Apr 20 2022 - 03:31:06
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 11 (64-bit)
OS Version : 2009
OS Build : 25126.1000
Current ANSI codepage : 1252
Plugins : ComparePlugin.dll mimeTools.dll NppConverter.dll NppExport.dll
Example Screenshots
Printing the complete document
![01-Example](https://user-images.githubusercontent.com/56189159/175231702-e6bf6908-d8a3-4ff2-8b63-b3119d8bd29f.png)
![02-Complete](https://user-images.githubusercontent.com/56189159/175231708-8952af05-f07c-4617-beab-ebb00851f094.png)
Printing only some lines
![03-Selection](https://user-images.githubusercontent.com/56189159/175231711-2b5c5e42-c1c0-4693-9668-a05a43aa0664.png)
8.4 and above
![04-Selection_84](https://user-images.githubusercontent.com/56189159/175231717-4d7a299c-e3e8-4eec-bb75-1aac0915b1d6.png)
8.33 and below
![05-Selection_833](https://user-images.githubusercontent.com/56189159/175231719-2bb8650c-d4dc-418e-91f5-45e8c9bd5509.png)
The text was updated successfully, but these errors were encountered: