Linux: Export window's position & size and not saved
Posted: Sat Oct 08, 2016 8:52 pm
Whenever I use the Export feature, its dialog popup floating window is placed always at the same position and with the same size all the time.
After I move the floating window around a bit and resize it, these values are never saved properly.
After closing this floating window and clicking Export again, the window position and size are reset to the same default value.
Couldn't find a way to edit this in xnview.ini. Is this the "geometry" value?
Below is the output from terminal from when I use Export. The steps I did were:
The lines that striked me are the following, which are printed when I kill the window
Other floating windows have their size and position properly saved.
SPECS: Linux Mint 17.3 using i3 window manager (doubt it really matters)
After I move the floating window around a bit and resize it, these values are never saved properly.
After closing this floating window and clicking Export again, the window position and size are reset to the same default value.
Couldn't find a way to edit this in xnview.ini. Is this the "geometry" value?
Below is the output from terminal from when I use Export. The steps I did were:
Code: Select all
xnview
use export (browser and viewer mode yield the same issue)
resize and change position
esc
quit
I edited out some resizing operations since they are redundant.QSettings::endGroup: No matching beginGroup()
QObject::connect: Cannot connect (null)::settingsChanged() to DlgExport::onRefresh()
#### 236f360 : 364
### resetViewport (2369f20) ==> 100 30 (70 30) 0 0
### MyBitmapView (2369f20) :: resizeEvent 607 651
#### 236f360 : 3161
### resetViewport (2369f20) ==> 607 651 (607 258) 0 0
### MyBitmapView (236f360) :: resizeEvent 606 652
## Bitmap :: load 0
###### LOAD BITMAP </tmp/xnview_J23017.jpg>
BITAMP VIEW 1 1920 817 606 258 31,610001 31,578945
### resetViewport (236f360) ==> 606 652 (606 258) 0 0
### MyBitmapView (236f360) :: resizeEvent 606 651
BITAMP VIEW 1 1920 817 606 258 31,610001 31,578945
### resetViewport (236f360) ==> 606 651 (606 258) 0 0
### MyBitmapView (2369f20) :: resizeEvent 605 650
#### 236f360 : 3151
BITAMP VIEW 1 1920 817 604 257 31,510000 31,456549
### resetViewport (236f360) ==> 606 651 (604 257) 0 0
### resetViewport (2369f20) ==> 605 650 (605 257) 0 0
### MyBitmapView (236f360) :: resizeEvent 604 650
BITAMP VIEW 1 1920 817 604 257 31,510000 31,456549
### resetViewport (236f360) ==> 604 650 (604 257) 0 0
### MyBitmapView (2369f20) :: resizeEvent 589 642
#### 236f360 : 3067
BITAMP VIEW 1 1920 817 588 250 30,670000 30,599754
### resetViewport (236f360) ==> 604 650 (588 250) 0 0
### resetViewport (2369f20) ==> 589 642 (589 250) 0 0
### MyBitmapView (236f360) :: resizeEvent 588 642
BITAMP VIEW 1 1920 817 588 250 30,670000 30,599754
### resetViewport (236f360) ==> 588 642 (588 250) 0 0
### MyBitmapView (2369f20) :: resizeEvent 573 633
#### 236f360 : 2984 ### resetViewport (236f360) ==> 516 649 (516 219) 0 0
QSettings::endGroup: No matching beginGroup()
QObject::connect: Cannot connect (null)::settingsChanged() to DlgExport::onRefresh()
#### 2086580 : 364
### resetViewport (259c330) ==> 100 30 (70 30) 0 0
### MyBitmapView (259c330) :: resizeEvent 607 651
#### 2086580 : 3161
### resetViewport (259c330) ==> 607 651 (607 258) 0 0
### MyBitmapView (2086580) :: resizeEvent 606 652
## Bitmap :: load 0
###### LOAD BITMAP </tmp/xnview_T23017.jpg>
BITAMP VIEW 1 1920 817 606 258 31,610001 31,578945
### resetViewport (2086580) ==> 606 652 (606 258) 0 0
### MyBitmapView (2086580) :: resizeEvent 606 651
BITAMP VIEW 1 1920 817 606 258 31,610001 31,578945
### resetViewport (2086580) ==> 606 651 (606 258) 0 0
MyBitmapView :: mousePressEvent
setCurrentFilename </home/user/Pictures/wallpapers/GITS_SITE_1920_AT_01.jpg>
######### CategoryModel :: checkAndSave()
######### CategoryModel :: checkAndSave()
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
BrowserWindow :: updateMenu()
######### CategoryModel :: checkAndSave()
SAVE : 1280 978
BrowserWindow :: saveState => 1280 978
=> 843 907
## BaseViewWindow :: ~BaseViewWindow()
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
######ThumbLoaderThread :: run : 2224930 OK
QMutex: destroying locked mutex
## BaseViewWindow :: ~BaseViewWindow() ok
AbstractViewWindow :: ~AbstractViewWindow()
BitmapLoadThread :: stop()
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
######ThumbLoaderThread :: run : 1d0bf60 OK
QMutex: destroying locked mutex
AFTER WAIT
BitmapLoadThread :: stop()
The lines that striked me are the following, which are printed when I kill the window
I hope to be pointing at the right thing.QSettings::endGroup: No matching beginGroup()
QObject::connect: Cannot connect (null)::settingsChanged() to DlgExport::onRefresh()
Other floating windows have their size and position properly saved.
SPECS: Linux Mint 17.3 using i3 window manager (doubt it really matters)