Author Topic: Restart 'CB' from 'CB' ?  (Read 5173 times)

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Restart 'CB' from 'CB' ?
« on: June 01, 2023, 04:19:42 pm »
Can 'CB' be restarted by clicking on any menu item (e.g. changing the language) ?
Which function(s) should be used ?
CB-13515, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.6
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

hildemireles

  • Guest
Re: Restart 'CB' from 'CB' ?
« Reply #1 on: June 26, 2023, 06:39:27 am »
Did you find any info out ?

Offline blauzahn

  • Almost regular
  • **
  • Posts: 179
Re: Restart 'CB' from 'CB' ?
« Reply #2 on: June 26, 2023, 09:03:02 am »
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.

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: Restart 'CB' from 'CB' ?
« Reply #3 on: June 26, 2023, 10:16:46 am »
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 !
« Last Edit: June 26, 2023, 10:18:43 am by LETARTARE »
CB-13515, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.6
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7666
    • My Best Post
Re: Restart 'CB' from 'CB' ?
« Reply #4 on: June 26, 2023, 03:38:50 pm »
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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org