1.7.2: Wayland connection breaks when viewport scaling takes longer than a few seconds

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

User avatar
BloodySword
Posts: 39
Joined: Sun Mar 28, 2010 11:19 am

1.7.2: Wayland connection breaks when viewport scaling takes longer than a few seconds

Post by BloodySword »

XnView: MP 1.7.2 - 64 bit
OS: Linux 64bit (Fedora 40)

Wayland connection breaks when viewport scaling takes longer than a few seconds

Effect: The application crashes

To reproduce:
1. Open a really big image while "ZOOM & MOVE" is enabled in the mouse settings
2. Click and hold the mouse button corresponding to Zoom & Move
3. Release the mouse button and keep moving the mouse

Actual behaviour (bug): The application closes / crashes :bug:

Expected behaviour: The zoom is being reset without the application crashing

Log:

Code: Select all

kyo@bedroom-pc:/mnt/nas/commissions/Kyoudai Ken/The_Artspear/NEW Ref Sheet$ /opt/XnView/xnview.sh Kyo_Lower_Armor_Colors_WIP_SIDE_15-gpx.jpg 
0.25.0 (git 2200147) - Multimedia Development Kit. Copyright (c) 2016-2024 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang18.1.0 (++20240129073356+3df71e5a3f5d-1~exp1~20240129193412.14)GCC4.2.1; libc++180100; 06:19:03 Jan 31 2024
QFont::fromString: Invalid description 'ChicagoFLF,10,-1,5,500,0,0,0,0,0,0,0,0,0,0,1,Regular'
QFont::fromString: Invalid description 'DejaVu Sans Mono,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1'
QFont::fromString: Invalid description 'ChicagoFLF,10,-1,5,500,0,0,0,0,0,0,0,0,0,0,1,Regular'
QFont::fromString: Invalid description 'ChicagoFLF,9,-1,5,500,0,0,0,0,0,0,0,0,0,0,1,Regular'
==> 2.000000  2.000000  51.819671  96.000000  (1)
XNVIEW restoreGeometry before : 640 480 
XNVIEW restoreGeometry after : 200 194 
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such slot AbstractViewWindow::onPagePrevious()
QObject::connect: No such slot AbstractViewWindow::onPageNext()
QObject::connect: No such slot AbstractViewWindow::onPageFirst()
QObject::connect: No such slot AbstractViewWindow::onPageLast()
QObject::connect: No such slot AbstractViewWindow::onUseSmooth()
QObject::connect: No such slot AbstractViewWindow::onNormalize2()
QObject::connect: No such slot AbstractViewWindow::onAlign()
MENU install : 0x1e900b0 
@@@@@@@@@@
Create window finished
==> 200 
ThumbLoaderThread :: stop()
@@ BitmapResizeThread:: clear
MyView::change /mnt/nas/commissions/Kyoudai Ken/The_Artspear/NEW Ref Sheet/Kyo_Lower_Armor_Colors_WIP_SIDE_15-gpx.jpg 
@@ BitmapResizeThread:: clear
## Bitmap :: load 0 
###### GFF:load </mnt/nas/commissions/Kyoudai Ken/The_Artspear/NEW Ref Sheet/Kyo_Lower_Armor_Colors_WIP_SIDE_15-gpx.jpg>
####LOAD </mnt/nas/commissions/Kyoudai Ken/The_Artspear/NEW Ref Sheet/Kyo_Lower_Armor_Colors_WIP_SIDE_15-gpx.jpg>  0 
@@ BitmapResizeThread:: clear
@@ BitmapResizeThread:: set
### resetViewport (0x1d06b80)  ==> 200 74  (44 74) 0 0
ThumbLoaderThread :: stop()
@@ BitmapResizeThread:: start  0 1 88
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 4
  STL::SORT... 0
SORT the list... 0 
SORT the list... 0 
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(1)
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 1de4ae0 
######ThumbLoaderThread :: forever : 1de4ae0 
 ** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
setCurrentFilename </mnt/nas/commissions/Kyoudai Ken/The_Artspear/NEW Ref Sheet/Kyo_Lower_Armor_Colors_WIP_SIDE_15-gpx.jpg>
######ThumbLoaderThread :: forever 2 : 1de4ae0 
CHECK <1> 
### START 1 
######ThumbLoaderThread :: start : 1     -1 -1
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### ThumbLoaderThread :: setFirstItemToLoad
 ** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
