General UI support
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: General UI support
by Doublestrike » 14 Feb 2012, 06:38
Thanks. Basic functionality (background color only) returned in 14032 so at least you can work.
This is very frustrating, NONE of these errors are happening on my side.](./images/smilies/eusa_wall.gif)
This is very frustrating, NONE of these errors are happening on my side.
](./images/smilies/eusa_wall.gif)
---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: General UI support
by slapshot5 » 14 Feb 2012, 06:42
Ok. I'm back to solid color backgrounds like a previous screenshot.
I still get the exception on startup. Probably because I have no Quest Data.
This is odd because people are reporting it on some versions of Windows as well, right?
-slapshot5
I still get the exception on startup. Probably because I have no Quest Data.
This is odd because people are reporting it on some versions of Windows as well, right?
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: General UI support
by Doublestrike » 14 Feb 2012, 06:45
Some people are (Sloth), some say it's fine (moomarc).
I'm pretty sure it has to do with the clip (setClip).
That QuestData thing is still a bug though. I'll try to repro and fix at some point.
I'm pretty sure it has to do with the clip (setClip).
That QuestData thing is still a bug though. I'll try to repro and fix at some point.
---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: General UI support
by Doublestrike » 14 Feb 2012, 06:48
Now?
EDIT - @slapshot - Bazaar bug fixed.
EDIT - @slapshot - Bazaar bug fixed.
---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: General UI support
by Hellfish » 14 Feb 2012, 08:29
At r14035, I'm seeing the background drawn on top of everything else if I open another window on top of the Forge window. I'm only seeing this on Windows XP 32-bit, *not* on Windows 7 32-bit.
Secondly, when Forge first starts the settings/avatar panel is a bit goofy. It opens on avatar selection first even if the preferences tab is shown active and stays on avatar selection even if I switch between the tabs. Also the scrollbar is missing. It all goes back to normal if I switch between the tabs and then go to another panel and back.
Lastly, since I don't want be *just* heaping annoying bug reports on you; On Windows 7 the UI is friggin sweet! Kudos!
EDIT: Whoa, inline skin switching also took a hit.The screenshot is after trying to switch to all the different skins.
Secondly, when Forge first starts the settings/avatar panel is a bit goofy. It opens on avatar selection first even if the preferences tab is shown active and stays on avatar selection even if I switch between the tabs. Also the scrollbar is missing. It all goes back to normal if I switch between the tabs and then go to another panel and back.
Lastly, since I don't want be *just* heaping annoying bug reports on you; On Windows 7 the UI is friggin sweet! Kudos!

EDIT: Whoa, inline skin switching also took a hit.The screenshot is after trying to switch to all the different skins.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: General UI support
by Doublestrike » 14 Feb 2012, 08:47
Thanks for the kudos Hellfish, it helps (really). :pant: There's actually a few of performance changes that have gone in, with more to come, so the thing should be speeding up within a few days/weeks.
I'll attack the inline switching and avatar thing soon.
But, the other repaint issues are gone?
I'll attack the inline switching and avatar thing soon.
But, the other repaint issues are gone?
Last edited by Doublestrike on 14 Feb 2012, 08:52, edited 1 time in total.
---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: General UI support
by Hellfish » 14 Feb 2012, 08:50
Define "other repaint issues". I'm not sure I got in on this early enough to get anything other than what I described in the first paragraph.
Gonna test r14036 too, just because..
Gonna test r14036 too, just because..
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: General UI support
by Doublestrike » 14 Feb 2012, 08:51
(edited above post re: skins/avatar)
Other repaint issues = visual artifacts on resize, no panels being painted, hover repaint after deck editor, the problem from
For now, putting up background-only version.
Other repaint issues = visual artifacts on resize, no panels being painted, hover repaint after deck editor, the problem from
EDIT - never mind, just re-read your post, turns out the problem isn't fixed yet. I've been at this too long, time for a break. Will be back later.Hellfish wrote:I am seeing the same thing as Sloth.
For now, putting up background-only version.
---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: General UI support
by Hellfish » 14 Feb 2012, 08:55
I'm seeing nothing wrong on resize (except a little lag, but that's prolly just on my part). It *looks like* no panels are painted after I've had a fullscreen window over the Forge window. Same thing if that window is the deck editor.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: General UI support
by Chris H. » 14 Feb 2012, 11:31
I updated to rev 14037 and see that we are now back to the background-only version.
It looks like the repaint issues are gone. That is, I can move the mouse pointer around and click on things without seeing the various components appear and then disappear during some sort of a repaint process.
It looks like the repaint issues are gone. That is, I can move the mouse pointer around and click on things without seeing the various components appear and then disappear during some sort of a repaint process.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: General UI support
by silly freak » 14 Feb 2012, 20:19
Without even looking at the code, my intuition says that a modification to a Graphics object breaks later painting done by swing. If that is so, do g = g.create() at the beginnign of your paintComponent() methods. That creates a delegate and will let the original Graphics unmodified.Doublestrike wrote:I'm pretty sure it has to do with the clip (setClip).
If my wild speculation is spectacularly useless, I'm sorry...
___
where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
- silly freak
- DEVELOPER
- Posts: 598
- Joined: 26 Mar 2009, 07:18
- Location: Vienna, Austria
- Has thanked: 93 times
- Been thanked: 25 times
Re: General UI support
by Doublestrike » 15 Feb 2012, 03:37
Thanks sillyfreak - actually that's already been done. But now the problem is I'm setting a clip on the newly created graphics object, which apparently is being taken by Swing and used as the main clip for the next panel drawn. So, the first one paints OK, but the next one paints in the old clip, and breaks down from there.
Right now trying to find an XP or OSX box to fix this problem on, but having trouble with Maven on the XP
but we'll get there...
Right now trying to find an XP or OSX box to fix this problem on, but having trouble with Maven on the XP

---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: General UI support
by Chris H. » 15 Feb 2012, 12:22
Updated to rev 14071 and now have an error:
The method repaintOnlyThisPanel() is undefined for the type new ActionListener(){}
ViewMessage.java
/ForgeSVN/src/main/java/forge/view/match
line 157
Java Problem
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: General UI support
by Sloth » 15 Feb 2012, 13:10
I can't compile either.Chris H. wrote:Updated to rev 14071 and now have an error:The method repaintOnlyThisPanel() is undefined for the type new ActionListener(){}
ViewMessage.java
/ForgeSVN/src/main/java/forge/view/match
line 157
Java Problem
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: General UI support
by Doublestrike » 16 Feb 2012, 02:33
Hmm, not sure why, but I've committed my latest ViewMessage which is fine over here. Hopefully OK now?
I'm working on a composite graphics solution for the rounded panel functionality instead of clipped graphics, should be OK soon but it's taking a little bit long.
I'm working on a composite graphics solution for the rounded panel functionality instead of clipped graphics, should be OK soon but it's taking a little bit long.
---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Who is online
Users browsing this forum: No registered users and 67 guests