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
"View" -> "Toolbar" menu item is not active #733
Comments
Possibly worth to take a look at a19e558 |
@morevnaproject I would like to fix this issue |
@bajajvinamr it's yours now :) |
Hii @morevnaproject, |
Great @kamal-kaur04 assigning you this one. |
Hii @morevnaproject |
@morevnaproject I have tried to do this but I am not able to find the key that binds this whole toolbar. Can you please help me out with this? |
AFAIK this uistring is defined in app.cpp and only for starting elements of toolbar viz save, save all, render etc. The only possible way I see is to define a getter for the widget(toolbar) and change it's property i.e hide/unhide accordingly. @ice0 However this doesn't sound like how other things are being handled. So is there a better way to do this? |
@kamal-kaur04 you can start to dig from Edit->Preferences->Show file toolbar. When you switch it off, and restart Synfig - you will see that part of the toolbar is hidden. synfig/synfig-studio/src/gui/canvasview.cpp Lines 1135 to 1141 in 9e189c3
The problem is a little bit harder, and you can't use approach used in But don't give up. This is a good way to better understand how Synfig works. You will learn a little bit about CanvasView and how to get active CanvasView. Also i want to ask: did you have issues with compiling/testing? How long does it take? I have a few ideas on how to improve this, but I don’t know if this is necessary now.
I think that would be good enough. If someone finds a better way, we can always refactor it later :) |
@ice0 @ankit-kumar-dwivedi when I tried the approach like menubar, was able to hide/show the icons referenced by the key(toolbar-main). But it doesn't show the required behavior for sure. Thank you for your take on the issue. |
@kamal-kaur04 if your PC has more than 1 core, you can increase the number of jobs (threads) the build system uses. This should speed up your compilation. By default, autotools are set to 2 threads only. See And if you're building via |
Okay. Thank you @rodolforg |
Also you can run For example if you are changed |
Yes, that's a different toolbar. ^__^ |
Thank you @ice0 @morevnaproject , I am trying to fix this. Will be able to do for sure. :) |
@kamal-kaur04 any progress on this? Let us know if you are stuck. |
@kamal-kaur04 are you working on this any more? |
@ice0, I want to work on this issue. |
@ARYA-BHARDWAJ Sure, it's yours now ) |
@ice0 I guess this can be solved by changing displaybar of canvasview of current window. But I don't understand how to get canvasview of current window. |
Please look at |
Closed via #1386 |
This issue is already fixed in v1.4.1. |
"Toolbar" menu item in "View" menu is not active.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: