Skip to content

Icons preview not shown on hover  #3641

Closed

Description

@maheshj01

Describe the bug
Hovering on a icon does not show icon Preview

To Reproduce
Steps to reproduce the behavior:

  1. Add icon to widget tree in vscode
  2. Hover mouse cursor on the icon

Expected behavior
Icon preview should be visible

Actual behavior
Icon preview is not shown

Screenshots

Screenshot 2021-10-29 at 1 23 28 PM

Screenshot 2021-10-29 at 1 17 22 PM

Versions (please complete the following information):

  • VS code Version: 1.59.1
  • Dart extension version: v3.27.2
  • Dart/Flutter SDK version: 2.6.0
flutter doctor -v
[✓] Flutter (Channel master, 2.6.0-12.0.pre.478, on macOS 12.0.1 21A559 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-12.0.pre.478 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision abecef6ed3 (2 days ago), 2021-10-26 20:31:29 -0700
    • Engine revision 925bae45ee
    • Dart version 2.15.0 (build 2.15.0-250.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.59.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.27.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.0.1 21A559 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 95.0.4638.54

• No issues found!

Activity

  1. changed the title [-]Icons not shown on hover [/-] [+]Icons preview not shown on hover [/+] on Oct 29, 2021
  2. DanTup commented on Nov 1, 2021

    @DanTup
    Member

    I don't seem to be able to reproduce this:

    Screenshot 2021-11-01 at 13 56 40

    The icons are shipped with the extension, so there's no reliance on an internet connection. Could you try:

    • Trigger the bug, then click Help -> Toggle Developer Tools -> Console and check if there are any errors/warnings that seem like they may be related to Icons
    • Run ls ~/.vscode/extensions/dart-code.dart-code-3.27.2/media/doc-icons/material/[email protected] in a terminal and see whether it reports the file exists or not

    Thanks!

  3. added
    awaiting infoRequires more information from the customer to progress
    on Nov 1, 2021
  4. maheshj01 commented on Nov 1, 2021

    @maheshj01
    Author

    @DanTup thanks for taking a look

    Here is the requested info

    image

    looks like the icons are present.

    mahesh@Maheshs-MacBook-Air-M1 ipa % 
     ls ~/.vscode/extensions/dart-code.dart-code-3.27.2/media/doc-icons/material/[email protected]
    /Users/mahesh/.vscode/extensions/dart-code.dart-code-3.27.2/media/doc-icons/material/[email protected]
    mahesh@Maheshs-MacBook-Air-M1 ipa % 
    
    

    Let me know if you need any additional info.

    Thanks

  5. DanTup commented on Nov 1, 2021

    @DanTup
    Member

    Ah sorry, I missed your VS Code version. There was a bug in VS Code that was fixed (microsoft/vscode@863eb4d) in VS Code 1.60.0 but you're on 1.59.1. It should start working again once you upgrade :-)

  6. added and removed
    awaiting infoRequires more information from the customer to progress
    on Nov 1, 2021
  7. maheshj01 commented on Nov 2, 2021

    @maheshj01
    Author

    Thanks, it's working with the upgrade.

  8. DanTup commented on Nov 2, 2021

    @DanTup
    Member

    Great! :-)

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