[prev in list] [next in list] [prev in thread] [next in thread] List: kde-devel Subject: Re: Missing application icons of many KDE apps on MacPorts/OSX From: mk-lists () email ! de Date: 2014-03-31 20:41:39 Message-ID: DCA6504C-CB40-45E7-9689-FD0FB02E0130 () email ! de [Download RAW message or body] [Attachment #2 (multipart/alternative)] Icon-wise there is progress on my end. I peeked into kmines=92 sources (since it does show its icon = properly on MacOSX and has very short source code) ... =85 and it turned out that it is important in which order the CMake = directives kde4_add_app_icon() and kde4_add_executable() are appearing = in CMakeLists.txt. If kde4_add_app_icon() comes after kde4_add_executable() the = ICNS file is NOT generated! OK, SUCCESS in so far that the application now has it=92s proper icon as = long as the app is NOT RUNNING. However, when I now start the application the ICON DISAPPEARS AGAIN and = - seemingly - a KDE-generic icon with a question mark appears instead: I am surprised to see partial success only. WHY can I see the expected icon when the app isn=92t running and why = can=92t I see the same icon while it is running?? So, obviously the test program fiddles with the ICNS file at startup and = restores it when shutting down=85 What=92s going on there and what can go wrong? Greets, Marko= [Attachment #5 (multipart/related)] [Attachment #7 (unknown)] <html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \ -webkit-line-break: after-white-space;"><div>Icon-wise there is progress on \ my end.<br><br><span class="Apple-tab-span" \ style="white-space:pre"> </span>I peeked into kmines sources (since it \ does show its icon properly on MacOSX and has very short source code) \ ...<br><br> and it turned out that it is important in which order the \ CMake directives kde4_add_app_icon() and kde4_add_executable() are \ appearing in CMakeLists.txt.<br><br><span class="Apple-tab-span" \ style="white-space:pre"> </span>If kde4_add_app_icon() comes after \ kde4_add_executable() the ICNS file is NOT generated!<br><br><br>OK, \ SUCCESS in so far that the application now has its proper icon as long as \ the app is NOT RUNNING.<br><br><br>However, when I now start the \ application the ICON DISAPPEARS AGAIN and - seemingly - a KDE-generic icon \ with a question mark appears instead:</div><div><br></div><img \ apple-inline="yes" id="8AC867CD-93D3-4636-AE00-393445C3B86E" height="96" \ width="224" apple-width="yes" apple-height="yes" \ src="cid:7DD9288D-C9B3-4E01-8C8B-EADDF58DF6E8"><div><br></div><div>I am \ surprised to see partial success only.<br><br>WHY can I see the expected \ icon when the app isnt running and why cant I see the same icon while it \ is running??<br><br>So, obviously the test program fiddles with the ICNS \ file at startup and restores it when shutting down<br>Whats going on \ there and what can go wrong?<br><br>Greets,<br>Marko</div></body></html> ["PastedGraphic-2.tiff" (PastedGraphic-2.tiff)] MM * rP O BaPd6DbQ8V-FcQv=HdR9$M'JeR,&h /Dd Yd}? \ PhT:%/ %ש '$ =F`: \ `#@N6@.l Vj Xk<$]۟mc`$-ff[r0* ; hyGvE1 \ 9j Yhc峤 +$ 4@ # z7X HU^N,.@t d't,N^:apZ ~j=L"Y/@V {A4BP,Cʌp M x 3l ' )D (8 z j 'ی;)w \ "(f ̢O 0+Eta3 \ S;̇GH3ϓ@HtCTG 8Qt#IR! VP@OOh2;4ȅ;+IW# \ F,GH aGZ! b ފ _` t+ƲgʏhQqTg؈ \ qi0 g1 Ph @a(gy0xsaqIzUp% t NNy VC \ b(j] : @H$ B1胀E \ qI?bP>Pd*HXy Q(lgfhi:X6z!vp\W"~\%umމn:}@L*@۪@կ,gmh3F%z4;r \ >ը f ˽ǟm焈ު*-JR5"JSD̲ V]rT8~o϶U^ ^K{/ lV \ X[ ! zu`, =ρK<ZC&n&,h 0ZQX \ y IZXJ "H:a mhAAX lfIX$S^4! ]` 0 \ BlO!oU%G( zI>-Ð`6e9d%7s ;2 \ N B}iw $P :H$\| Lɰ{'HD5ep C >"!XUHpM@ y"dDo `D& ,x0!"DXvB0hw,ZlQ73 \ CH# C|t>ĸ '1)\P*ϤD 4x(c IV5ł TҒJVEfCOt@ D8 B r/ k \ ,%P8@Pd5M@1 |'$b B!3mdp'bіD j \ \" H9Px(Zq $ k QEoEلcΚ%9vn!z;lfeX+ ֚[H`>c`߅D; @ Q"/VV3gNӀ*DsU6f*\+'nE$`p \ R-ZP \A4c 3,l,ҕq +x W \ k*@ۺ卫w8dL(oHk ,c< J >]kͱ!^aa֩ \ $EVX2B Bdx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