Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698528 - app-portage/mirrorselect-2.2.6-r1 overwrites selection dialog in xterm upon return to shell
Summary: app-portage/mirrorselect-2.2.6-r1 overwrites selection dialog in xterm upon r...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-25 13:18 UTC by Adam Purkrt
Modified: 2023-07-06 08:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
mirrorselect-in-xterm-overwritten.png (mirrorselect-in-xterm-overwritten.png,19.48 KB, image/png)
2019-10-25 13:19 UTC, Adam Purkrt
Details
mirrorselect-in-xterm-correct.png (mirrorselect-in-xterm-correct.png,19.68 KB, image/png)
2019-10-25 13:22 UTC, Adam Purkrt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Purkrt 2019-10-25 13:18:07 UTC
When mirrorselect is run in xterm (or xfce4-terminal), and is started from a command line not at the bottom of the screen, it overwrites the dialog upon returning to shell.

Reproducible: Always

Steps to Reproduce:
1. start xterm
2. "su -" to become root
3. "mirrorselect -i"
4. select a mirror
5. press enter to select <ok> (or select <cancel>)
Actual Results:  
The program writes an info message about modifying make.conf and returns to shell. This info message is written over the dialog, which is inconvenient.

Expected Results:  
The info message should be printed below the dialog.

When started from a console (e.g. Ctrl+Alt+F2, login as root, run mirrorselect) this never happens (the program returns to the shell at the bottom of the screen).
Also, when mirrorselect is started in xterm and the cursor/command prompt is on the bottom of the screen, then the message is displayed correctly below the dialog upon exit.
Comment 1 Adam Purkrt 2019-10-25 13:19:32 UTC
Created attachment 593912 [details]
mirrorselect-in-xterm-overwritten.png

The incorrect result after running mirrorselect in xterm.
Comment 2 Adam Purkrt 2019-10-25 13:22:15 UTC
Created attachment 593914 [details]
mirrorselect-in-xterm-correct.png

Correct result (obtained by running mirrorselect from a command line at the bottom of the xterm window).