GithubHelp home page GithubHelp logo

Comments (10)

bomberstudios avatar bomberstudios commented on July 19, 2024

Thanks for the report, will investigate! : )

from sketch-commands.

bomberstudios avatar bomberstudios commented on July 19, 2024

hi @Chuckland, can you please provide more details about this issue? I can't seem to replicate it.

If you could share a screencast / Console.app output that would be awesome : )

from sketch-commands.

interfacemarket avatar interfacemarket commented on July 19, 2024

@bomberstudios Hello! I have the same problem. As I noticed moving commands don't work if Sketch open in fullscreen mode. Can I help you with something else?

from sketch-commands.

bomberstudios avatar bomberstudios commented on July 19, 2024

@kornikow can you please share a screencast of the issue? Thanks!

from sketch-commands.

Chuckland avatar Chuckland commented on July 19, 2024

@bomberstudios screencast: https://dl.dropboxusercontent.com/u/18435190/quickcast-29-10-2015-07-41-41.mp4

  1. When 2 windows are open Move command doesn't work
  2. After closing 1 window, Move command starts working

from sketch-commands.

bomberstudios avatar bomberstudios commented on July 19, 2024

Ok… I believe that's a bug we've just fixed in Sketch. It's pretty hard to reproduce reliably, so if you could could contact me privately at [email protected] to continue the discussion there, that would be great : )

from sketch-commands.

einancunlu avatar einancunlu commented on July 19, 2024

I believe this problem is not related to this plugin, it's a general bug which I started to see after 3.4 update. In new version, Sketch's window focus is corrupted as I guess. Sometimes it supposes you're on the other document, and so plugins seem like don't work. (It tries to apply the command on the other document.)

Temporary fix I have found is opening a new Sketch file and closing it while your actual Sketch document is opened at the background. But when you switch between your Sketch windows, the focus may corrupt again, so you need to repeat this solution every-time it happens.

I discovered this when I run these codes with "Custom Plugin" menu action:
var page = context.document.currentPage()
var artboards = page.artboards()
log(artboards)

Here you can see that sometimes it prints wrong artboards.

from sketch-commands.

bomberstudios avatar bomberstudios commented on July 19, 2024

@einancunlu is right, it's a bug in Sketch and we're working to get it fixed. Thanks for the detailed steps, Emin, I'm now able to reproduce it reliable so a fix will be easy to test : )

from sketch-commands.

einancunlu avatar einancunlu commented on July 19, 2024

You're welcome @bomberstudios, glad I could help. : )

from sketch-commands.

bomberstudios avatar bomberstudios commented on July 19, 2024

This is fixed in Sketch 3.4.4, so closing : )

from sketch-commands.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.