Giter VIP home page Giter VIP logo

layers-panel's People

Contributors

jiminy-billy-bob avatar thomthom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

layers-panel's Issues

Nested operations

@dialog.add_bridge_callback("addGroupStart") do |wdl, groupName|
            @model.start_operation("Add group layer", true)
            self.initializeLayerDictID
            # puts groupName
            # puts @layerDictID
            @model.set_attribute("jbb_layerspanel_groups", @layerDictID, groupName) #Store group's name with ID
        end#callback addGroup

This doesn't play well. self.initializeLayerDictID starts an operation, and even though it's transparent you cannot nest operations. When you start a new operation it will interrupt the existing one.

Google earth snapshot

"Whenever I use the Grab Location feature of SU to Geo-locate my model, the Google Earth Terrain and Snapshot layers come into the model, BUT Layers Panel assigns BOTH layers the same name..."Google Earth Snapshot", and the functionality of Layers Panel is broken.
If I open the standard SU Layers, both the "Google Earth Terrain" and "Google Earth Snapshot" layers are there, and work as expected."

http://sketchucation.com/forums/viewtopic.php?p=508738#p508738

Difficult to unfold under Windows 8.1

After folding up the window it's not possible to close it. I assume this is because the tool window is larger under Windows 8 and the fold up code doesn't account for this.

I also assume this will appear in any Windows version if the user customize their Windows theme to have non-default frame sizes.

I had to resize the window by grabbing it's window frame.

2014-03-10_17h21_55

OSX - Delete Layer buttons doesn't work

The New Layer and New Group works fine, but the Delete buttons doesn't delete any layers - nor is any error messages output.

"Delete Layers and delete content(s)" display a dialog box, but nothing happens after answering it.

IE warning option

You have an option to disable the IE warning. Are there reports of issues with that warning when you have <meta http-equiv="X-UA-Compatible" content="IE=edge"/>?

OSX fold/unfold bugged

When folding the window drops to the bottom. Not a big deal.
But clicking the bar to unfold the window it doesn't restore the height and the width increases by a small amount.

jquery.scrollTo.js not found

file:///Users/tthomas2/SourceTree/Layers-Panel/jbb_layers_panel/js/jquery.scrollTo.jsFailed to load resource: The requested URL was not found on this server.

"Could not delete 'layers_panel.rb'"

This code could use some better checking or exception handling.

Check if the file actually exists before attempting to delete it - this will help keep the Ruby Console messages to a minimum.

There may be other reasons an existing file could not be deleted where you want to show a message, but also show the actual Exception for debugging.

Issue with Podium on OSX

The "Podium not installed" dialog pops up on OSX, even though Podium is installed. SU seems to crash in this case.

OSX - Options window opens up behind SU window

When it opens it flickers and then disappear. I found it behind the SU window. I assume there is code to set the focus back to the SU window - which causdees problems under OSX if the window is not displayed using show_window.

CRITICAL: Setting attributes with empty key corrupts model

We discovered recently a bug in SketchUp where using set_attribute with an empty string as key the model would become corrupted. If saved the model would not be able to be opened again - the user would be a "Unexpected File Format." dialog upon trying to read it.
This also affect values that evaluates to empty strings, such as nil.

Since nil evaluates to empty string it's easy for this to manifest if some part of the code return nil on failure and once doesn't expect it.

We have fixed this issue in set_attribute in the next release of SketchUp (post 2014). But it means this issue is wide open on older versions.

A couple of days ago we noticed a thread on our forums where a user had had just that dialog:
http://forums.sketchup.com/t/the-dreaded-unexpected-file-format/1026

Our team investigated it and found that set_attribute had been the culprit. We where also able to identify the extension (or with high probability) that it was Layer Panel. From what I'm told in this case it was empty key on an attribute on a Page. But this issue would appear regardless on wherein the model it is set.

I would recommend that you create a wrapper around set_attribute where you validate the key being set.
The section or value is not affected by this issue.

Hidden INPUT element

Found this: <input id="serialize" value="" style="display:none"/>

Instead of using CSS styling I'd recommend to use the type attribute:

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.