Project

General

Profile

Actions

Bug #5753

closed

/background -f not filling correctly

Added by westor (GR) over 1 year ago. Updated over 1 year ago.

Status:
Invalid
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
07/12/2023
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

It seems /background does not filling the window correctly here.

Reproduce code :

alias bg_test {
  var %w = @test_window

  window -Bdk0j1000000 %w Consolas 12

  var %f = $envvar(temp) $+ \black_bg.png

  bset &f -1 137 80 78 71 13 10 26 10 0 0 0 13 73 72 68 82 0 0 0 1 0 0 0 1 8 2 0 0 0 144 119 83 222 0 0 0 1 115 82 71 66 0 174 206 28 233 0 0 0 4 103 65 77 65 0 0 177 $& 
    143 11 252 97 5 0 0 0 9 112 72 89 115 0 0 14 195 0 0 14 195 1 199 111 168 100 0 0 0 12 73 68 65 84 24 87 99 184 116 233 18 0 4 240 2 119 238 140 213 248 0 0 0 0 73 69 78 68 174 66 96 130

  bwrite -c $qt(%f) 0 -1 &f

  background -f %w $qt(%f)

  .remove $qt(%f)
}

- Thanks!


Files

Actions

Also available in: Atom PDF