Skip to content

BUG: Screen not fully redrawn in some views #1448

Description

@Brixy

Describe the bug

The TUI is not fully redrawn (not quite sure about the correct wording) when entering "View Inbox", please see screenshots below.

Other views (compose, marketplace, settings) are not affected.

I'm using matcha's encryption, so this may be the reason. Currently I cannot turn encryption off due to #684 for testing purposes.

Two ways to force redrawing the TUI

  1. When I go back to matcha's start screen (ESC) and re-enter inbox view everything looks correct.

  2. I'm using Niri or River as windows managers. As soon as I resize the window containing matcha, matcha's TUI is redrawn and everything looks correct.

To reproduce

  1. Enable matcha's encryption(?)
  2. Kill matcha
  3. Start matcha
  4. Enter password
  5. Enter "View Inbox" -> screen looks like shown in the screenshots
  6. ESC
  7. Enter "View Inbox" -> everything looks correct

Expected behavior

I would expect the TUI screen to be fully redrawn when entering any of matcha's views.

Remaining text from the start screen should be removed.

Text like / __ '__ \/ __ '/ __│ ___/ __ \/ __ ' should be removed.

Screenshots

Image Image Image

Matcha version

496a775

Go version

go1.26.4 linux/amd64

OS

Linux

OS version

Void

Architecture

amd64 (x86_64)

Terminal

foot

Additional context

No response

Activity

  1. added
    bugSomething isn't working
    needs-triageAwaiting maintainer review
    on Jun 6, 2026
  2. andrinoff commented on Jun 6, 2026

    @andrinoff
    Member

    @Brixy is this the first version where this occurs? Seems like a weird bug, all elements are stacking on top of each other for the whole screen, leaving almost no space.

    I did see this bug on some older version exclusively on Windows, but this is definitely not the case

  3. 7 remaining items

  4. andrinoff commented on Jun 7, 2026

    @andrinoff
    Member

    The best i could replicate this is

    Image"

    trailing W e, i could not get the whole screen (running Linux with foot)

  5. andrinoff commented on Jun 7, 2026

    @andrinoff
    Member

    found the issue, not full representation. Something happens when daemon is starting, though not at full contrast (like you have).

    I am rather curious, why is daemon stopped on each of your use of matcha?

    I did want to add an option to not auto-start the daemon

  6. Brixy commented on Jun 7, 2026

    @Brixy
    Author

    Thanks a lot for investigating and the fix!

    I can confirm that the disabled daemon from #1450 resolves the issue.

    (I'm not quite sure whether I should close this issue since you mention that it's a temporary fix.)

  7. andrinoff commented on Jun 7, 2026

    @andrinoff
    Member

    It's a temporary fix. This will lead to a lot of functionality lost (though you still are loosing it). This is definitely code quality issues, starting a daemon shouldn't break UI

  8. moved this from Backlog to In review in v1 Releaseon Jun 24, 2026
  9. moved this from In review to Done in v1 Releaseon Jun 24, 2026
  10. added a commit that references this issue on Jun 24, 2026
    82a24e8
  11. added a commit that references this issue on Jun 24, 2026
    7466757
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch/amd64amd64 / x86_64area/tuiTerminal UI / view layerbugSomething isn't workingneeds-responseWaiting on issue author replyos/linuxLinux-specificos/windowsWindows-specific

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions