It is currently 17 Dec 2017, 09:58
   
Text Size

[CLOSED] Bug - back.png changes

Moderators: Malban, CCGHQ Admins

[CLOSED] Bug - back.png changes

Postby justme » 24 Jan 2011, 22:37

Just a minor bug, that doesn't seem to be cache related

What happended:
When opening the deck editor, the default back.png card is shown, upon moving a card to the deck, the "custom" back.png is shown instead.

I've replaced the default back.png in the images folder with an official one. this works great in-game, but apparently not in the deck editor.

Deck editor as it's opened:
Image

Deck editor after the first card is moved from heap to deck, and the moved card is still unselected:
Image

Steps to reproduce:
Put any 200x285 .png in the images folder
Open deck editor, original JPoratl back.png is shown
Move one or more crads from heap to deck
The back.png changes to whatever was put in the images folder
Last edited by justme on 30 Jan 2011, 09:20, edited 1 time in total.
User avatar
justme
 
Posts: 38
Joined: 22 Jan 2011, 00:45
Has thanked: 0 time
Been thanked: 0 time

Re: Bug - back.png changes

Postby Malban » 25 Jan 2011, 10:16

See the other post of mine.

Coding related following happens:

The JLabel which hold the image is initiated with a "resource" image which is included within the "jar" file.

Pictures "loaded" to the label (even "reloaded backgrounds") are done from the directories...

Minor Bug - will look into it when I´m in the mood :-)...

Regards

Malban
Homepage of JPortal: http://jportalgame.de/
Malban
DEVELOPER
 
Posts: 84
Joined: 26 Apr 2010, 14:11
Has thanked: 0 time
Been thanked: 12 times

Re: Bug - back.png changes

Postby justme » 25 Jan 2011, 14:41

Malban wrote:Minor Bug - will look into it when I´m in the mood :-)...
Agreed.

This thread not only serves as a bug report, ut also as filler for an otherwise empty forum.
Perhaps with enough posts, people will start coming in here, and discover this great app ;)

Yes, I know .... I'm borderline spamming :mrgreen:
User avatar
justme
 
Posts: 38
Joined: 22 Jan 2011, 00:45
Has thanked: 0 time
Been thanked: 0 time


Return to JPortal

Who is online

Users browsing this forum: No registered users and 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 1 guest

Login Form