Skip to content

Ghostty app not working #27

Description

@notDavid

Hi there, the window positions of ghostty are not remembered. Any idea what might be wrong?

Please advise :-) Thank you!

log ←
 ❯ journalctl --user --unit plasma-kwin_wayland.service --follow --since "now" | ccze -A
aug 15 07:09:50 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions - application name to add to settings: com.mitchellh.ghostty 
aug 15 07:09:50 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions - application closed - saved 1 window 
aug 15 07:09:56 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions - application name to add to settings: com.mitchellh.ghostty 
aug 15 07:09:56 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions - current status - 1 saved window - has override 
aug 15 07:09:56 tuxedo-enos kwin_wayland[2341]: file:///home/david/.local/share/kwin/scripts/rememberwindowpositions/contents/ui/main.qml:341: TypeError: Value is undefined and could not be converted to an object 
log with debug logging enabled ←
❯ journalctl --user --unit plasma-kwin_wayland.service --follow --since "now"
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: getCurrentConfig application match found {"config":{"override":true,"rememberOnClose":false,"rememberNever":false,"rememberAlways":true,"position":true,"size":true,"desktop":true,"activity":false,"minimized":false,"keepAbove":true,"keepBelow":true},"windows":{}}
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: getCurrentConfig currentConfig: {"override":true,"rememberOnClose":false,"rememberNever":false,"rememberAlways":true,"position":true,"size":true,"desktop":true,"activity":false,"minimized":false,"keepAbove":true,"keepBelow":true,"blocked":false,"window":false}
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions - application name to add to settings: com.mitchellh.ghostty
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions - current status - 1 saved window - has override
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: Adding window for client: com.mitchellh.ghostty
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: - internalId: {6dd3d592-57b0-45a7-97ed-777f755747b4} width: 800 height: 600
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: - caption: Ghostty
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: - screen serialNumber:  name: eDP-2
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: windowCountLastSession: 0 windowCount: 1
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: getHighestCaptionScoreIgnoreNumbers highestScore: 0 caption client: Ghostty caption save: ~
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: Connecting caption change listener (check once) "{6dd3d592-57b0-45a7-97ed-777f755747b4}"
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: Setting timeout for 12000 isRunning: false timer count: 0 update: true
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: All windows for com.mitchellh.ghostty loaded - windowCountLastSession: 0 instantMatchRestored: 0
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: Setting timeout for 1000 isRunning: true timer count: 1 update: false
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: Caption changed (check once) "{6dd3d592-57b0-45a7-97ed-777f755747b4}"
aug 15 07:16:35 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: getHighestCaptionScoreIgnoreNumbers highestScore: 0 caption client: /home/david caption save: ~
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: Timeout restore for client: com.mitchellh.ghostty loading count: 1 expectedConfidence: 85 minConfidence: 0 repeats: 10
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: getHighestCaptionScoreIgnoreNumbers highestScore: 100 caption client: ~ caption save: ~
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: twoWayMatch found save - loading caption: ~ saved caption: ~
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: twoWayMatch found reverse - loading caption: ~ saved caption: ~
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: Highest caption score: 100 matching dimentions: 2 best match for: loading saved caption: ~
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: Two way match - caption: 100 matching dimentions: 2 allow height shrinking: false matches: 1
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: getCurrentConfig application match found {"config":{"override":true,"rememberOnClose":false,"rememberNever":false,"rememberAlways":true,"position":true,"size":true,"desktop":true,"activity":false,"minimized":false,"keepAbove":true,"keepBelow":true,"blocked":false,"window":false},"windows":{}}
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: getCurrentConfig currentConfig: {"override":true,"rememberOnClose":false,"rememberNever":false,"rememberAlways":true,"position":true,"size":true,"desktop":true,"activity":false,"minimized":false,"keepAbove":true,"keepBelow":true,"blocked":false,"window":false}
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: restoreWindowPlacement restoreSession: false saveData.sessionRestore: false config.loginOverride: true
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: saveData.mouseTilerAuto: 0 config.restoreMouseTiler: true client.mt_autoRestore: 512
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: Restoring frame geometry based on screen position
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: - positionGlobal: QPointF(331, 157)
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: Attempting to restore window z-index
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: com.mitchellh.ghostty restored - z: true positon: false size: false desktop: false minimized: false keepAbove: false keepBelow: false caption score: 100 internalId: {6dd3d592-57b0-45a7-97ed-777f755747b4}
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: - caption   save: ~
aug 15 07:16:36 tuxedo-enos kwin_wayland[2341]: RememberWindowPositions: - caption window: ~

❯ kinfo
Operating System: EndeavourOS
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 7.1.8-arch1-3 (64-bit)
Graphics Platform: Wayland

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions