Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-02-10 21:23:36

herbie643
Member
Registered: 2013-04-05
Posts: 138

Windows no longer center themselves upon opening

I have read the posts I have found thru searching and none of them have the answer.
One of the old ones was the placement ratio, which I don't have in the theme.rc.
Some of it affected, though not much, is changing the theme.   And by not much I mean just a TAD bit more centered.

I am beginning to think it might have been one of the latest updates.

Here is my system info

System:    Kernel: 6.1.11-1-liquorix-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: audit=0 intel_pstate=disable hpet=disable rcupdate.rcu_expedited=1 
           BOOT_IMAGE=/boot/vmlinuz-6.1.11-1-liquorix-amd64 
           root=UUID=<filter> ro quiet init=/lib/systemd/systemd 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_ahs_x64 Wildflower September 18  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: ASUSTeK product: Vivobook_ASUSLaptop X1703ZA_K1703ZA v: 1.0 
           serial: <filter> 
           Mobo: ASUSTeK model: X1703ZA v: 1.0 serial: <filter> UEFI: American Megatrends LLC. 
           v: X1703ZA.302 date: 07/20/2022 
Battery:   ID-1: BAT0 charge: 49.7 Wh (100.0%) condition: 49.7/50.0 Wh (99.3%) volts: 13.0 
           min: 11.9 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Full cycles: 15 
