geeqie icon indicating copy to clipboard operation
geeqie copied to clipboard

"Remember window positions" remembers the wrong screen

Open dkogan opened this issue 5 years ago • 1 comments

ISSUE TYPE

  • Bug Report

GEEQIE VERSION

Geeqie d39c61fd
     Config results:
    -=-=-=-=-=-=-=-=-

Package:
  Name:          geeqie
  Version:       d39c61fd

Architecture:
  UNIX:          yes
  Win32:         no (native: no)

Flags:
  Geeqie:        
  DEFS:          -DHAVE_CONFIG_H
  CPPFLAGS:      
  CFLAGS:         -Werror -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=return-type
  CXXFLAGS:      -g -O2
  Gtk:           -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
  Glib:          -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
  Thread:        -lgthread-2.0 -pthread -lglib-2.0
  Others:        -ljpeg -ltiff -llcms2 -lexiv2     -llua5.3

Localization:
  NLS support:   yes
  LINGUAS:        ar be bg ca cs da de el en_GB eo es et eu fi fr hu id it ja ko nb nl pl pt_BR ro ru sk sl sr@latin sr sv th tlh tr uk vi zh_CN zh_TW

Settings:
  Developer:     no
  Debug flags:   no
  Debug log:     yes
  Deprecated:    no

Support:
  LCMS:          yes
  Exiv2:         yes
  Lirc:          no
  Clutter:       disabled
  Libchamplain:         disabled
  Libchamplain-gtk:     disabled
  Lua:           yes
  FFmpegthumbnailer:    no
  Pdf:           disabled
  HEIF:          no
  WebP:          yes
  DjVu:          yes
  J2K:           yes

Documentation:
  Doxygen:       /usr/bin/doxygen
  doc-tool:      

OS / DISTRIBUTION

Debian/sid

SUMMARY

I'm running two displays. The normal behavior for an X application is to start up on the screen that is active when it comes up. If I turn off "Remember window positions", then geeqie appears to do this. If I turn on "Remember window positions", it always comes up on one of the two screens. Even if I move the window to a different screen, it will come up in that first screen the next time. Note that I have "Use saved window positions for new windows" disabled in both cases.

STEPS TO REPRODUCE

  1. Start geeqie from screen 2
  2. Window pops up in screen 1
  3. Move the window to screen 2
  4. Close geeqie
  5. Start geeqie again, also from screen 2
  6. Observe that it comes up in screen 1 again

Note that this is not a recent regression.

Thanks

dkogan avatar Jul 28 '20 18:07 dkogan

I don't see this behaviour. After closing geeqie, open $HOME/.config/geeqie/geeqie.xml, and look in the <layout section for the entries main_window.x and main_window.y. These determine where geeqie will open next time.

caclark avatar Aug 01 '20 15:08 caclark