Pages numbering wrong with schematic pages

This project has some submodules inside other submodules.
Then the hierarchical navigator shows these page1, page2, page3, … labels
After page3, it jumps to page32 as you can see here.
image

Is this the expected behavior?

Application: KiCad Schematic Editor

Version: 6.0.5-a6ca702e91~116~ubuntu22.04.1, release build

Libraries:
	wxWidgets 3.0.5
	libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.11

Platform: Linux 5.15.0-39-generic x86_64, 64 bit, Little endian, wxGTK, ubuntu-wayland, wayland

Build Info:
	Date: May  3 2022 08:42:29
	wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.74.0
	OCC: 7.5.2
	Curl: 7.83.0
	ngspice: 36
	Compiler: GCC 11.2.0 with C++ ABI 1016

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON

Just tested with a fresh created “new project” (with v6.0.5.stable, on Win10). All subsheets are created with increasing numbers. Are you really sure that the “32…33…34…35…36” are automatically generated?

If so than a step-by-step description would be good to recreate this.
Or this is a new feature in the 6.0.x-testing builds?

There are never “new features” in stable branch testing builds. All feature development happes in the unstable nightly builds (at the moment 6.99). Testing builds of stable branches are reserved for bug fixes only.

No, I am not sure.

I got a project on the internet, that is showing this. Maybe it is a buggy project.
This one here https://github.com/leoheck/kiri/files/8934457/git-tests-with-kicad.zip

I’ve noticed that all UUIDs of all schematics are the same. This indicates that the schematics were generated manually by replicating a single file I believe

But this should not be a problem since Kicad should be able to handle moving folders from one project to another, I guess.

Here it is the UUID | file_path pair

There are just 2 different UUID’s

187f65a2-79ff-4320-9da1-e95127f9e0ef | test_project.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet1.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet2.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet3.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet4.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet5.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet6.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet7.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet8.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet9.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet10.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet11.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet12.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet13.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet14.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet15.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet16.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet17.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet18.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet19.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet20.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet21.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet22.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet23.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet24.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet25.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet26.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet27.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet28.kicad_sch
db930cf2-613e-40c1-8ebf-ea622b0f4a74 | modules/subsheet29.kicad_sch

I got a project on the internet, that is showing this.

Than I believe that the user has (deliberately or not) changed the Sheet name string and the Sheet Page number.

yeah, I did not know these things were hardcoded inside the files. I was thinking that the page number could be generated on the fly. Now, about the UUID, I have not idea if they are that important or not.