-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Start page template buttons may require 2 clicks #14039
Comments
Is different to #13991? |
It might be the same bug but I'm not sure. Clicking on the button's title doesn't work for me but clicking on the description and anywhere else does. In the video, I didn't click on the title (or even description) itself but maybe close enough. |
@chennes FYI |
@FEA-eng I'm using a stylesheet (Behave-dark) and found this to be really annoying so I had a look in the code and found that if I added the boolean parameter FileCardUseStyleSheet to BaseApp/Preferences/Mod/Start and set to false that my QPushbutton settings from Behave-dark would be wholly put in use. This then allows the entire button to be clicked without any issue. Now it looks like you're using Classic without stylesheet so it may not work for you but worth trying. Now there's something that should prevent all this and that's https://github.com/FreeCAD/FreeCAD/blob/main/src/Mod/Start/Gui/StartView.cpp#L227 but on my Debian 12.4 system this doesn't seem to pick up any stylesheet neither a FC provided or system one from Cinnamon. In some previous work on Techdraw I ended up using my own function to correctly pick my stylesheet up.
|
Yeah, unfortunately, this doesn't work for me. |
OK, I've been tracking down the root cause and it appears this is all down to the Html bold tags so I've removed the heading and made the description bold using the QLabel style. You will have to compile main...Syres916:FreeCAD:Fix_New_User_Start_Buttons and retest. It works for me as a completely new user.
|
@FEA-eng are you not able to compile and test the above branch, it would be quite good to get this improved? |
I can compile it, I just didn't have time to do it. |
@Syres916 It's working properly with your fix. |
@FEA-eng thanks for the efforts, I'll raise a PR. |
Thanks for developing a fix for this nasty issue. I'll approve the PR once it's sent. |
Is there an existing issue for this?
Problem description
It's not a big issue and it happens only once in a few times but can be quite annoying. I've noticed that the Start page template buttons may not work the first time you click on them. They just get the green outline but nothing else happens. Only clicking the second time activates the template. I've noticed it with the Empty file template because I use it very often but I've seen it at least with the 2D Draft template as well.
It seems that it happens when the buttons are clicked too quickly after starting FreeCAD.
buttons.mp4
Full version info
Subproject(s) affected?
Core
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: