Keyboard loses focus randomly (linux)

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

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
xnviewlinuxguy
Posts: 9
Joined: Wed Jan 15, 2025 4:42 pm

Keyboard loses focus randomly (linux)

Post by xnviewlinuxguy »

Using XNviewMP on Ubuntu Linux.

Been using this software at work for years, and love it. On Linux, it's been just a few months - was looking to replace geeqie with something more powerful.

As a professional photographer, I often have to sort and copy/move files to lots of different directories, and I find the dialog powerful for doing so (wouldn't mind a search box to get through the 120 or so directories I often need to copy/move to)

The bug:

Often, when I am in the 3-panel custom layout I have made (folder hierarchy/favorites on the left panel, middle is thumbnail view and right panel is preview) I will be happily moving files, etc. and the keyboard will lose focus, so then I have to click back into the thumbnail view to give it focus again.

Workflow is copy/move files in a long list, without taking my hands off of the keyboard.

This seems odd, and a bug, since it's random, seemingly.

Running on KDE 6.1, AMD graphics card, fairly standard Ubuntu setup.

Anyone have any ideas?
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Keyboard loses focus randomly (linux)

Post by xnview »

do you have a way to reproduce? or its always randomly
Pierre.
xnviewlinuxguy
Posts: 9
Joined: Wed Jan 15, 2025 4:42 pm

Re: Keyboard loses focus randomly (linux)

Post by xnviewlinuxguy »

Seems to be random, but out of every 10-12 images in a list I am going through, I will get one time where I get a flash of a sub-window (dialog box perhaps) on top, and it takes away the focus. Then I have to click back into the middle pane with the thumbnails to return focus.

Perhaps I could try running it from the CLI and see if there's any warning.
xnviewlinuxguy
Posts: 9
Joined: Wed Jan 15, 2025 4:42 pm

Re: Keyboard loses focus randomly (linux)

Post by xnviewlinuxguy »

Ok, got it to happen again when I was going through a Screenshot directory of 100's of files, going one by one in the middle pane (thumbnails) and on the 2nd or 3rd file move I did, it lost focus.

Here is the relevant (but not very useful) output from the command line I ran it from (some info redacted)

###### CHECK CHILDRENS 12
dataChanged2 ==> 1 (.thumbnails) -> 2 (.xvpics)
###### CHECK CHILDRENS ok (6)

Create children /home/myuser/newstuff/
Create children /home/myuser/newstuff/Catherine REDACTED/
## CHECK COMPANION
## CHECK COMPANION ok
MOVE : </home/myuser/Personal/OnlineHumor/>
ThumbLoaderThread :: stop()
MOVE file : </home/myuser/Pictures/Screenshots/Screenshot_20241013_110542.png> => </home/myuser/Personal/OnlineHumor/>
CheckContent...
ThumbLoaderThread :: stop()
## Check folder
## Check companion 0
## Check companion ok 0
SORT the list...
STD::SORT... 0
STL::SORT... 0
SORT the list... 0
SORT the list... 0
######### CategoryModel :: checkAndSave()
BitmapLoadThread :: stop()
@@ BitmapResizeThread:: clear
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(132)
ThumbLoaderThread :: stop()
** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 9bcba10
CHECK <0>
######ThumbLoaderThread :: forever : 9bcba10
** start condition wait
sizeHints : 192
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /home/myuser/Pictures/Screenshots/Screenshot_20241013_163555.png
BitmapLoadThread :: stop()
## BitmapLoadThread :: load -1 -1
## Bitmap :: load 0
###### GFF:load </home/myuser/Pictures/Screenshots/Screenshot_20241013_163555.png>
######### CategoryModel :: checkAndSave()
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(132)
ThumbLoaderThread :: stop()
** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 9bcba10
CHECK <0>
######ThumbLoaderThread :: forever : 9bcba10
** start condition wait
####LOAD </home/myuser/Pictures/Screenshots/Screenshot_20241013_163555.png> 0
## BitmapLoadThread :: loaded 1059 957
BookmarksModel-GETICON /home/myuser/newstuff/20241219-HeatherMarkWeddingLA/selected/ 2
BookmarksModel-GETICON /home/myuser/newstuff/ 2
BookmarksModel-GETICON /home/myuser/Personal/ 2
BookmarksModel-GETICON /home/myuser/Portfolio/ 2
## MyView::onLoaded </home/myuser/Pictures/Screenshots/Screenshot_20241013_163555.png> </home/myuser/Pictures/Screenshots/Screenshot_20241013_163555.png> </home/myuser/Pictures/Screenshots/Screenshot_20241013_163555.png> (1)
## MyView::onLoaded ok
@@ BitmapResizeThread:: clear
@@ BitmapResizeThread:: clear
@@ BitmapResizeThread:: clear
### resetViewport (0x9d19500) ==> 1419 1240 (1059 957) 0 0


############################################ InfoPropertiesView

### ThumbLoaderThread :: setFirstItemToLoad
** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
######ThumbLoaderThread :: forever 2 : 9bcba10
CHECK <0>
######ThumbLoaderThread :: forever : 9bcba10
** start condition wait


############################################ onTimerDirectoryChanged 1

######## checkChildren


############################################ onTimerDirectoryChanged ok

BookmarksModel-GETICON /home/myuser/newstuff/20241219-HeatherMarkWeddingLA/selected/ 2
BookmarksModel-GETICON /home/myuser/newstuff/ 2
BookmarksModel-GETICON /home/myuser/Personal/ 2
BookmarksModel-GETICON /home/myuser/Portfolio/ 2
BookmarksModel-GETICON /home/myuser/newstuff/20241219-HeatherMarkWeddingLA/selected/ 2
BookmarksModel-GETICON /home/myuser/newstuff/ 2
BookmarksModel-GETICON /home/myuser/Personal/ 2
BookmarksModel-GETICON /home/myuser/Portfolio/ 2
BookmarksModel-GETICON /home/myuser/newstuff/20241219-HeatherMarkWeddingLA/selected/ 2
BookmarksModel-GETICON /home/myuser/newstuff/ 2
BookmarksModel-GETICON /home/myuser/Personal/ 2
BookmarksModel-GETICON /home/myuser/Portfolio/ 2
BookmarksModel-GETICON /home/myuser/newstuff/20241219-HeatherMarkWeddingLA/selected/ 2
BookmarksModel-GETICON /home/myuser/newstuff/ 2
BookmarksModel-GETICON /home/myuser/Personal/ 2
BookmarksModel-GETICON /home/myuser/Portfolio/ 2
BookmarksModel-GETICON /home/myuser/newstuff/20241219-HeatherMarkWeddingLA/selected/ 2
BookmarksModel-GETICON /home/myuser/newstuff/ 2
BookmarksModel-GETICON /home/myuser/Personal/ 2
BookmarksModel-GETICON /home/myuser/Portfolio/ 2
Post Reply