CPU:       Info: 8-Core model: 12th Gen Intel Core i5-12500H bits: 64 type: MT MCP 
           arch: Alder Lake family: 6 model-id: 9A (154) stepping: 3 microcode: 41E cache: 
           L2: 18 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 99532 
           Speed: 577 MHz min/max: 400/3101 MHz boost: enabled Core speeds (MHz): 1: 400 2: 400 
           3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 1090 10: 600 11: 660 12: 400 13: 400 
           14: 400 15: 400 16: 400 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: mmio_stale_data status: Not affected 
           Type: retbleed status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 status: Vulnerable: eIBRS with unprivileged eBPF 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Alder Lake-P Integrated Graphics vendor: ASUSTeK driver: i915 v: kernel 
           bus-ID: 0000:00:02.0 chip-ID: 8086:46a6 class-ID: 0300 
           Device-2: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus-ID: 1-9:4 
           chip-ID: 13d3:5463 class-ID: fe01 serial: <filter> 
           Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 128 size: 382x215mm (15.0x8.5") 
           diag: 438mm (17.3") 
           OpenGL: renderer: Mesa Intel Graphics (ADL GT2) v: 4.6 Mesa 22.0.5 direct render: Yes 
Audio:     Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: ASUSTeK 
           driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3 
           chip-ID: 8086:51c8 class-ID: 0403 
           Sound Server-1: ALSA v: k6.1.11-1-liquorix-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel port: 3000 
           bus-ID: 0000:00:14.3 chip-ID: 8086:51f0 class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Bluetooth: Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-10:5 chip-ID: 8087:0026 
           class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2 
           sub-v: 33bf hci-v: 5.2 rev: 33bf 
           Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: slave accept 
           service-classes: rendering, capturing, audio 
RAID:      Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd v: 0.6 
           port: 3000 bus-ID: 0000:00:0e.0 chip-ID: 8086.467f rev: class-ID: 0104 
Drives:    Local Storage: total: 1.14 TiB used: 254.79 GiB (21.8%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital 
           model: PC SN530 SDBPNPZ-256G-1002 size: 238.47 GiB block-size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 21106000 
           temp: 45.9 C scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Western Digital 
           model: WD My Passport 25E1 size: 931.48 GiB block-size: physical: 512 B logical: 512 B 
           type: N/A serial: <filter> rev: 1021 
           SMART Message: A mandatory SMART command failed. Various possible causes. 
Partition: ID-1: / raw-size: 230.22 GiB size: 225.54 GiB (97.97%) used: 14.05 GiB (6.2%) fs: ext4 
           block-size: 4096 B dev: /dev/nvme0n1p2 maj-min: 259:2 
           ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 415 KiB (0.2%) fs: vfat 
           block-size: 512 B dev: /dev/nvme0n1p1 maj-min: 259:1 
Swap:      Kernel: swappiness: 3 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile 
Sensors:   System Temperatures: cpu: 56.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 
Repos:     Packages: note: see --pkg apt: 1812 lib: 887 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb [url]http://deb.debian.org/debian/[/url] bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb [url]http://deb.debian.org/debian/[/url] bullseye main contrib non-free
           2: deb [url]http://security.debian.org/debian-security/[/url] bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/liquorix.list 
           1: deb [arch=amd64] [url]https://liquorix.net/debian[/url] bullseye main
           2: deb-src [arch=amd64] [url]https://liquorix.net/debian[/url] bullseye main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb [url]http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/[/url] bullseye main non-free
           2: deb [url]http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/[/url] bullseye ahs
Info:      Processes: 306 Uptime: 2h 41m wakeups: 2653 Memory: 11.39 GiB used: 2.37 GiB (20.8%) 
           Init: systemd v: 247 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI

Any help would be appreciated.

Offline

#2 2023-02-10 23:17:56

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Windows no longer center themselves upon opening

Is it set properly at Settings Manager > Window Manager Tweaks > Placement? The "By default, place windows..."

Edit: Also check that you don't have any margins set (Settings Manager > Workspaces > Margins)

Last edited by ToZ (2023-02-10 23:19:30)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2023-02-11 00:09:26

herbie643
Member
Registered: 2013-04-05
Posts: 138

Re: Windows no longer center themselves upon opening

0 on all the margins and I have only 1 workspace
On the Placement in Window Manager Tweaks i have the Center Windows ticked and the Slider all the way to the max.
I have varied the slider to no avail.

Offline

#4 2023-02-11 01:27:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Windows no longer center themselves upon opening

herbie643 wrote:

I have varied the slider to no avail.

Does the slider make any difference at all? At smaller sizes, windows will tend to be scattered about, at larger sizes most will/should centre.

Also, is it all apps that are acting this way or only some (apps can override this setting).


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2023-02-11 01:48:58

herbie643
Member
Registered: 2013-04-05
Posts: 138

Re: Windows no longer center themselves upon opening

Oh yeah, big time.  Moved it to the left and  in fact just tried it again.  This happened.   The slider half way, open window and it is opened in the top left corner, then by accident I had double clicked the shortcut, F4, and the one window , top left, the 2nd window was lower and to the right.

I kept clicking the shortcut and the windows were all over the place.

Offline

#6 2023-02-11 02:01:04

herbie643
Member
Registered: 2013-04-05
Posts: 138

Re: Windows no longer center themselves upon opening

I just did and experiment.   Went into Settings Editor and change the ratio to 70 and the windows open consistently slightly off center lower than 72 and the windows open in random locations.

Offline

#7 2023-02-11 03:13:00

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Windows no longer center themselves upon opening

herbie643 wrote:

the windows open consistently slightly off center

How off-centre is it? Are we talking a small handful of pixels or a larger amount? Can I also see the output of:

xrandr

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#8 2023-02-11 03:15:59

herbie643
Member
Registered: 2013-04-05
Posts: 138

Re: Windows no longer center themselves upon opening

40 to 50 pixels is all.   Just kinda annoying.  I appreciate all you're doing but it appears we both are beginning to realize there is no fix/workaround.

Offline

#9 2023-02-11 03:23:28

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Windows no longer center themselves upon opening

Its really strange because the windows centre on my computer and I can't imagine what else it might be that is causing this to happen to you.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#10 2023-02-11 03:34:37

herbie643
Member
Registered: 2013-04-05
Posts: 138

Re: Windows no longer center themselves upon opening

here is xrandr output

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm

of course there is lots more but I thought that info was enough.

Offline

#11 2023-02-11 03:46:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Windows no longer center themselves upon opening

Do you have a panel at one of the sides? If so, try checking or unchecking the "keep panel above windows" option in that panel's preferences. See if that makes a difference (it does for me).


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#12 2023-02-11 04:33:09

herbie643
Member
Registered: 2013-04-05
Posts: 138

Re: Windows no longer center themselves upon opening

No, sorry I don't but MX is known for Deskbar as I guess you might have thought I had that.

Offline

#13 2023-02-11 21:13:23

herbie643
Member
Registered: 2013-04-05
Posts: 138

Re: Windows no longer center themselves upon opening

I found the solution weird though it may be, I opened the Display from the Settings window and bumped the Scale to 1.35.  I had to increase my font size though, but all windows now center perfectly.
Maybe you will have some insight on this.

Offline

#14 2023-02-11 22:16:45

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Windows no longer center themselves upon opening

Hmm. Perhaps the xfwm4 placement logic doesn't accurately take into effect display scaling. Might be worth a bug report.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#15 2023-02-11 22:28:02

herbie643
Member
Registered: 2013-04-05
Posts: 138

Re: Windows no longer center themselves upon opening

True, now if only I knew how to report a bug.  You would think after 10yrs online with this forum, I should know,but, never had the need to file a bug report.
Care to guide this unknowledgeable user?

Offline

#16 2023-02-11 23:22:09

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Windows no longer center themselves upon opening

Create a new issue report here. You can reference this forum thread.

Note: you will need to create a gitlab account to be able to create the issue report.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#17 2023-02-12 00:27:52

herbie643
Member
Registered: 2013-04-05
Posts: 138

Re: Windows no longer center themselves upon opening

Great.   Thank you so much.   Greatly appreciated.

Offline

#18 2023-02-12 00:32:02

herbie643
Member
Registered: 2013-04-05
Posts: 138

Re: Windows no longer center themselves upon opening

Just now submitted bug.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 621.05 KiB (Peak: 653.89 KiB) ]