PhotoFilmStrip / PFS

Desktop application
Other
39 stars 15 forks source link

Window redraw issues #102

Open claudio4j opened 2 years ago

claudio4j commented 2 years ago

Hi, there is an issue when I run photofilmstrip 4.0.0 released, when I launch it, I have to resize the PFS window every time to see any action, for example selecting a thumbnail, changing fields, see this screencast.

https://user-images.githubusercontent.com/836543/200147809-e789bc28-81d9-4395-8485-ad39ffccb60b.mp4

I use fedora 36, x11, i915 driver, and an external 4K monitor connected to the HDMI.

PFS is launched as:

PHOTOFILM_DIR=/home/claudio/tmp/photofilmstrip-4.0/build
PYTHONPATH=$PHOTOFILM_DIR/lib $PHOTOFILM_DIR/scripts-3.10/photofilmstrip &

The libraries

egl-utils-8.4.0-13.20210504git0f9e7d9.fc36.x86_64
freeglut-3.2.2-1.fc36.x86_64
libglvnd-egl-1.4.0-4.fc36.x86_64
libwayland-egl-1.21.0-1.fc36.x86_64
mesa-libEGL-22.1.7-1.fc36.x86_64
python3-3.10.7-1.fc36.x86_64

I started PFS with -d (debug) option, but it only prints non related info, such as

(DEBUG) [336532:MainThread] UwpAdapter: trying UwpBridge.exe in '/home/claudio/tmp/photofilmstrip-4.0/build/scripts-3.10/../Tools/UwpBridge.exe'
(DEBUG) [336532:MainThread] root: settings file: /home/claudio/tmp/photofilmstrip-4.0/build/scripts-3.10/../.PhotoFilmStrip
(DEBUG) [336532:MainThread] JobManager: creating worker for group general
(DEBUG) [336532:MainThread] JobManager: creating worker for group general
(DEBUG) [336532:general-0] Worker: <general-0> Started...
(DEBUG) [336532:general-0] Worker: <general-0> waiting for job
(DEBUG) [336532:general-1] Worker: <general-1> Started...
(DEBUG) [336532:MainThread] JobManager: creating worker for group render

DEBUG) [336532:render-8] Worker: <render-8> waiting for job

(DEBUG) [336532:ScaleThread] PIL.TiffImagePlugin: tag: ExposureMode (41986) - type: short (3) - value: b'\x00\x00'

I suspect this is related to the X window system, but as I haven't seen this in any other application, I reach out here to see you can provide any clue to this problem.

Thanks for providing PFS, great software.

jensgoe commented 1 year ago

Thanks for the screencast to visualize the problem. I try to get my linux system running again and hopefully i can figure something out.

claudio4j commented 1 year ago

Thanks for the feedback. Do you have any hint on debugging this problem ? I looked at /var/log/messages, dmesg, /var/log/Xorg.0.log but no clue. I strongly suspect this is related to my setup: X11, external 4K monitor (hdmi), i915 driver, kde, kernel 6.0.7, fedora 36 There are other issues related to using 4k monitor iin hdmi (in internet forums, but I haven't experienced them), but as I haven't been experiencing this issue with other X apps, I wonder if some python library usage with this combination can trigger this behavior.