xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #2135


Ignore:
Timestamp:
02/06/19 14:32:26 (2 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2135

    • Property Status changed from new to assigned
  • Ticket #2135 – Description

    initial v1  
    1 xpra/client/scaling_parser.py
     1[https://xpra.org/trac/browser/xpra/trunk/src/xpra/client/scaling_parser.py xpra/client/scaling_parser.py]
    22
    33"The desktop−scaling value can take the form:
     
    1111But there are at least two problems here:
    1212
    13 1. As for [now](https://xpra.org/trac/browser/xpra/trunk/src/xpra/client/scaling_parser.py?rev=21542) it seems that the code contains an annoying bug on somewhere near line 108-109, where the integer division is done rather than a float division.
     131. As for now [/browser/xpra/trunk/src/xpra/client/scaling_parser.py?rev=21542 r21542] it seems that the code contains an annoying bug on somewhere near line 108-109, where the integer division is done rather than a float division.
    1414
    15 PoC: `xpra attach :7 --desktop-scaling=10x10`
     15PoC: {{{xpra attach :7 --desktop-scaling=10x10}}}
    1616
    1717There will be a line of log says something like:
    18 
     18{{{
    19192019-02-06 14:05:09,118 Warning: scaling values 0.0x0.0 are out of range
    20 
    21 whereas `--desktop-scaling=10.0x10.0` indicates otherwise.
     20}}}
     21whereas {{{--desktop-scaling=10.0x10.0}}} indicates otherwise.
    2222
    2323I have no idea whether it is a feature but it follows a buggy pattern.