News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Restart 'CB' from 'CB' ?

Started by LETARTARE, June 01, 2023, 04:19:42 PM

Previous topic - Next topic

LETARTARE

Can 'CB' be restarted by clicking on any menu item (e.g. changing the language) ?
Which function(s) should be used ?
CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

hildemireles


blauzahn

I am not interested in such a function. IMHO, it is not worth the trouble.

I'd rather focus on removing things that may be a reason for a restart. E.g. programming errors in cb or its plugins: undefined behaviour corrupting state, memory leaks or logic errors. One thing that annoys me for example is the slowdown in "find in files". After using it a few times on a larger project it becomes an order of magnitude slower.

Switching the language during runtime does not occur on my priority list either.

LETARTARE

#3
It's not a priority, but when translating 'CB' into another language, you must restart 'CB' to check the translations. So this would make the job easier.
I haven't come up with anything yet !
CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

stahta01

I would suggest start CB from the command line using an separate CB profile for each Language to be tested.

Tim S.
 
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]