Skip to content

Linux: Leading spaces of shared text get stripped #226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zathras opened this issue Apr 27, 2021 · 1 comment · Fixed by #236
Closed

Linux: Leading spaces of shared text get stripped #226

zathras opened this issue Apr 27, 2021 · 1 comment · Fixed by #236
Labels
bug Something isn't working linux share_plus Feature, Enhancement, Bug Fixes for Share Plus Plugin

Comments

@zathras
Copy link

zathras commented Apr 27, 2021

System info

Issue occurs on: Linux
Plugin name: share_plus
Plugin version: 2.0.2
Flutter doctor output:

[✓] Flutter (Channel stable, 2.0.5, on Linux, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for
      more details.
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Community Edition (version 2020.3)
[✓] Connected device (2 available)
(it's wrong about Android Studio)

Steps to Reproduce

    Share.share('a\n  b\n\tc');

Launches a compose e-mail window (with Thunderbird, in my case), but the indentation is lost. I see:

a
b
c

instead of

a
  b
        c

Maybe Thunderbird needs to be told that the message is plain text, and not HTML?

@zathras zathras added the bug Something isn't working label Apr 27, 2021
@miquelbeltran miquelbeltran added share_plus Feature, Enhancement, Bug Fixes for Share Plus Plugin linux labels Apr 27, 2021
@zathras zathras changed the title Linux: Leading of shared text spaces get stripped Linux: Leading spaces of shared text get stripped Apr 30, 2021
@miquelbeltran
Copy link
Member

this should be fixed in share_plus_linux 2.0.2

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working linux share_plus Feature, Enhancement, Bug Fixes for Share Plus Plugin
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants