Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W weston
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 316
    • Issues 316
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 118
    • Merge requests 118
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wayland
  • weston
  • Issues
  • #478

Closed
Open
Created Mar 16, 2021 by moniker117@moniker117

Weston Terminal Font Issues

It's possible these are two separate issues, but I'm observing that, with certain fonts such as "Noto Sans Mono", maximizing Weston Terminal will cause the first line of the text area to be behind the toolbar, as well as issues where weird white lines are rendered across the screen. To recreate:

Text area out of alignment when maximized:

  1. Launch Weston Terminal by launching weston-terminal --font="Noto Sans Mono"
  2. Maximize the terminal window by either double-clicking on the toolbar or clicking on the maximize icon in between the minimize and close buttons on the top right of the terminal tool bar.
  3. The first line of text will render behind the toolbar. (See terminal-weston-maximized-noto.png for a screenshot of what that looks like).
  4. Everything will work, you can type in commands, but whenever you do a "clear" command to clear the screen the first line will always return to the very top behind the toolbar. It's as if the tool bar is not recognized as the boundary of the text area. I have noticed this won't happen with all fonts, for example, weston-terminal --font="Source Code Pro" will work correctly, see terminal-weston-maximized-scpro.png.

Text area will render weird underlines for no apparent reason:

  1. Launch Weston Terminal by launching weston-termianl --font="Source Code Pro"
  2. Launch Vim editor by typing vim. This will launch the generic splash screen that has the version information and license, etc.
  3. Exit the editor by typing ":q" to return to the shell.
  4. Immediately, you will get a long white line that runs across the screen.
  5. Pressing Enter repeatedly will draw another white line.
  6. Clearing the screen with "clear" command will draw white lines repeatedly. This problem doesn't seem to be font specific. I've seen this happen with other programs, but the Vim example is one that I can do to always recreate it.

I can provide additional information if required.

Background information:

  1. Raspberry PI 4
  2. Linux, 5.10.22-3-ARCH, aarch64, Arch Linux
  3. Weston 9.0.0

terminal-weston-maximized-noto.png terminal-weston-maximized-noto terminal-weston-maximized-scpro.png terminal-weston-maximized-scpro terminal-weston-weird-lines.png terminal-weston-weird-lines

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking