In the tree on the left, when a region has non-
confirmed units (and the same goes for units that
aren't confirmed), the text is bold. This is wider
than regular text, and is cut off at the right, so
you miss the number of people in the region or unit.
Logged In: YES
user_id=26454
Possible solution: adjust the size of the (left) window?
2nd there should be a scroll bar at the buttom of the window.
Or do i missunderstand the problem?
Fiete
Logged In: YES
user_id=1216411
Nope, it's cut off even though the window is big enough.
Logged In: YES
user_id=26454
I can not reproduce this.
Which Look&Feel/Skin do you use?
If not "Metal", plz try once and look again for the problem...
Which layout do you use? The Standard-Layout?
Last: Which desktop display mode is selected? (Split panes / Frames / Fixed Layout)
Logged In: YES
user_id=1216411
In "Metal" the problem indeed doesn't occur. Not in CDE/Motif, either. But of course I'm
using "Windows", standard L1 layout, fixed layout, the only way I can get the error to show up, hehe.
Logged In: YES
user_id=26454
Originator: NO
na da hab ich ein wenig gesucht und was gefunden, für den Interessierten sind dies die Kommentare aus dem Code:
/** Try to fix the swing bug of a a too small tree */
/* Since there seems to be a kind of bug with JTree.treeDidChange(),
* we have to try to let the UI compute the bounds manually.
*
* I have only found the way to temporary change indent values in BasicTreeUI
* to let the cache be cleared.
* Andreas
*/
Insofern scheint es einen Bug in der Componente zu geben, der erkannt und umgangen wurde.
Der eigentliche Code ist hier vielleicht weniger spannend, er wird dummerweise im Normalfall nicht aufgerufen, sondern erst wenn sich in den Optionen-Einstellungen Werte ändern, die das Aussehen des Baumes beeinflussen.
Zum Testen (ausdrücklich: nur zur Problemeingrenzung) habe ich eine Version gebastelt, in der der Code zum Bugfix von oben per Contextmenu aufgerufen werden kann. Da ich bei mir dummerweise den Fehler nicht reproduzieren kann, ist es ein Schuss ins Blaue, mich interessierts natürlich sehr.
Datei:
http://www.fietefietz.de/magellan/magellan_1_2_4_beta6_5.jar
Vorgehen:
Bei aufgetretenem Fehler bitte Rechtsklick auf den Baum und aus dem Contextmenü untersten Eintrag "test tree Update" auswählen.
Und berichten..;-)
Danke
Fiete
Logged In: YES
user_id=26454
Originator: NO
na da hab ich ein wenig gesucht und was gefunden, für den Interessierten sind dies die Kommentare aus dem Code:
/** Try to fix the swing bug of a a too small tree */
/* Since there seems to be a kind of bug with JTree.treeDidChange(),
* we have to try to let the UI compute the bounds manually.
*
* I have only found the way to temporary change indent values in BasicTreeUI
* to let the cache be cleared.
* Andreas
*/
Insofern scheint es einen Bug in der Componente zu geben, der erkannt und umgangen wurde.
Der eigentliche Code ist hier vielleicht weniger spannend, er wird dummerweise im Normalfall nicht aufgerufen, sondern erst wenn sich in den Optionen-Einstellungen Werte ändern, die das Aussehen des Baumes beeinflussen.
Zum Testen (ausdrücklich: nur zur Problemeingrenzung) habe ich eine Version gebastelt, in der der Code zum Bugfix von oben per Contextmenu aufgerufen werden kann. Da ich bei mir dummerweise den Fehler nicht reproduzieren kann, ist es ein Schuss ins Blaue, mich interessierts natürlich sehr.
Datei:
http://www.fietefietz.de/magellan/magellan_1_2_4_beta6_5.jar
Vorgehen:
Bei aufgetretenem Fehler bitte Rechtsklick auf den Baum und aus dem Contextmenü untersten Eintrag "test tree Update" auswählen.
Und berichten..;-)
Danke
Fiete
Logged In: YES
user_id=26454
Originator: NO
dat hat nicht geholfen...neuer anlauf:
Ich konnte jetzt den Fehler reproduzieren, in allen Java Versionen und allen Magellan-Version (1_2_3 und aktuelle Betas).
Ist beim initialisieren des Baumes die Einheit/Region nicht BOLD = FETT (d.h. alle Einheiten sind bestätigt) wird die Begrenzung des Baumeintrages berechnet und später NICHT aktualisiert, wenn sich der Bestätigungsstatus der Einheit bzw der Einheiten in der Region ändert.
So konnte ich das Nachvollziehen.
Gleiche Dateiname, gleicher Ort, neuer Inhalt: jetzt wird der Baum neu initialisiert, wenn sich der Bestätigungsstatus ändert.
Damit kann ich den Fehler nicht mehr hervorrufen.
Ich bitte um Test:
http://www.fietefietz.de/magellan/magellan_1_2_4_beta6_5.jar
So, falls das bei Dir nicht funktioniert, mach bitte mir zuliebe noch einen kleinen Test. Bei angezeigtem Fehler öffnen bitte einmal die Optionen und klicke dort "OK" - dies sollte die Komponenten auch erneut initialisieren.
Logged In: YES
user_id=1216411
Originator: YES
Sorry, still not working. When I set both Bold -and- Italic under Options->Icons->Emphasize, everything works fine, but not with just Bold. It still cuts off the last bit of a bold entry (for example: "Regdokhan - Sargan Delta (1, -2): 152" only shows up as "Regdokhan - Sargan Delta (1, -2): 15". In other places the last character might be only half displayed when the entry is bold.
I tried the same thing at work, and the problem didn't show up there. Weird. If it's too much trouble, I guess I'll just set Italic, too, at home.
Logged In: YES
user_id=26454
Originator: NO
that´s realy a bad problem. The guy from e.client.magellan (Olliver) reported: fixed.
For now your workaround with italic might be the best answer.
Sry
Fiete
Logged In: YES
user_id=1216411
Originator: YES
Why would it work fine at work and not at home?
On a hunch, I "reinstalled" by moving my magellan.ini and magellan_desktop.ini to a backup directory. I've had those around since Magellan 1.1.17 (maybe even before that, but that's the oldest version I have on my HD now).
Problem solved. Now even with just "bold" it all shows up fine. I just have to get everything else set up the way I'm used to again ;)
For research purposes I'm including the "buggy" .ini files.
Logged In: YES
user_id=1216411
Originator: YES
...and the other one
Logged In: YES
user_id=26454
Originator: NO
Great Khadar!
In the meantime....:
Meine Lösung: ein schönes anderes Look and Feel ;-)
Schau mal bitte den Look "Windows XP (Stefan Krause)" an.
Dazu: neue Beta6_5 und die Datei skins.jar runterladen und entsprechenden Look auswählen.
(http://www.fietefietz.de/magellan)
Fiete
Logged In: YES
user_id=26454
Originator: NO
I deleted magellan.ini, because in the ini are the password(s) for factions in plain text !
See..
Faction.password. ...
Thx
Fiete