Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1369939 Description of problem: Cannot place window in specific position any longer using --geometry Version-Release number of selected component (if applicable): xfce4-terminal-0.6.90-1.fc24.x86_64 How reproducible: xfce4-terminal --geometry=113x56-66+33 used to place the terminal window about halfway from left, now places it at top left. Window placement positions were derived from xwininfo. Steps to Reproduce: 1. xfce4-terminal --geometry=113x56-66+33 2. 3. Actual results: Incorrect location. Expected results: Terminal window to be placed in position desired. Additional info: This worked until the latest update.
Hi Kevin, Is the reporter also using wayland instead of X? I cannot find this info in the downstream bug report. The thing is that the positioning should work under X, and is actually working on my Arch Linux system as well as on Debian 8 with Xfce.
Actually, I have improved handling of the negative x/y offsets in the git version. I've tested the change on Fedora 24 in VM (Gnome, X, no wayland) and it's working as expected - e.g. '--geometry=-10-10' will place bottom right corner of the terminal window 10 pixels upper and 10 pixels to the left from the top right corner of the screen.
Yeah, to be clear it was just the -offsets, the + ones are working as expected. ;) Thanks for the quick fix!
Dit it resolve the issue for you?
I've not built from git yet, but I can try and do so later today...
I can't seem to get git head to build here... "make[3]: Leaving directory '/builddir/build/BUILD/xfce4-terminal-0cd51a5290b917c5662abe4313b213a7e826fffe/terminal' make[3]: *** No rule to make target 'terminal-enum-types.c', needed by 'xfce4_terminal-terminal-enum-types.o'. Stop. make[2]: *** [all] Error 2" https://kojipkgs.fedoraproject.org//work/tasks/7950/15417950/build.log Will poke around in case it's something dumb I am doing...
(In reply to Kevin Fenzi from comment #6) > I can't seem to get git head to build here... > > "make[3]: Leaving directory > '/builddir/build/BUILD/xfce4-terminal- > 0cd51a5290b917c5662abe4313b213a7e826fffe/terminal' > make[3]: *** No rule to make target 'terminal-enum-types.c', needed by > 'xfce4_terminal-terminal-enum-types.o'. Stop. > make[2]: *** [all] Error 2" > > https://kojipkgs.fedoraproject.org//work/tasks/7950/15417950/build.log > > Will poke around in case it's something dumb I am doing... Have you run `configure` before `make`? A reference to how 0.6.90 can be built on Arch: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=xfce4-terminal-devel
Version 0.6.91 will contain the fix.
0.6.91 has been released: http://archive.xfce.org/src/apps/xfce4-terminal/0.6/xfce4-terminal-0.6.91.tar.bz2
This seems to fix this issue (the -offsets), but it seems to break widthxheight. It seems like it sets the widthxheight for a second here, then it switches to 80x23 or something. ie, xfce4-terminal --geometry=100x50 isn't honored. Also, all my saved terminal sizes in my session reset to 80x23 when I login. Should I file a new bug on this?
(In reply to Kevin Fenzi from comment #10) > This seems to fix this issue (the -offsets), but it seems to break > widthxheight. > > It seems like it sets the widthxheight for a second here, then it switches > to 80x23 or something. ie, > > xfce4-terminal --geometry=100x50 > > isn't honored. > > Also, all my saved terminal sizes in my session reset to 80x23 when I login. > > Should I file a new bug on this? Hmm, this is not the case for me under X, will check wayland tomorrow. Please open another bug. Thanks.
To be clear this was under a normal Xfce/X session, not wayland. Will file a new bug soon here.