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
[Problem] Opening an image from the file menu is confusing and not useful #8556
Comments
How are you "opening" the file? What command? What workbench? |
From the menu bar File->Open No WB in particular. This to open a drawing to refer to whilst creating a model. E.g. like SVG opened as a drawing rather than using Geometry. |
I didn't know png was a valid import type. I don't think this works in v0.21. You could add the image to a TechDraw Page with TechDraw_Image. |
It's in the list of supported file formats. https://wiki.freecad.org/Import_Export It almost works just the zoom levels are incorrect. This isn't hugely important to me. I'm just raising it as an issue so people know about it. Maybe it's an easy fix or maybe it's something the development team want to drop . |
Opening the image isn't terribly helpful since it just opens the image in a new tab and you can't really do anything with it. To be honest, I don't know why this functionality exists. If you want to use the image as a reference, go to the image workbench. import the image to an imageplane. You can orient the plane in 3D space and scale it as needed. Then it's useful to draw over. |
@julia-m-stephenson if the imageplane does what you want, I'm going to suggest we change the title of this PR to "Opening an image from the file menu is confusing and not useful" Maybe one of the UI oriented folks like @PaddleStroke or one of the old timers like @yorikvanhavre knows why this exists and if it should be preserved. |
I didn't knew FC had a basic image viewer. I don't really see the point as all OS have basic image viewers. By the way, the image workbench could maybe be elaborated to enable basic image editing directly in FC. |
AFAICT, in v0.21 you can not open a png file using File > Open. |
I can. It's still in the supported formats list. Opening from the File menu does the same thing as this command:
That's a good idea. It could automatically align the plane to the current view.
Better tools for scaling and placement but let's kick other kinds of editing down the road. |
My bad. I was using a build without the ImageWB. |
FYI, several of the complaints raised at Fosdem were about the image workbench, scaling, and display. |
|
I think that is a generic FeaturePython icon, not specific to image planes |
PR 8955 is a significant improvement. It specifically fixes two issues from the Fosdem complaint session
The imageplane now has a dedicated task panel that can be used to adjust the scale and maintain aspect ratio. The PR preserves the ability to open an image in a separate MDI window. This is deemed a feature since someone may want to look at the image in one window while editing a model in another. This issue remains open because there is additional work to do. As of now, there are four different ways to open the image in the MDI window and two ways to open it in an imageplane. MDI window:
Image Plane:
The image workbench should be considered deprecated and will eventually be removed. When it is, MDI(2) and ImagePlane(4) will go away. Could the behavior of file->import and file->open differ: Two-point scaling needs a reworked workflow. After that, it can be incorporated into the imageplane task panel and image workbench can be removed. Did I miss anything? Note: This comment edited. A stale cache in my build was causing goofy behavior. Sorry about that. |
It would be great to have support for older model files that already have images loaded into them |
Would removing the workbench mean that previous image planes will stop working? A migration script might be a good idea then |
should this be closed now? |
I think so 👍 |
Is there an existing issue for this?
Forums discussion
No response
Version
0.20 (Release)
Full version info
Subproject(s) affected?
None
Issue description
When opening a PNG file the view seems to be constrained to a letter box.
If you zoom in and out using the scroll wheel it displays tiny.
As a workaround I opened the file in inkscape and saved as SVG. This file was opened as a drawing and displayed correctly.
Here is the PNG.
Here is the SVG.
Thanks.
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: