Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Overlapping text when cutting folds #16289

Closed

Description

@winstliu

Prerequisites

Description

Occasionally when there are a lot of folds, cutting folds results in overlapping text such as the following.
folds-overlapping-text

I've managed to reproduce it twice now on https://github.com/atom/language-php/blob/3e45569d8fb3af6747f6e4208b16d17deb577b97/spec/php-spec.coffee while moving heredoc and nowdoc specs into their own describes.

Steps to Reproduce

  1. Open https://github.com/atom/language-php/blob/3e45569d8fb3af6747f6e4208b16d17deb577b97/spec/php-spec.coffee
  2. Fold everything and then unfold the top-level describe
  3. Try cutting and pasting some folds until it reproduces?

Expected behavior: Text to appear in order

Actual behavior: Text occasionally overlaps

Reproduces how often: Unknown, I'm guessing ~10-20%.

Versions

Atom    : 1.24.0-dev-f76a7a6ed
Electron: 1.6.15
Chrome  : 56.0.2924.87
Node    : 7.4.0

Activity

  1. sybrew commented on Jan 9, 2018

    @sybrew

    I'm also experiencing this in any language.
    Re-opening the file doesn't work so I'd assume this can be easily reproduced.

    image

    It seems that the CSS transform property is overstating its welcome:
    Unwelcomed lines are being added.

    image

    Temporarily workaround:

    Scroll to the EOF and it should disappear. If not, scroll back up and repeat.

  2. Ben3eeE commented on Jan 10, 2018

    @Ben3eeE
    Contributor

    This seems to happen for edits that cause the horizontal scrollbar to appear.

    /cc: #15831 because it might fix this issue. We should test to see if it is fixed by that PR and add test coverage for this bug as well.

    @sybrew Did you make edits that cause the horizontal scrollbar to appear when reproducing this? If not can you please open a new issue and fill out the issue template?


    Recorded this in 1.23-beta. Forgot if I was in safe mode or not but I reproduced 100% with these steps:

    that double line thing again

  3. lock commented on Aug 14, 2018

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  4. locked as resolved and limited conversation to collaborators on Aug 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions