You dont need to switch to xorg just set the env var to tell qt to use x11 instead of wayland. And wayland has been *full* of bugs for years now. You presumably have barely used calibre if you think wayland had no issues.
You dont need to switch to xorg just set the env var to tell qt to use x11 instead of wayland. And wayland has been *full* of bugs for years now. You presumably have barely used calibre if you think wayland had no issues.
I have actually used it a lot. I switched eReaders and used Calibre to move my library from the old one to the new one (Kindle to Kobo, so conversions involved, too). Also have used it to side-load various free books and generally to manage my digital library -- create collections, add tags, match books on the reader to books in my library, etc.
I can still try setting the env var to x11 and see if it makes a difference tho.
[0.00] Starting up...
[0.00] Showing splash screen...
[1.08] splash screen shown
[1.08] Initializing db...
[1.15] db initialized
[1.15] Constructing main UI...
DEBUG: 0.0 Kobo Utilities Configuration - CreateNewCustomColumn is supported
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 0.0 KoboUtilites::dialogs.py - loading translations
DEBUG: 0.0 KoboUtilites::action.py - loading translations
ACSM Input: GUI Plugin Genesis!
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
[1.99] GUI main window shown
EpubMerge: DEBUG: 2024-09-19 10:47:36,128: calibre_plugins.epubmerge.epubmerge_plugin(156): macmenuhack file_path:/home/xxxx/.config/calibre/plugins/fanficfare_macmenuhack.txt
DEBUG: 0.6 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 0.6 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG: 0.6 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 0.6 device_driver_name - could not load extended driver. Exception= No module named 'calibre_plugins.kobotouch_extended'
DEBUG: 0.6 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders
Driver: KoboTouch'
DEBUG: 0.6 device_driver_name - could not load extended driver. Exception= No module named 'calibre_plugins.kobotouch_extended'
[2.04] main UI initialized...
[2.04] Hiding splash screen
[2.04] splash screen hidden
[2.04] Started up in 2.04 seconds with 1273 books
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::zwp_text_input_v3_leave(wl_surface*) Got leave event for surface 0x0 focused surface 0x643bfc42fc00
qt.qpa.wayland: Creating a popup with a parent, QWidgetWindow(0x643c017e7200, name="MainWindowWindow") which does not match the current topmost grabbing popup, QWidgetWindow(0x643c02072cf0, name="QMenuClassWindow") With some shell surface protocols, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly. Please fix the transient parent of the popup.
Worker Launch took: 0.01 seconds
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::zwp_text_input_v3_leave(wl_surface*) Got leave event for surface 0x0 focused surface 0x643c033d0f30
Job: 0 Convert book 1 of 1 (On Basilisk Station) finished
Convert book 1 of 1 (On Basilisk Station)
Processing archive...
Conversion options changed from defaults:
page_breaks_before: '/'
remove_fake_margins: False
read_metadata_from_opf: '/tmp/calibre_7.18.0_tmp_2gfm6gx0/2htr197n.opf'
expand_css: True
chapter: '/'
search_replace: '[["<script(.*?)>[^>]+>]]>", ""], ["<p (.*?)right\\">(.*?)Next(.*?)\\\\s*(.*?)</p>", ""], ["<body onload=\\"setStyle\\\\(\\\\)\\">", " <body> "], ["<a id=\\"p[0-9]+\\" name=\\"p[0-9]+\\"></a><p onmouseover=\\"PNo\\\\([0-9]+\\\\)\\"", "<p"], ["<([a-z][a-z0-9]*) align=\\"center\\">", "<\\\\1 align=\\"center\\" style=\\"text-indent: 0;\\">"]]'
cover: '/tmp/calibre_7.18.0_tmp_2gfm6gx0/txwgud50.jpeg'
margin_right: 3.0
margin_bottom: 2.0
extra_css: 'p{margin-bottom: 0em;margin-top: 0em;}\nbody{line-height: 1.2; widows: 1;\n orphans: 1; margin-left: 4pt !important;\n margin-right: 4pt !important;}'
verbose: 2
minimum_line_height: 0.0
margin_top: 4.0
margin_left: 3.0
mobi_toc_at_start: True
output_profile: 'tablet'
max_toc_links: 160
change_justification: 'justify'
Resolved conversion options
calibre version: 7.18.0
{'add_alt_text_to_img': False,
'allow_local_files_outside_root': False,
'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'breadth_first': False,
'change_justification': 'justify',
'chapter': '/',
'chapter_mark': 'pagebreak',
'comments': None,
'cover': '/tmp/calibre_7.18.0_tmp_2gfm6gx0/txwgud50.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'dont_package': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'expand_css': True,
'extra_css': 'p{margin-bottom: 0em;margin-top: 0em;}\n'
'body{line-height: 1.2; widows: 1;\n'
' orphans: 1; margin-left: 4pt !important;\n'
' margin-right: 4pt !important;}',
'extract_to': None,
'filter_css': '',
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x77cc1f5f82d0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 2.0,
'margin_left': 3.0,
'margin_right': 3.0,
'margin_top': 4.0,
'markup_chapter_headings': True,
'max_levels': 5,
'max_toc_links': 160,
'minimum_line_height': 0.0,
'mobi_toc_at_start': True,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.TabletOutput object at 0x77cc1f60ba10>,
'page_breaks_before': '/',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': '/tmp/calibre_7.18.0_tmp_2gfm6gx0/2htr197n.opf',
'remove_fake_margins': False,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': '',
'search_replace': '[["<script(.*?)>[^>]+>]]>", ""], ["<p '
'(.*?)right\\">(.*?)Next(.*?)\\\\s*(.*?)</p>", ""], ["<body '
'onload=\\"setStyle\\\\(\\\\)\\">", " <body> "], ["<a '
'id=\\"p[0-9]+\\" name=\\"p[0-9]+\\"></a><p '
'onmouseover=\\"PNo\\\\([0-9]+\\\\)\\"", "<p"], '
'["<([a-z][a-z0-9]*) align=\\"center\\">", "<\\\\1 '
'align=\\"center\\" style=\\"text-indent: 0;\\">"]]',
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': '[]',
'transform_html_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: HTML Input running
on /tmp/calibre_7.18.0_tmp_2gfm6gx0/43jevekw_pl_arc/content.opf
Parsing all content...
Manifest item 'toc.ncx' not found
Parsing 0743435710__24.htm ...
Parsing 0743435710___8.htm ...
Parsing 0743435710__10.htm ...
Parsing 0743435710__12.htm ...
Parsing 0743435710__13.htm ...
Parsing 0743435710___2.htm ...
Parsing 0743435710___1.htm ...
Parsing 0743435710___3.htm ...
Parsing 0743435710___4.htm ...
Parsing 0743435710___5.htm ...
Parsing 0743435710___6.htm ...
Parsing 0743435710___9.htm ...
Parsing 0743435710__27.htm ...
Parsing 0743435710__30.htm ...
Parsing 0743435710__22.htm ...
Parsing control.htm ...
Parsing 0743435710__31.htm ...
Parsing 0743435710__11.htm ...
Parsing 0743435710__21.htm ...
Parsing 0743435710__14.htm ...
Parsing 0743435710__15.htm ...
Parsing 0743435710__16.htm ...
Parsing 0743435710_toc.htm ...
Initial parse failed, using more forgiving parsers
Parsing 0743435710_toc.htm as HTML
Parsing 0743435710___0.htm ...
Parsing 0743435710__c_.htm ...
Initial parse failed, using more forgiving parsers
Parsing 0743435710__c_.htm as HTML
Parsing 0743435710__17.htm ...
Parsing 0743435710__18.htm ...
Parsing 0743435710__19.htm ...
Parsing 0743435710__20.htm ...
Parsing 0743435710__26.htm ...
Parsing 0743435710__28.htm ...
Parsing 0743435710__32.htm ...
Parsing 0743435710__23.htm ...
Parsing banner.htm ...
Parsing 0743435710__25.htm ...
Parsing 0743435710__29.htm ...
Parsing 0743435710___7.htm ...
Parsing 0743435710__33.htm ...
Initial parse failed, using more forgiving parsers
Parsing 0743435710__33.htm as HTML
Parsing 0743435710.htm ...
Initial parse failed, using more forgiving parsers
Parsing 0743435710.htm as HTML
File 0743435710.htm missing <body/> element
Referenced file 'goldweb40.gif' not found
Referenced file 'index.htm' not found
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 34 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Creating AZW3 Output...
Serializing resources...
Splitting markup on page breaks and flow limits, if any...
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Split into 2 parts
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_0
Creating KF8 output
Generating in-line ToC
Generating KF8 markup...
Compressing markup...
Creating indices...
AZW3 output written to /tmp/calibre_7.18.0_tmp_2gfm6gx0/74sjdou0.azw3
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::zwp_text_input_v3_leave(wl_surface*) Got leave event for surface 0x0 focused surface 0x643c023d5ed0
Worker Launch took: 0.00 seconds
Path override failed for key base::DIR_APP_DICTIONARIES and path '/opt/calibre/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/opt/calibre/libexec/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/opt/calibre/libexec/qtwebengine_dictionaries'
Failed to initialize plugin: '/home/xxxx/.config/calibre/plugins/KePub Metadata Reader.zip'
Failed to initialize plugin: '/home/xxxx/.config/calibre/plugins/KePub Metadata Writer.zip'
Failed to initialize plugin: '/home/xxxx/.config/calibre/plugins/KePub Output.zip'
QTextCursor::setPosition: Position '1856' out of range
QTextCursor::setPosition: Position '1856' out of range
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::zwp_text_input_v3_leave(wl_surface*) Got leave event for surface 0x0 focused surface 0x643c01dae510
Parsing all content...
Serializing resources...
Creating KF8 output
Generating KF8 markup...
Compressing markup...
Creating indices...
Worker Launch took: 0.00 seconds
Path override failed for key base::DIR_APP_DICTIONARIES and path '/opt/calibre/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/opt/calibre/libexec/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/opt/calibre/libexec/qtwebengine_dictionaries'
Failed to initialize plugin: '/home/xxxx/.config/calibre/plugins/KePub Metadata Reader.zip'
Failed to initialize plugin: '/home/xxxx/.config/calibre/plugins/KePub Metadata Writer.zip'
Failed to initialize plugin: '/home/xxxx/.config/calibre/plugins/KePub Output.zip'
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::zwp_text_input_v3_leave(wl_surface*) Got leave event for surface 0x0 focused surface 0x643c02482170
Worker Launch took: 0.00 seconds
Path override failed for key base::DIR_APP_DICTIONARIES and path '/opt/calibre/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/opt/calibre/libexec/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/opt/calibre/libexec/qtwebengine_dictionaries'
I am able to open calibre, convert, edit and read ebooks using Wayland. My advice is to go back to last version of calibre that worked for you and submit a bug report to your Distro.
I normally use the regular Mint with x11 but I do check with using wayland several times a month.
bernie
Quote:
Originally Posted by nerdyreader
OK, I was able to try @kovidgoyal's suggestion right now, and 7.18 does indeed work with this setting:
When I set it back to Wayland, it goes back to its not-opening behavior.
It is strange that it worked great for me under Wayland through 7.16, and only broke with 7.17.
Unfortunately there is no such thing as "Wayland". What matters is the actual wayland compositor you are running. There are dozens of them and different ones have different bugs.