You are not logged in.
I am on a KDE desktop and whenever I click on the LibreOffice Writer icon, the program launches, I can see it on the task bar, but it is invisible.
It's the same behaviour I get when I run libreoffice --writer on the console.
However if I start an instance from LibreOffice Start Center, then the program renders properly.
Any place to look to debug?
Last edited by d_fajardo (2022-09-23 17:33:33)
Offline
How "invisible"? Do you get a window w/o any content or no window at all?
Is the libreoffice process running? (If it fails, the taskbar icon could be a stale entry)
What display server? X11 or wayland?
In case of X11, does "wmctrl -l" list the window as well?
Offline
Look closely in the top/left corner for a minimum sized window.
sys2064
Offline
How "invisible"? Do you get a window w/o any content or no window at all?
Is the libreoffice process running? (If it fails, the taskbar icon could be a stale entry)
What display server? X11 or wayland?
In case of X11, does "wmctrl -l" list the window as well?
I'm on X11 and yes wmctlrl -l list the window. I do get a window container because if I click on the task bar to maximimize/minimize it toggles greying out the other windows as that's what my setting KDE setting is. But the window remains invisible.
Look closely in the top/left corner for a minimum sized window.
Yes I get the different open windows but same behaviour.
As I said I can work with it by starting an instance of the libreoffice suite but it bugs me I can't run the writer directly.
EDIT: I tried without the KDE compositor but behaviour is the same so it doesn't look like kwin's fault.
Last edited by d_fajardo (2022-09-23 07:19:05)
Offline
wmctlrl -l list the window
xwininfo -id 0x123456; xprop -id 0x123456 # replace 0x123456 w/ the actual window ID
Yes I get the different open windows but same behaviour.
?????
If LO shows up as a minimum size window, can you resize it?
Offline
No can't resize as there's no handle to resize. If toggle minimize and maximize, I can tell something is happening because the background windows grey out but libre remains invisible.
xwindow info:
xwininfo: Window id: 0x4800007 "~ : bash — Konsole"
Absolute upper-left X: 550
Absolute upper-left Y: 617
Relative upper-left X: 0
Relative upper-left Y: 0
Width: 2559
Height: 1180
Depth: 32
Visual: 0x9e
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x4800006 (not installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +550+617 -731+617 -731-363 +550-363
-geometry 2559x1180+550+617
xprop:
_NET_WM_USER_TIME(CARDINAL) = 1212988
_NET_WM_ICON_GEOMETRY(CARDINAL) = 1635, 2074, 72, 72
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 0, 0, 53, 0
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 53, 0
_NET_WM_DESKTOP(CARDINAL) = 0
_KDE_NET_WM_ACTIVITIES(STRING) = "d097c591-8e6f-491a-a461-d7f5f4cf0f11"
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_FOCUSED
WM_WINDOW_ROLE(STRING) = "MainWindow#1"
_NET_WM_ICON_NAME(UTF8_STRING) =
_KDE_NET_WM_DESKTOP_FILE(UTF8_STRING) = "org.kde.konsole"
_NET_WM_ICON(CARDINAL) = Icon (16 x 16):
Icon (48 x 48):
(not shown)
Icon (64 x 64):
(not shown)
Icon (128 x 128):
(not shown)
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = "~ : bash"
_NET_WM_NAME(UTF8_STRING) = "~ : bash — Konsole"
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 767352
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x7e, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x4800009
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
window id # of group leader: 0x4800009
WM_CLIENT_MACHINE(STRING) = "taichi-z270"
_NET_WM_PID(CARDINAL) = 39517
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 75497480
WM_CLASS(STRING) = "konsole", "konsole"
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified location: 550, 617
user specified size: 2559 by 1180
program specified minimum size: 255 by 188
window gravity: Static
Offline
Please post the output of "wmctrl -l", the window you're looking at is obviously konsole.
Edit: and also the output of
ps -fx
when LO is supposingly running.
Last edited by seth (2022-09-23 07:36:45)
Offline
wmctl -l:
0x0140000b -1 taichi-z270 Desktop — Plasma
0x02e0000f -1 taichi-z270 #view#1 — Latte Dock
0x04800007 0 taichi-z270 ~ : bash — Konsole
0x03000006 0 taichi-z270 Untitled 1 - LibreOffice Writer
Offline
You looked at 0x04800007 but LO is 0x03000006 ?
xwininfo -id 0x03000006
xprop -id 0x03000006
ps -fx
Offline
No can't resize as there's no handle to resize. If toggle minimize and maximize, I can tell something is happening
Make sure it's not maximized before trying to grab. I had the same issue and i could resize it. But i'm on xfce.
You could delete/rename the config to get default values.
Try a different theme engine:
$ env SAL_USE_VCLPLUGIN=gtk3 libreoffice --writer
Or safe mode:
$ libreoffice --safe-mode
sys2064
Offline
wmctrl -l
0x0140000b -1 taichi-z270 Desktop — Plasma
0x02e0000f -1 taichi-z270 #view#1 — Latte Dock
0x00400007 0 taichi-z270 ~ : bash — Konsole
0x03000003 0 taichi-z270 LibreOffice Writer misbehaving / Applications & Desktop Environments / Arch Linux Forums - Google Chrome
0x04200006 0 taichi-z270 Untitled 1 - LibreOffice Writer
xwininfo -id 0x04200006
xwininfo: Window id: 0x4200006 "Untitled 1 - LibreOffice Writer"
Absolute upper-left X: 0
Absolute upper-left Y: 53
Relative upper-left X: 0
Relative upper-left Y: 0
Width: 1
Height: 53
Depth: 24
Visual: 0x27
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x4200005 (not installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +0+53 -3839+53 -3839-2054 +0-2054
-geometry 1x53+0+53
xprop -id 0x04200006 (left out icon images)
0x0140000b -1 taichi-z270 Desktop — Plasma
0x02e0000f -1 taichi-z270 #view#1 — Latte Dock
0x00400007 0 taichi-z270 ~ : bash — Konsole
[brightchip@taichi-z270 ~]$ wmctrl -l
0x0140000b -1 taichi-z270 Desktop — Plasma
0x02e0000f -1 taichi-z270 #view#1 — Latte Dock
0x00400007 0 taichi-z270 ~ : bash — Konsole
0x03000003 0 taichi-z270 LibreOffice Writer misbehaving / Applications & Desktop Environments / Arch Linux Forums - Google Chrome
0x04200006 0 taichi-z270 Untitled 1 - LibreOffice Writer
[brightchip@taichi-z270 ~]$ xprop -id 0x04200006
_NET_WM_USER_TIME(CARDINAL) = 13622005
_NET_WM_ICON_GEOMETRY(CARDINAL) = 1881, 2074, 72, 72
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 0, 0, 53, 0
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 53, 0
_NET_WM_DESKTOP(CARDINAL) = 0
_KDE_NET_WM_ACTIVITIES(STRING) = "d097c591-8e6f-491a-a461-d7f5f4cf0f11"
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_STATE(ATOM) =
_NET_WM_ICON_NAME(UTF8_STRING) =
_NET_WM_ICON(CARDINAL) = Icon (16 x 16):
Icon (128 x 128):
(not shown)
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = "Untitled 1 - LibreOffice Writer"
_NET_WM_NAME(UTF8_STRING) = "Untitled 1 - LibreOffice Writer"
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 13621981
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x7e, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x4200008
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
window id # of group leader: 0x4200008
WM_CLIENT_MACHINE(STRING) = "taichi-z270"
_NET_WM_PID(CARDINAL) = 459798
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 69206023
WM_CLASS(STRING) = "libreoffice", "libreoffice-writer"
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified location: 0, 0
user specified size: 1 by 48
program specified minimum size: 0 by 48
window gravity: Static
ps -fx
PID TTY STAT TIME COMMAND
1047 ? Sl 0:00 /usr/bin/startplasma-x11
1019 ? Ss 0:00 /usr/lib/systemd/systemd --user
1020 ? S 0:00 \_ (sd-pam)
1027 ? Ssl 0:02 \_ /usr/bin/mpd --systemd
1030 ? SLsl 0:00 \_ /usr/bin/gnome-keyring-daemon --foreground --components=pkcs11,secrets --control-directory=/run/user/1000/keyring
1045 ? Ss 0:00 \_ /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
1320 ? Ssl 0:06 \_ /usr/bin/kded5
1321 ? Ssl 0:02 \_ /usr/bin/ksmserver
1322 ? Ssl 4:36 \_ /usr/bin/kwin_x11 --replace
1332 ? Ssl 0:01 \_ /usr/bin/kglobalaccel5
1339 ? Ssl 0:00 \_ /usr/lib/dconf-service
1346 ? Ssl 0:05 \_ /usr/bin/plasmashell --no-respawn
1356 ? Ssl 0:06 \_ /usr/lib/kactivitymanagerd
1365 ? Ssl 0:00 \_ /usr/bin/gmenudbusmenuproxy
1366 ? Ssl 0:00 \_ /usr/lib/polkit-kde-authentication-agent-1
1367 ? Ssl 0:03 \_ /usr/lib/org_kde_powerdevil
1369 ? Ssl 0:00 \_ /usr/bin/xembedsniproxy
1403 ? Ss 0:00 \_ /usr/lib/bluetooth/obexd
1404 ? Ssl 0:00 \_ /usr/lib/kf5/kscreen_backend_launcher
1438 ? SLsl 0:04 \_ /usr/lib/kdeconnectd
1439 ? Ssl 3:06 \_ /usr/bin/latte-dock
459021 ? Sl 0:02 | \_ /usr/bin/konsole
459067 pts/1 Ss 0:00 | | \_ /bin/bash
459917 pts/1 R+ 0:00 | | \_ ps -fx
459289 ? Sl 0:10 | \_ /opt/google/chrome/chrome --enable-crashpad
459295 ? S 0:00 | | \_ cat
459296 ? S 0:00 | | \_ cat
459306 ? S 0:00 | | \_ /opt/google/chrome/chrome --type=zygote --no-zygote-sandbox --enable-crashpad --crashpad-handler-pid=459298 --enable-
459333 ? Sl 0:01 | | | \_ /opt/google/chrome/chrome --type=gpu-process --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repor
459349 ? S 0:00 | | | \_ /opt/google/chrome/chrome --type=broker
459307 ? S 0:00 | | \_ /opt/google/chrome/chrome --type=zygote --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-reporter=fffc3
459308 ? S 0:00 | | | \_ /opt/google/chrome/nacl_helper
459311 ? S 0:00 | | | \_ /opt/google/chrome/chrome --type=zygote --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-reporter=f
459360 ? Sl 0:00 | | | \_ /opt/google/chrome/chrome --type=utility --utility-sub-type=storage.mojom.StorageService --lang=en-GB --servi
459377 ? SNl 0:00 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459378 ? Sl 0:00 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459395 ? SNl 0:01 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459404 ? Sl 0:04 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459441 ? Sl 0:00 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459497 ? SNl 0:02 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459514 ? SNl 0:01 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459545 ? SNl 0:04 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459575 ? SNl 0:15 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459619 ? SNl 0:00 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459643 ? SNl 0:08 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459663 ? SNl 0:01 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459686 ? SNl 0:00 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459724 ? SNl 0:00 | | | \_ /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=459298 --enable-crash-repo
459334 ? Sl 0:02 | | \_ /opt/google/chrome/chrome --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-GB --service-sandb
459763 ? Sl 0:00 | \_ /usr/lib/libreoffice/program/oosplash --writer
459798 ? Sl 0:01 | \_ /usr/lib/libreoffice/program/soffice.bin --writer --splash-pipe=5
1441 ? Ss 0:00 \_ /bin/bash /home/datapool/bin/unclutter-start
1447 ? S 0:06 | \_ unclutter --start-hidden --timeout 3
1445 ? Ssl 0:01 \_ /usr/bin/kaccess
1578 ? Sl 0:10 \_ /usr/lib/kf5/kio_http_cache_cleaner
2079 ? Ssl 0:00 \_ /usr/lib/gvfsd
75038 ? Sl 0:00 | \_ /usr/lib/gvfsd-http --spawner :1.36 /org/gtk/gvfs/exec_spaw/0
2084 ? Sl 0:00 \_ /usr/lib/gvfsd-fuse /run/user/1000/gvfs -f
69164 ? Ssl 0:00 \_ /usr/lib/at-spi-bus-launcher
112832 ? S 0:00 | \_ /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=u
69315 ? S<sl 1:00 \_ /usr/bin/pulseaudio --daemonize=no --log-target=journal
69369 ? Sl 0:00 | \_ /usr/lib/pulse/gsettings-helper
112861 ? Sl 0:00 \_ /usr/lib/at-spi2-registryd --use-gnome-session
123128 ? Ssl 0:00 \_ /usr/lib/kio-fuse -f
459298 ? Sl 0:00 \_ /opt/google/chrome/chrome_crashpad_handler --monitor-self --monitor-self-annotation=ptype=crashpad-handler --database=/home/b
459300 ? Sl 0:00 \_ /opt/google/chrome/chrome_crashpad_handler --no-periodic-tasks --monitor-self-annotation=ptype=crashpad-handler --database=/h
Offline
I'm glad I'm not the only one experiencing this. It's only happening on one PC out of three that are running Arch + KDE. I don't have access to the problematic one at the moment but I tried these troubleshooting steps on a working Writer install and this is the only thing that jumped out at me:
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified location: 47, 85
user specified size: 1805 by 980
program specified minimum size: 0 by 34
window gravity: NorthWest
The "user specified size" is a sane value, while yours is "1 by 48".
Last edited by thedanbob (2022-09-23 14:46:41)
Offline
Width: 1
Height: 53
user specified size: 1 by 48
No can't resize as there's no handle to resize.
wmctrl -r libreoffice -e 0,128,128,512,512
Offline
Yes! Once again, thanks Seth. It works and now I can change the size to whatever I want. I learned from this.
How do you make it permanent?
** Never mind it's sorted. Thanks again.
Last edited by d_fajardo (2022-09-23 17:32:50)
Offline
wmctrl -r libreoffice -e 0,128,128,512,512
Thanks for this! Another workaround I found is to right click on the application icon > More > Maximize.
Offline
Also, for me, if I close libreoffice unmaximised, it'll open up in the same unmaximised state. It's only when I close libreoffice maximised that next time it opens in the top left corner 1 pixel wide.
Offline
I also have this same issue, apparently it is fixed in libreoffice 7.4.2.
Offline
Another way to address the issue in KDE, waiting for LO 7.4.2, is using window rules.
Offline
Just updated LO to 7.4.2-1, but the issue is still there.
Offline
Try running LO in safe mode now that 7.4.2-1 is out and factory resetting the entire profile. This did NOT work for me on previous versions but does seem to work on this new version. On older versions it would relapse immediately on closing and reopening but 7.4.2-1 with a reset profile is behaving for me now.
Offline
I am also still experiencing the 1px problem in spite of the LO 7.4.2-1 update. The work-around of right-clicking the application icon > window sliver thumbnail > More > Maximize is not practical when working with many documents at a time all day as I have been the last month with this problem.
I've also discovered that if I grab an open window to drag to a different monitor, it'll turn back into a sliver as I drag it. BUT if I don't let go and throw it up against the top screen edge once I get to the other monitor, the sliver will open up to maximized because of my Workspace Behaviour setting for Screen Edges.
Another thing that is helping in the meantime are specific Window Rules for each of LO calc, writer and startcenter to force the Size & Position to Maximised horizontally and vertically. Before a recent update, those settings were not being obeyed, but the last couple of days it's been fine. I look forward to this being resolved.
Offline
Try running LO in safe mode now that 7.4.2-1 is out and factory resetting the entire profile. This did NOT work for me on previous versions but does seem to work on this new version. On older versions it would relapse immediately on closing and reopening but 7.4.2-1 with a reset profile is behaving for me now.
You're right. Resetting the profile after the update solves the issue.
Thank you.
Offline