OpenDial: Incorrect work with icons.ini #96

Closed
opened 2025-02-10 19:02:02 +01:00 by Burer · 3 comments
Owner

OpenDial have some strange behavior with files of certain extensions.
Specifically, files with c extension don't have proper icon with default icons.ini.
But if c selector is moved before dic selector, everything works as intended.
Maybe this problem occurs with any other combination of selectors, but currently I was able to reproduce it only with c and dic.

P.S. Independent of this bug, I suggest sorting all selectors in icons.ini in alphabetical order, just for easier navigation.

OpenDial have some strange behavior with files of certain extensions. Specifically, files with `c` extension don't have proper icon with default `icons.ini`. But if `c` selector is moved before `dic` selector, everything works as intended. Maybe this problem occurs with any other combination of selectors, but currently I was able to reproduce it only with `c` and `dic`. P.S. Independent of this bug, I suggest sorting all selectors in `icons.ini` in alphabetical order, just for easier navigation.
Burer added the
Category/Applications
Kind
Bug
Priority
Low
labels 2025-02-10 19:02:26 +01:00
dunkaist added reference main 2025-02-10 19:05:45 +01:00
Owner

'dic=3' has 'c=3' as its substring. The File browser widget of box_lib is happy with that. The bug is in fb_get_icon_number.

'dic=3' has 'c=3' as its substring. The File browser widget of box_lib is happy with that. The bug is in [fb_get_icon_number](https://github.com/KolibriOS/kolibrios/blob/main/programs/develop/libraries/box_lib/trunk/filebrowser.asm#L761).
Owner

Should be fixed in 195f996c1b. Please, check https://builds.kolibrios.org/en_US/data/data/

Should be fixed in https://git.kolibrios.org/KolibriOS/kolibrios/commit/195f996c1b5d634e09e55cd000688f8d333baac2. Please, check https://builds.kolibrios.org/en_US/data/data/
Author
Owner

Tested .iso image with commit 195f996. Seems to be fixed.
Also, sorted icons.ini in c07e2a9857 by order icon_number->file_extension.

Tested .iso image with commit 195f996. Seems to be fixed. Also, sorted icons.ini in c07e2a9857 by order icon_number->file_extension.
Burer closed this issue 2025-02-12 18:10:22 +01:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#96
No description provided.