### ThumbLoaderThread :: setFileList(0)
ThumbLoaderThread :: stop()
######ThumbLoaderThread :: forever : 1de4ae0 
 ** start condition wait
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 1de4ae0 
CHECK <0> 
######ThumbLoaderThread :: forever : 1de4ae0 
 ** start condition wait
## OPEN FOLDER
## Check folder
  ## Check companion  0
  ## Check companion ok  0
  ## OPEN DB FOLDER ok  5
  ## UPDATE DB FOLDER ok  5
  ## OPEN FOLDER ok  5
## updateLabel  5
## updateLabels ok  5
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 4
  STL::SORT... 0
SORT the list... 0 
SORT the list... 0 
## OPEN FOLDER done  6
setCurrentFilename </mnt/nas/commissions/Kyoudai Ken/The_Artspear/NEW Ref Sheet/Kyo_Lower_Armor_Colors_WIP_SIDE_15-gpx.jpg>
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
@@ BitmapResizeThread:: finish
@@ BitmapResizeThread:: set
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
@@ BitmapResizeThread:: start  0 1 1084
SORT the list...
STD::SORT... 4
  STL::SORT... 0
SORT the list... 0 
SORT the list... 0 
### ThumbLoaderThread :: updateFileList
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: updateFileList ok
@@ BitmapResizeThread:: onThreadImageResized (85976262)
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
@@ BitmapResizeThread:: finish
@@ BitmapResizeThread:: set
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
@@ BitmapResizeThread:: start  0 1 1084
@@ BitmapResizeThread:: onThreadImageResized (85976292)
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(31)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 1de4ae0 
CHECK <30> 
### START 31 
######ThumbLoaderThread :: start : 30     -1 -1
######ThumbLoaderThread :: forever : 1de4ae0 
 ** start condition wait
SORT the list...
STD::SORT... 4
  STL::SORT... 0
SORT the list... 0 
SORT the list... 0 
### ThumbLoaderThread :: updateFileList
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: updateFileList ok
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
@@ BitmapResizeThread:: finish
@@ BitmapResizeThread:: onThreadImageResized (85979563)
@@ BitmapResizeThread:: set
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
@@ BitmapResizeThread:: start  0 1 1084
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
@@ BitmapResizeThread:: finish
@@ BitmapResizeThread:: onThreadImageResized (85982293)
@@ BitmapResizeThread:: onThreadImageResized ok (1084 1816)
DRAW resized Bitmap  1084 1816
QMetaObject::connectSlotsByName: No matching signal for on_pbDelThumb_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_pbOptimize_clicked()
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such signal QComboBox::toggled(bool)
QObject::connect:  (sender name:   'cbZoomStep')
QObject::connect:  (receiver name: 'sbZoomStep')
DRAW resized Bitmap  1084 1816
DRAW resized Bitmap  1084 1816
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
QMetaObject::connectSlotsByName: No matching signal for on_pbDelThumb_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_pbOptimize_clicked()
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such signal QComboBox::toggled(bool)
QObject::connect:  (sender name:   'cbZoomStep')
QObject::connect:  (receiver name: 'sbZoomStep')
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
QMetaObject::connectSlotsByName: No matching signal for on_pbDelThumb_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_pbOptimize_clicked()
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such signal QComboBox::toggled(bool)
QObject::connect:  (sender name:   'cbZoomStep')
QObject::connect:  (receiver name: 'sbZoomStep')
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
MyBitmapView :: mousePressEvent
### resetViewport (0x1d06b80)  ==> 1920 908  (9551 16000) 7631 15092
### resetViewport (0x1d06b80)  ==> 1920 908  (542 908) 0 0
The Wayland connection broke. Did the Wayland compositor die?
After researching the last line in the log, it seems like that while XnView is updating the zoom (which can be slow on an iGPU powered system with huge images), the message qeue of the Window tends to run full - or the connection to Wayland times out.

A solution could be to move the viewport into its own thread, so that the window thread is still responding to the display protocol.

Adding the following line before the exec command in xnview.sh, it works, but the menu has some rendering issues as well as the icons are too small on hi-dpi displays:

Code: Select all

export QT_QPA_PLATFORM=xcb
It throws QT into X11 mode, which on a pure Wayland system uses XWayland compatibility layers.