sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
804 stars 39 forks source link

can't File print in sublime text #5814

Open kirillskoro opened 1 year ago

kirillskoro commented 1 year ago

Description of the bug

Was able to print from sublime text, but seems to break. Was using microsoft edge. was working then broke. Installed firefox and printing was working, but breaks after some use. I cleared the temp folder in appdata. Still doesn't seem to fix the issue.

Steps to reproduce

  1. File
    1. select print

Expected behavior

should open html page and printing dialog box

Actual behavior

nothing happens after I click File---> print

Sublime Text build number

4143

Operating system & version

windows 11

(Linux) Desktop environment and/or window manager

No response

Additional information

No response

OpenGL context information

No response

BenjaminSchaaf commented 1 year ago

Does it work in safe mode?

kirillskoro commented 1 year ago

image

No its also broken in safe mode. Something must be tied into the browser.

BenjaminSchaaf commented 1 year ago

Are there any errors logged in the console (opened by pressing ctrl+`)

kirillskoro commented 1 year ago

must be pressing something wrong ctrl + makes the text bigger. Open this in safe mode or regular console.

BenjaminSchaaf commented 1 year ago

Yes, you should be pressing ctrl and `. Not +.

kirillskoro commented 1 year ago

DPI mode: per-monitor v2 startup, version: 4143 windows x64 channel: stable executable: /C/Program Files/Sublime Text/sublime_text.exe application: /C/Program Files/Sublime Text working dir: /C/Program Files/Sublime Text packages path: /C/Users/kiril/AppData/Roaming/Sublime Text/Packages state path: /C/Users/kiril/AppData/Roaming/Sublime Text/Local zip path: /C/Program Files/Sublime Text/Packages zip path: /C/Users/kiril/AppData/Roaming/Sublime Text/Installed Packages ignored_packages: ["Vintage"] pre session restore time: 0.0643269 startup time: 0.133327 first paint time: 0.160327 reloading plugin Default.arithmetic reloading plugin Default.auto_indent_tag reloading plugin Default.block reloading plugin Default.colors reloading plugin Default.comment reloading plugin Default.convert_color_scheme reloading plugin Default.convert_syntax reloading plugin Default.copy_path reloading plugin Default.echo reloading plugin Default.exec reloading plugin Default.fold reloading plugin Default.font reloading plugin Default.goto_line reloading plugin Default.history_list reloading plugin Default.html_print reloading plugin Default.indentation reloading plugin Default.install_package_control reloading plugin Default.keymap reloading plugin Default.kill_ring reloading plugin Default.mark reloading plugin Default.new_templates reloading plugin Default.open_context_url reloading plugin Default.open_in_browser reloading plugin Default.pane reloading plugin Default.paragraph reloading plugin Default.paste_from_history reloading plugin Default.profile reloading plugin Default.quick_panel reloading plugin Default.rename reloading plugin Default.run_syntax_tests reloading plugin Default.save_on_focus_lost reloading plugin Default.scroll reloading plugin Default.set_unsaved_view_name reloading plugin Default.settings reloading plugin Default.show_scope_name reloading plugin Default.side_bar reloading plugin Default.sort reloading plugin Default.switch_file reloading plugin Default.symbol reloading plugin Default.transform reloading plugin Default.transpose reloading plugin Default.ui reloading plugin CSS.css_completions reloading plugin Diff.diff reloading plugin HTML.encode_html_entities reloading plugin HTML.html_completions reloading plugin ShellScript.ShellScript plugins loaded

BenjaminSchaaf commented 1 year ago

Is that after trying to print?

kirillskoro commented 1 year ago

ok seemed to have fixed it. You have to link html files to browser then it opens the print menu. cannot have all files linked to sublime text.

Bothparents commented 1 year ago

I'm having the same issue. @kirillskoro how/where did you link html files to browser?

kirillskoro commented 1 year ago

link the .py files to open with a web browser.