Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.98k stars 169 forks source link

Unable to set window title #4325

Closed snhirsch closed 3 months ago

snhirsch commented 3 months ago

Describe the bug

The "--title=.." parameter is supposed to set the window title. It does not. Regardless of what I pass, the window is always named 'Xpra, Xpra<2> .. Xpra'

To Reproduce Steps to reproduce the behavior:

  1. server command
  2. client command
  3. specific action to trigger the bug

I'm running the legacy 'run_scaled' script. It doesn't matter what the child application is.

xpra start "$DISPLAYNUM" \
     --xvfb="Xvfb +extension Composite -screen 0 ${UNSCALED_RESOLUTION}x24+32 -nolisten tcp -noreset  -auth \$XAUTHORITY" \
     --env=GDK_SCALE=1 \
     --env=GDK_DPI_SCALE=1 \
     --start-child="$ESCAPED_PARAMS" \
     --title="Test" \
     --exit-with-children

sleep "$SLEEPTIME"

xpra attach "$DISPLAYNUM" \
     "--desktop-scaling=$SCALING_FACTOR" \
     "--opengl=$USE_OPENGL" \
     --title="Test" \
     $PERFORMANCE_OPTIONS \
     $PERSONAL_OPTIONS || xpra stop "$DISPLAYNUM"

System Information (please complete the following information):

Kubuntu 18.04 LTS

3.1.8-r11-1

Additional context

Add any other context about the problem here. Please see "reporting bugs" in the wiki section.

I may be misunderstanding what this flag is intended to do. If so, my apologies. Program behavior seems correct in all other aspects .

totaam commented 3 months ago

FYI: 3.1.x is EOL. Please try 88556ec153ef15a2709f6726768a3ad56080d78d or later.

snhirsch commented 3 months ago

Thanks SO much for that quick patch to the EOL branch! Problem is corrected :-)