Why does program XYZ appears/turns as/to a gray canvas?

Added by Christoph Kappel almost 6 years ago. Updated by Christoph Kappel over 5 years ago.

Category: Programs Difficulty: Difficulty5
Assignee: - Due date:
Related issue: - Related Message: -
Related version: - Views: 2795
Valid: Valid


Generally, this happens, when a program needs a specific aspect ratio and subtle sets a gravity that violates this. Windows can tell the window manager about this kind of preferences via their size hints and subtle can honor those.

There are two possible ways:

  1. Enable size hints globally with the :resize option
    Numbers: on /off1 set :resize, true
  2. Enable this per program via tag
    Numbers: on /off1 tag "name" do
    2   match  "name" 
    3   resize true
    4 end

Note: This can happen with Java too, see here for more information.

Also available in: PDF