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
nib2cib incompletely converts NSImageView instances #2971
Comments
Milestone: Someday. Label: #new. What's next? A reviewer should examine this issue. |
I’ll have a look at this one as I’m currently working on image views... |
Note in the logging statement in the AppDelegate - the filepath is present in the CPImage, but nothing else. I hadn't previously used a static image (in IB) - this was noticed by accident while isolating bindings behaviour in the attached reduction. The problem has likely existed for a long time. This reduction also seems to highlight the problem with NSBox and resize masks - the middle one's masks should keep it entered horizontally in the window but are not doing so. |
@enquora There is an issue opened for the CPBox resize masks : #2970 |
@cacaodev More research and testing needed. For our specific immediate need, I'm simply loading and setting them manually. A nuisance, but it works. |
@daboe01 Can you make a tag for Xcode and nib2cib issues? I'd like to start grouping them together. IB is one of our major advantages (rapid app development) and I'd like to see reliability improvements in our next release (presumably with Aristo3). I'm in the middle of a major rollout at the moment and can't stop to fix things like this, but will come back to them once settled. wrt Xcode, its editor is now a very good option, especially if we can get an LSP server going for Objective-J to take advantage of refactoring features. I now have a functional xclangspec for Objective-J and am improving it incrementally. |
@enquora good idea. this can only be done by @mrcarlberg as i am not a core-dev. |
@enquora Do you want two tags, one for Xcode and one for nib2cib? |
@mrcarlberg Perhaps just a single tag - 'tools' or 'toolchain'? |
@enquora we already have the tag "tools" |
-#new |
Milestone: Someday. Labels: #needs-info, tools. What's next? Additional information should be added as a comment to this isuse. |
Digging on this one but there's a problem with nib2cib that fails converting with an error code |
A fix for the here above problem in nib2cib is pushed (see #2995). Digging on the main problem now. |
if the filepath is correctly decoded as @enquora confirmed, the only issue is that we do not automatically copy the file into the resources folder, isn't it? |
Instances of NSImageView in Interface Builder are incompletely converted by nib2cib.
The structure of NSImageView is correctly converted but image data is not converted when an image is set statically in Interface Builder.
ImageTest.zip
The text was updated successfully, but these errors were encountered: