×

INDI Library v1.7.6 Released. (27 Feb 2019)

First release of 2019 comes with quite a few new drivers across the board along with significant performance improvements to INDI camera and live streaming performance. Many drivers received significant updates to improve performance & stability, while a few were re-written from scratch to be in line with INDI standards. Here are some of the highlights:

custom flag icon not recognized [kstars]

  • Posts: 346
  • Karma: 3
  • Thank you received: 35

custom flag icon not recognized [kstars] was created by pauledd

Hi there, I was trying to use a custom gif for flaging but kstars doesn't recognize it.
I used gimp to create an 10x10 Pixels,indexed 1-colored b/w gif with transparency.
The file is in: "user/.local/share/kstars/flagSmall_white_star.gif"
Kstars shows only the default icon and no error message at start.
I attached the icon file.
--= human, without Windows™ =--
pls excuse my bad english! :)
3 years 5 months ago #5591
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 346
  • Karma: 3
  • Thank you received: 35

Replied by pauledd on topic custom flag icon not recognized [kstars]

I found a solution from this code line:
kstars/kstars/skycomponents/flagcomponent.cpp:210
if( item.name().startsWith( "_flag" ) ) {
The flag filename has to start with an underscore followed by "flag" instead of kstars recommendation "names must begin with flag".
If I rename my "flagSmall_white_star.gif" to "_flagSmall_white_star.gif"
then kstars can see it.
--= human, without Windows™ =--
pls excuse my bad english! :)
3 years 5 months ago #5600

Please Log in or Create an account to join the conversation.

Replied by knro on topic custom flag icon not recognized [kstars]

I didn't test it, but I made the change, thanks! Please test tomorrow and let me know if that fixed it.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
3 years 5 months ago #5602

Please Log in or Create an account to join the conversation.

  • Posts: 346
  • Karma: 3
  • Thank you received: 35

Replied by pauledd on topic custom flag icon not recognized [kstars]

It works but for example flagSmall_red_cross.gif is now listed as "flagSmall red cross" instead of "Small red cross"
--= human, without Windows™ =--
pls excuse my bad english! :)
3 years 5 months ago #5603

Please Log in or Create an account to join the conversation.

Replied by knro on topic custom flag icon not recognized [kstars]

Should be working now.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: pauledd
3 years 5 months ago #5611

Please Log in or Create an account to join the conversation.

  • Posts: 346
  • Karma: 3
  • Thank you received: 35

Replied by pauledd on topic custom flag icon not recognized [kstars]

confirmed! thanx
--= human, without Windows™ =--
pls excuse my bad english! :)
3 years 5 months ago #5613

Please Log in or Create an account to join the conversation.

Time to create page: 0.152 seconds