View Issue Details

IDProjectCategoryView StatusLast Update
0001612Double CommanderViewerpublic2021-09-05 15:10
Reporterhalmai Assigned ToAlexx2000  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
PlatformMac 
Product Version0.7.3Product Build6979 
Fixed in Version0.9.0 
Summary0001612: Viewer is Slow When Lines are Long
DescriptionI have some mysql dumps, some of them are pretty long. If I press F3 to view them then even the long ones work well if their lines are not too long <100k characters.

However, some other files have very long lines (>1M characters). With those files the Viewer becomes very slow.

Steps To ReproducePress F3 on a file that has very long lines.
Additional InformationAs much as I remember, it is slow on Mac, Linux and Windows as well.
TagsNo tags attached.
Fixed in Revision8225
Operating systemWindows, Linux, MacOSX
Widgetset
Architecture

Activities

halmai

2016-11-23 03:12

reporter   ~0002003

Anything news about this? If I can help with attaching a sample file then I am glad to do it just tell me if you need it. :)

halmai

2017-10-10 07:49

reporter   ~0002372

Could this issue be confirmed at least, please? I wonder if there is anybody else who has problems with this thing or I am the only one who is affected by this. Thanks.

Alexx2000

2017-10-10 08:22

administrator   ~0002375

Try with snapshots, DC 0.8 wraps long lines to 1024 symbols.
https://doublecmd.sourceforge.io/site/eng/snapshots.html

halmai

2018-07-06 09:43

reporter   ~0002669

I tested it on this version:

Double Commander
Version: 0.9.0 alpha
Revision: 8189
Build date: 2018/06/30
Lazarus: 1.8.4.0-58419
FPC: 3.0.4
Platform: x86_64-Darwin-qt4
OS version: Mac OS X 10.11.6

Widgetset library: Qt 4.8.6, libQt4Pas 4.5.3

The slowness issue is not there aymore, however, the current solution is not correct, I think.

If I switch from View -> Show As Wrap Text to View -> Show as Text then I am doing this because I want to see the lines unwrapped. Wrapping them anyway is confusing and impacts usability. If it is absolutely needed then it still would be better to make this setting configurable. I mayight like a larger setting for myself, say 10000 or 50000 but it can vary from user to user.

Alexx2000

2018-07-27 20:46

administrator   ~0002703

Added option to change max width of unwrapped text, can be changed via doublecmd.xml - <MaxTextWidth>. Valid range: 80 - 16384.

Issue History

Date Modified Username Field Change
2016-11-11 05:01 halmai New Issue
2016-11-23 03:12 halmai Note Added: 0002003
2017-10-10 07:49 halmai Note Added: 0002372
2017-10-10 08:22 Alexx2000 Note Added: 0002375
2017-10-10 08:23 Alexx2000 Status new => feedback
2018-07-06 09:43 halmai Note Added: 0002669
2018-07-06 09:43 halmai Status feedback => new
2018-07-27 20:46 Alexx2000 Fixed in Revision => 8225
2018-07-27 20:46 Alexx2000 Note Added: 0002703
2018-07-27 20:46 Alexx2000 Status new => resolved
2018-07-27 20:46 Alexx2000 Fixed in Version => 0.9.0
2018-07-27 20:46 Alexx2000 Resolution open => fixed
2018-07-27 20:46 Alexx2000 Assigned To => Alexx2000
2021-09-05 15:10 Alexx2000 Status resolved => closed