User forums > General (but related to Code::Blocks)

Split view initial font size incorrect

<< < (3/4) > >>

Jenna:
win7 64bit
all other is 32-bit
TDM MinGW 4.4
wx2.8.10
C::B svn r6911
Courier New 8pt or 10 pt ,bold or normal

I still can not reproduce

MortenMacFly:
winxp 32bit
C::B svn r6912
Courier New 8pt or 10 pt

...can't reproduce, too?!

danselmi:
You are right. I think the scond view has default fonst size. But the first view has the "previously used" size.
To reproduce:
- open only one file, zoom in (as much as possible, to be sure it is not the default)
- close open file (optional)
- open a file or ctrl-shift-n to create a new empty file. it has the previosly used size and not the default.
- split. the second view has default size

Jenna:
The problem is the zoom-factor for the editor.
The last changed zoomfactor is stored globally and used for all new editor (except for split-view).
I made a change yesterday, that saves the zoom-factor on a per editor base in the projects layout-file.
It also saves the split-state (not the splitter position yet, but this should be easy) and the zoom-factor of both controls in split-view.

I will open another thread for this, to discuss it, because it does more than just simple changes to the behaviour.
I will add a link to the new thread  if it is created.

UberNewb:

--- Quote from: oBFusCATed ---UberNewb: if you're on windows or debian try the latest nightly, the bug might be fixed after 10.05 (if I guess correctly that Jens is using HEAD).

And please next time post your system's software versions (OS/CB/compiler)

--- End quote ---
I downloaded the nightly build version 6906 and I can still reproduce the same problem. I remember at one point in Code Blocks history that a split window would open in the same font size as selected in the menu, but I don't remember when it started using a different font.

I'm using Windows Vista 32 bit, CodeBlocks svn 6906, and MinGW 3.4.5.

No matter what zoom I use or what font size I select in the menu, the split view always opens up using font size 12.


--- Quote from: jens ---The problem is the zoom-factor for the editor.
The last changed zoomfactor is stored globally and used for all new editor (except for split-view).
I made a change yesterday, that saves the zoom-factor on a per editor base in the projects layout-file.
It also saves the split-state (not the splitter position yet, but this should be easy) and the zoom-factor of both controls in split-view.

--- End quote ---

Wouldnt' it be easier to just open new split editors in the font size selected in the menu?

Is there any way to edit a configuration file so I can fix this locally?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version