[SOLVED] Unable to scroll in Cool-Retro-Term
Tofloor
poster avatar
danygee
deepin
2018-01-20 11:02
Author
Edited by danygee at 2018-8-27 23:07

Cannot scroll in Cool-Retro-Term installed from Deepin Store.Neither with mouse or keyboard.
Once the output reaches the edge of the screen, you can't scroll eitherway.



Reply Favorite View the author
All Replies
oscararg
deepin
2018-01-21 04:49
#1
Can you tell me your configurations? I can scroll without any problem.



Anyways, searching in Cool Retro Term's GitHub's issues page, I've found that the app has some problems with hidpi scaling, more on MacOS laptops, so, on settings > terminal try changing the scaling value to another ones like 75%, 50% or the one you like most, and check if mouse becomes usable again. Greetings.
Reply View the author
danygee
deepin
2018-01-22 12:20
#2
I'm too on hidpi screen.
My scaling in CRT is set to 25%.
If I scale it back to 50% and more and then scale it back to 25% I can see the rest of the output, but as soon new data fills the screen, the problem comes back.
I have to upscale and downscale the CRT again to see the whole output.
Funny thing is, CRT on the same machine, but diferent distro (Mint) works without any problems.
Reply View the author
oscararg
deepin
2018-01-23 10:31
#3
Probably, hidpi problem is something in common between Deepin and Mac haha... Strange to say too, for me it works well, even using different themes and templates, sorry if I can't find a solution here. You can try to ask the devs (of CRT) on GitHub to see if they put some attention on its integration with Deepin, maybe a package is needed.
Reply View the author
danygee
deepin
2018-01-23 23:06
#4
Good point, will do that, thx.
Reply View the author
danygee
deepin
2018-08-09 02:25
#5
OK, looks like its a bug in QT:
https://bugreports.qt.io/browse/QTBUG-48972

Launching CRT from terminal with following command works on 4K screens (scrolling works):
  1. QT_SCALE_FACTOR=1 cool-retro-term
Copy the Code


But I don' know how to launch it with scaling parameter from *.desktop file. Following does not work:

  1. [Desktop Entry]
  2. Comment=Use the command line the old way
  3. Exec=QT_SCALE_FACTOR=1 cool-retro-term
  4. GenericName=Terminal emulator
  5. Icon=cool-retro-term
  6. Name=Cool Retro Term
  7. Categories=System;TerminalEmulator;
  8. StartupNotify=true
  9. Terminal=false
  10. Type=Application
  11. Keywords=shell;prompt;command;commandline;
Copy the Code


Any ideas?
Reply View the author
danygee
deepin
2018-08-10 23:51
#6
As a temporal workaround I've created a simple bash script:
  1. #!/bin/sh
  2. QT_SCALE_FACTOR=1 cool-retro-term
Copy the Code


And pointed to it in *desktop file:
  1. [Desktop Entry]
  2. Comment=Use the command line the old way
  3. Exec=home/your_user/path/to/the/script.sh
  4. GenericName=Terminal emulator
  5. Icon=cool-retro-term
  6. Name=Cool Retro Term
  7. Categories=System;TerminalEmulator;
  8. StartupNotify=true
  9. Terminal=false
  10. Type=Application
  11. Keywords=shell;prompt;command;commandline;
Copy the Code


This launches the CRT in scaled mode, but I'm curious why it does not work like in the previous post.
Reply View the author
danygee
deepin
2018-08-28 14:07
#7
All good in new version.
Reply View the author