Hidden Treasures of the Python Standard Librarydoughellmann
The standard library contains many hidden gems that are not widely used, either because they are not publicized enough or because they are deep in a module that programmers haven't had cause to study or use. This presentation covers a few selected topics of this nature in about 25 minutes (leaving time for a couple of questions). Demonstration code is included for every item.
Brief introduction to testing talk prepared to creates a starting point at TAPTAP Networks & SONATA Usa Corp. The companies where I work as Q&A Team member.
Some testing - Everything you should know about testing to go with @pedro_g_s...Sergio Arroyo
I usually attend to several talks about testing. Everyone tells us how good, how important and valuable could be having a good test suite. But almost anybody tells us how hard is achieving this goal. With this talk, I wanted to provide an overview for people who is starting with software testing. Even for those who never tried it.
But this is not only an introduction. Though I start talking about the basics and principles and concepts, I also try to talk about my experience. What worked, where I failed and how I tried to solve the problems I found.
Hidden Treasures of the Python Standard Librarydoughellmann
The standard library contains many hidden gems that are not widely used, either because they are not publicized enough or because they are deep in a module that programmers haven't had cause to study or use. This presentation covers a few selected topics of this nature in about 25 minutes (leaving time for a couple of questions). Demonstration code is included for every item.
Brief introduction to testing talk prepared to creates a starting point at TAPTAP Networks & SONATA Usa Corp. The companies where I work as Q&A Team member.
Some testing - Everything you should know about testing to go with @pedro_g_s...Sergio Arroyo
I usually attend to several talks about testing. Everyone tells us how good, how important and valuable could be having a good test suite. But almost anybody tells us how hard is achieving this goal. With this talk, I wanted to provide an overview for people who is starting with software testing. Even for those who never tried it.
But this is not only an introduction. Though I start talking about the basics and principles and concepts, I also try to talk about my experience. What worked, where I failed and how I tried to solve the problems I found.
Cleaner APIs, Cleaner UIs with Visage (33rd Degrees)Stephen Chin
Visage is a JVM language designed specifically for UI development, with special syntax for hierarchically describing UIs, binding data and behavior, and representing UI specific concepts such as animation, layout, and styles. It also is a full-featured language with a full compiler tool-chain, static compilation to JVM bytecodes, and IDE plug-ins. This talk will demonstrate how to use the Visage language to build UIs for JavaFX 2.0, Vaadin, and Android. Find out how you can take control of your UI development by writing cleaner, more maintainable UI code using the Visage language in your existing Java projects.
Come hear about the highly available and massively scalable cloud storage service that is provided by Windows Azure. Learn how to create and access the different types of Windows Azure storage available, including blobs, tables, and queues.
JavaFX 2.0 With Alternative Languages - Groovy, Clojure, Scala, Fantom, and V...Stephen Chin
Presented at GeeCON 2011: JavaFX Script is going away, but the JavaFX Platform is getting a new face with pure Java APIs. In this session, you will see how you can leverage the new JavaFX 2.0 APIs from a host of different JVM languages, including JRuby, Clojure, Groovy, and Scala.
Get Back in Control of Your SQL with jOOQ at #Java2DaysLukas Eder
Get Back in Control of Your SQL with jOOQ, at #Java2Days.
SQL is a powerful and highly expressive language for queries against relational databases. SQL is established, standardised and hardly challenged by alternative querying languages. Nonetheless, in the Java ecosystem, there had been few relevant steps forward since JDBC to better integrate SQL into Java. All attention was given to object-relational mapping and language abstractions on a higher level, such as OQL, HQL, JPQL, CriteriaQuery. In the mean time, these abstractions have become almost as complex as SQL itself, regardless of the headaches they're giving to DBAs who can no longer patch the generated SQL.
jOOQ is a dual-licensed Open Source product filling this gap. It implements SQL itself as an internal domain-specific language in Java, allowing for the typesafe construction and execution of SQL statements of arbitrary complexity. This includes nested selects, derived tables, joins, semi-joins, anti-joins, self-joins, aliasing, as well as many vendor-specific extensions such as stored procedures, arrays, user-defined types, recursive SQL, grouping sets, pivot tables, window functions and many other OLAP features. jOOQ also includes a source code generator allowing you to compile queries in modern IDEs such as Eclipse very efficiently.
jOOQ is a good choice in a Java application where SQL and the specific relational database are important. It is an alternative when JPA / Hibernate abstract too much, JDBC too little. It shows, how a modern domain-specific language can greatly increase developer productivity, internalising SQL into Java.
Cleaner APIs, Cleaner UIs with Visage (33rd Degrees)Stephen Chin
Visage is a JVM language designed specifically for UI development, with special syntax for hierarchically describing UIs, binding data and behavior, and representing UI specific concepts such as animation, layout, and styles. It also is a full-featured language with a full compiler tool-chain, static compilation to JVM bytecodes, and IDE plug-ins. This talk will demonstrate how to use the Visage language to build UIs for JavaFX 2.0, Vaadin, and Android. Find out how you can take control of your UI development by writing cleaner, more maintainable UI code using the Visage language in your existing Java projects.
Come hear about the highly available and massively scalable cloud storage service that is provided by Windows Azure. Learn how to create and access the different types of Windows Azure storage available, including blobs, tables, and queues.
JavaFX 2.0 With Alternative Languages - Groovy, Clojure, Scala, Fantom, and V...Stephen Chin
Presented at GeeCON 2011: JavaFX Script is going away, but the JavaFX Platform is getting a new face with pure Java APIs. In this session, you will see how you can leverage the new JavaFX 2.0 APIs from a host of different JVM languages, including JRuby, Clojure, Groovy, and Scala.
Get Back in Control of Your SQL with jOOQ at #Java2DaysLukas Eder
Get Back in Control of Your SQL with jOOQ, at #Java2Days.
SQL is a powerful and highly expressive language for queries against relational databases. SQL is established, standardised and hardly challenged by alternative querying languages. Nonetheless, in the Java ecosystem, there had been few relevant steps forward since JDBC to better integrate SQL into Java. All attention was given to object-relational mapping and language abstractions on a higher level, such as OQL, HQL, JPQL, CriteriaQuery. In the mean time, these abstractions have become almost as complex as SQL itself, regardless of the headaches they're giving to DBAs who can no longer patch the generated SQL.
jOOQ is a dual-licensed Open Source product filling this gap. It implements SQL itself as an internal domain-specific language in Java, allowing for the typesafe construction and execution of SQL statements of arbitrary complexity. This includes nested selects, derived tables, joins, semi-joins, anti-joins, self-joins, aliasing, as well as many vendor-specific extensions such as stored procedures, arrays, user-defined types, recursive SQL, grouping sets, pivot tables, window functions and many other OLAP features. jOOQ also includes a source code generator allowing you to compile queries in modern IDEs such as Eclipse very efficiently.
jOOQ is a good choice in a Java application where SQL and the specific relational database are important. It is an alternative when JPA / Hibernate abstract too much, JDBC too little. It shows, how a modern domain-specific language can greatly increase developer productivity, internalising SQL into Java.
Handling error conditions is a core part of the software we write. However, we often treat it as a second class citizen, obscuring our intent through abuse of null values and exceptions that make our code hard to understand and maintain. In the functional programming community, it is common to use datatypes such as Option, Either or Validated to make our intentions explicit when dealing with errors. We can leverage the compiler to verify that we are handling them instead of hoping for the best at runtime. This results in code that is clearer, without hidden path flows. We’ll show how we have been doing this in Kotlin, with the help of the Arrow library.
REX about JavaFX8 used in SlideshowFX. This presentation covers concept from JavaFX as well as technologies like OSGi, Vert.x, LeapMotion, nashorn and friends in order to make them communicate inside one application developed in JavaFX.
This presentation was made at the ElsassJUG
Unity 2D video game development tutorial. Ninja Cat Flyer, derived from Kirill Muzykov’s Rocket Mouse Tutorial:
http://www.raywenderlich.com/69392/make-game-like-jetpack-joyride-unity-2d-part-1
How to find out production issues? Where to look for errors when application crashes in live environment? How to Visual Studio 2010 for replicating post mortem scenarios in difficult to reproduce errors? Using Source server, PDB symbols in old fashioned way for new age WCF services.
White wonder, Work developed by Eva TschoppMansi Shah
White Wonder by Eva Tschopp
A tale about our culture around the use of fertilizers and pesticides visiting small farms around Ahmedabad in Matar and Shilaj.
Top Israeli Products and Brands - Plan it israel.pdf
Deadlock problems
1. What makes a
good bug report?
Nicolas Bettenburg Sascha Just Adrian Schröter
Saarland University Saarland University Saarland University
Cathrin Weiss Rahul Premraj Thomas Zimmermann
Saarland University Saarland University Saarland University
1
2. What makes a
good bug report?
Nicolas Bettenburg Sascha Just Adrian Schröter
Queen’s University Saarland University University of Victoria
Cathrin Weiss Rahul Premraj Thomas Zimmermann
University of Zurich Free Uni. Amsterdam University of Calgary
3. What makes a
good bug report?
Nicolas Bettenburg Sascha Just Adrian Schröter
Queen’s University Saarland University University of Victoria
Cathrin Weiss Rahul Premraj Thomas Zimmermann
University of Zurich Free Uni. Amsterdam Microsoft Research
4. Bug 31021
Summary: Tree - Selection listener stops default expansion
Product: [Eclipse] Platform Reporter: Veronika Irvine <veronika_irvine@ca.ibm.com>
Component: SWT Assignee: Steve Northover <steve_northover@ca.ibm.com>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal
Priority: P3
Version: 2.1
Target Milestone: ---
Hardware: PC
OS: Windows XP
Whiteboard:
Opened: 2003-02-05 14:52 -
Description:
0400
I20030205
Run the following example. Double click on a tree item and notice that it does
not expand.
Comment out the Selection listener and now double click on any tree item and
notice that it expands.
public static void main(String[] args) {
Display display = new Display();
Shell shell = new Shell(display);
shell.setLayout(new FillLayout());
Tree tree = new Tree(shell, SWT.BORDER);
for (int i = 0; i < 4; i++) {
TreeItem item = new TreeItem(tree, SWT.NONE);
item.setText("item " + i);
for (int j = 0; j < 4; j++) {
TreeItem subItem = new TreeItem(item, SWT.NONE);
subItem.setText("item " + j);
for (int k = 0; k < 4; k++) {
TreeItem subsubItem = new TreeItem(subItem,
SWT.NONE);
subsubItem.setText("item " + k);
}
}
}
tree.addSelectionListener(new SelectionAdapter() {});
shell.setSize(200, 200);
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep();
}
display.dispose();
}
------- Comment #1 From Steve Northover 2004-10-07 19:39:16 -0400 -------
This behavior can't be changed now because application code now relies on it.
Sorry.
4
5. Home | New | Search | Find | Reports | Requests | New Account | Log In | Terms of Use
Bug 31021
Summary: Tree - Selection listener stops default expansion
Product: [Eclipse] Platform Reporter: Veronika Irvine <veronika_irvine@ca.ibm.com>
Component: SWT Assignee: Steve Northover <steve_northover@ca.ibm.com>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal
Priority: P3
Version: 2.1
Target Milestone: ---
Hardware: PC
OS: Windows XP
Whiteboard:
Opened: 2003-02-05 14:52 -
Description:
0400
I20030205
Run the following example. Double click on a tree item and notice that it does
not expand.
Comment out the Selection listener and now double click on any tree item and
notice that it expands.
public static void main(String[] args) {
Display display = new Display();
Shell shell = new Shell(display);
shell.setLayout(new FillLayout());
Tree tree = new Tree(shell, SWT.BORDER);
for (int i = 0; i < 4; i++) {
TreeItem item = new TreeItem(tree, SWT.NONE);
item.setText("item " + i);
for (int j = 0; j < 4; j++) {
TreeItem subItem = new TreeItem(item, SWT.NONE);
subItem.setText("item " + j);
for (int k = 0; k < 4; k++) {
TreeItem subsubItem = new TreeItem(subItem,
SWT.NONE);
subsubItem.setText("item " + k);
}
}
}
tree.addSelectionListener(new SelectionAdapter() {});
shell.setSize(200, 200);
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep();
}
display.dispose();
}
------- Comment #1 From Steve Northover 2004-10-07 19:39:16 -0400 -------
This behavior can't be changed now because application code now relies on it.
Sorry.
4
6. Whiteboard:
Bug 31021
Summary: Tree - Selection listener stops default expansion Opened: 2003-02-05 14:52 -
Description:
Product: [Eclipse] Platform Reporter: Veronika Irvine <veronika_irvine@ca.ibm.com> 0400
Component: SWT Assignee: Steve Northover <steve_northover@ca.ibm.com>
Status: RESOLVED WONTFIX
I20030205 QA Contact:
Severity: normal
Priority: P3
Run the following example. Double click on a tree item and notice that it does
Version: 2.1
not expand.
Target Milestone: ---
Hardware: PC
Comment out the Selection listener and now double click on any tree item and
OS: Windows XP
notice that it expands.
Whiteboard:
public static void main(String[] 2003-02-05 14:52 - Opened:
args) {
Description:
Display display = new Display(); 0400
I20030205
Shell shell = new Shell(display);
shell.setLayout(new FillLayout());
Run the following example. Double click on a tree item and notice that it does
not expand. Tree tree = new Tree(shell, SWT.BORDER);
for (int i = 0; i < 4; i++) {
Comment out the Selection listener and now double click on any tree item and
notice that it expands. TreeItem item = new TreeItem(tree, SWT.NONE);
public static void main(String[] args) {
item.setText("item " + i);
Display display = new Display(); for (int j = 0; j < 4; j++) {
Shell shell = new Shell(display);
shell.setLayout(new FillLayout()); TreeItem subItem = new TreeItem(item, SWT.NONE);
Tree tree = new Tree(shell, SWT.BORDER); subItem.setText("item " + j);
for (int i = 0; i < 4; i++) {
TreeItem item = new TreeItem(tree, SWT.NONE); for (int k = 0; k < 4; k++) {
item.setText("item " + i);
for (int j = 0; j < 4; j++) {
TreeItem subsubItem = new TreeItem(subItem,
SWT.NONE); subItem = new TreeItem(item, SWT.NONE);
TreeItem
subItem.setText("item " + j);
for (int k = 0; k < 4; k++) {
subsubItem.setText("item " + k);
TreeItem subsubItem = } new TreeItem(subItem,
SWT.NONE);
}
subsubItem.setText("item " + k);
}
} }
} tree.addSelectionListener(new SelectionAdapter() {});
tree.addSelectionListener(new SelectionAdapter() {});
shell.setSize(200, 200);
shell.setSize(200, 200);
shell.open(); shell.open();
while (!shell.isDisposed()) {
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep(); if (!display.readAndDispatch())
}
display.dispose(); display.sleep();
} }
display.dispose();
------- Comment #1 From Steve Northover 2004-10-07 19:39:16 -0400 -------
}
This behavior can't be changed now because application code now relies on it.
Sorry.
------- Comment #1 From Steve Northover 2004-10-07 19:39:16 -0400 -------
4
7. INVALID
Severity: normal
Priority: P3 CC: norbert.ploett@siemens.com
Bug 175222
Version: 3.1.1
Summary:
Target Milestone: using CDT.
Product:
Create a new plugin
[Tools] CDT
---
Reporter: Sabeesh C.S. <sabeesh.cs@ditro.com>
Component: cdt-build Assignee: cdt-build-inbox@eclipse.org <cdt-build-
Hardware: PC inbox@eclipse.org>
Status: RESOLVED QA Contact:
OS: INVALID Linux
Severity: normal
Whiteboard:
Priority: P3 CC: norbert.ploett@siemens.com
Version: 3.1.1
Target Milestone: ---
Hardware: PC
OS: Linux Opened: 2007-02-22 23:35 -
Description:
Whiteboard:
0400
Opened: 2007-02-22 23:35 -
Description:
0400
I wand to create a new plugin in Eclipse using CDT. Shall it possible. I had
I wand to create a new plugin in Eclipse using CDT. Shall it possible. I had
made a R&D in eclipse documentation. I had get an idea about create a plugin
made a R&D in eclipse documentation. I had get an idea about create a plugin
using Java. But i wand to create a new plugin ( user defined plugin ) using
using Java. But i wand to create a new plugin ( user defined plugin ) using
CDT. After that I wand to impliment it in my programe. If it possible?. Any
one can help me please...
CDT. After that I wand to impliment it in my programe. If it possible?. Any
------- Comment #1 From Norbert Plött 2007-02-23 01:55:42 -0400 -------
one can help me please...
Saabeesh,
the way I understand it you want to create a plug-in and do the code
implementation in C/C++ using the CDT. Eclipse supports only Java
implementations. In theory you could probably call into your C/C++ library via
------- Comment #1 From Norbert Plött 2007-02-23 01:55:42 -0400 -------
the Java native interface but this is probably not what you want to do.
In any case you would need to create at least a Java wrapper around your
Saabeesh,
implementation.
Do I read you right?
the way I understand it you want to create a plug-in and do the code
------- Comment #2 From Chris Recoskie 2007-02-23 08:14:04 -0400 -------
I implementation described here... this question the on the
don't see a bug or enhancement in C/C++ using belongs CDT. Eclipse supports only Java
newsgroup.
implementations. In theory you could probably call into your C/C++ library via
the Java native interface but this is probably not what you want to do.
In any case you would need to create at least a Java wrapper around your
implementation.
5
14. Problems faced
You were given wrong There were errors in The reporter used Others
product name code examples bad grammar duplicates
component name steps to reproduce unstructured text spam
operating system test cases prose text incomplete info.
observed behaviour stack traces too long text viruses/worms
expected behaviour no spell check
10
15. Problems faced
Question 1
Which of the following problems have your encountered when fixing bugs?
(select as many as you wish)
You were given wrong There were errors in The reporter used Others
product name code examples bad grammar duplicates
component name steps to reproduce unstructured text spam
operating system test cases prose text incomplete info.
observed behaviour stack traces too long text viruses/worms
expected behaviour no spell check
10
16. Problems faced
Question 1
Which of the following problems have your encountered when fixing bugs?
(select as many as you wish)
Question 2
Which three caused you the most delay in fixing bugs?
(select at most three items)
You were given wrong There were errors in The reporter used Others
product name code examples bad grammar duplicates
component name steps to reproduce unstructured text spam
operating system test cases prose text incomplete info.
observed behaviour stack traces too long text viruses/worms
expected behaviour no spell check
10
19. Responses
Most delay caused
bad grammar
errors in test cases
duplicates
wrong system information
viruses/spam
Encountered when fixing a bug
11
20. Responses
Most delay caused
wrong observed behaviour
wrong expected behaviour
wrong product information
bad grammar
errors in test cases
duplicates
wrong system information
viruses/spam
Encountered when fixing a bug
11
21. Responses incomplete information
Most delay caused
erroneous steps to reproduce
wrong observed behaviour
wrong expected behaviour
wrong product information
bad grammar
errors in test cases
duplicates
wrong system information
viruses/spam
Encountered when fixing a bug
11
22. Information needs
product hardware observed behaviour screen shots
component operating system expected behaviour code examples
version summary steps to reproduce error reports
severity build information stack traces test cases
12
23. Information needs
Question 1
3
Which of the following items have you previously used when fixing bugs?
(select as many as you wish)
product hardware observed behaviour screen shots
component operating system expected behaviour code examples
version summary steps to reproduce error reports
severity build information stack traces test cases
12
24. Information needs
Question 1
3
Which of the following items have you previously used when fixing bugs?
(select as many as you wish)
Question 4
Which three items helped you the most?
(select at most three items)
product hardware observed behaviour screen shots
component operating system expected behaviour code examples
version summary steps to reproduce error reports
severity build information stack traces test cases
12
27. Responses
Helped most
screenshots
observed behavior
test cases/examples
expected behavior
version
hardware severity
13 Used when fixing a bug
28. Responses
Helped most
steps to reproduce
stack traces
screenshots
observed behavior
test cases/examples
expected behavior
version
hardware severity
13 Used when fixing a bug
29. Questions to reporters
Same options as for developers
product hardware observed behaviour screen shots
component operating system expected behaviour code examples
version summary steps to reproduce error reports
severity build information stack traces test cases
14
30. Questions to reporters
Question 1
What information have you previously provided in bug reports?
(select as many as you wish)
Same options as for developers
product hardware observed behaviour screen shots
component operating system expected behaviour code examples
version summary steps to reproduce error reports
severity build information stack traces test cases
14
31. Questions to reporters
Question 1
What information have you previously provided in bug reports?
(select as many as you wish)
Question 2
What of the above information was most difficult to provide?
(select at most three items)
Question 3
In your opinion, what information is most relevant to developers?
(select at most three items)
15
32. Rated most helpful
by developers
steps to reproduce steps to reproduce steps to reproduce
observed behaviour stack traces test cases
expected behaviour test cases observed behaviour
product observed behaviour stack traces
version screenshots expected behaviour
operating system expected behaviour version
summary code examples code examples
component summary error reports
severity version build information
build information error 16
reports summary
33. Provided by Rated most helpful
most reporters by developers
steps to reproduce steps to reproduce steps to reproduce
observed behaviour stack traces test cases
expected behaviour test cases observed behaviour
product observed behaviour stack traces
version screenshots expected behaviour
operating system expected behaviour version
summary code examples code examples
component summary error reports
severity version build information
build information error 16
reports summary
34. Provided by Rated most helpful Rated most helpful
most reporters by developers by reporters
steps to reproduce steps to reproduce steps to reproduce
observed behaviour stack traces test cases
expected behaviour test cases observed behaviour
product observed behaviour stack traces
version screenshots expected behaviour
operating system expected behaviour version
summary code examples code examples
component summary error reports
severity version build information
build information error 16
reports summary
35. Provided by Rated most helpful Rated helpful
most reporters by developers by most reporters
steps to reproduce steps to reproduce steps to reproduce
observed behaviour stack traces test cases
expected behaviour test cases observed behaviour
product observed behaviour stack traces
version screenshots expected behaviour
operating system expected behaviour version
summary code examples code examples
component summary error reports
severity version build information
build information error 17
reports summary
36. Provided by Rated most helpful Rated helpful
most reporters by developers by most reporters
steps to reproduce steps to reproduce steps to reproduce
observed behaviour stack traces test cases
expected behaviour test cases observed behaviour
productReporters need betterstack traces
observed behaviour
version tool assistance. expected behaviour
screenshots
operating system expected behaviour version
summary code examples code examples
component summary error reports
severity version build information
build information error 17
reports summary
37. Provided by Rated most helpful Rated helpful
most reporters by developers by most reporters
steps to reproduce steps to reproduce steps to reproduce
observed behaviour stack traces test cases
expected behaviour test cases observed behaviour
product observed behaviour stack traces
version screenshots expected behaviour
operating system expected behaviour version
summary code examples code examples
component summary error reports
severity version build information
build information error 18
reports summary
42. Rating bug reports
Create a new plugin using CDT.
I wand to create a new plugin in Eclipse using CDT. Shall it
possible. I had made a R&D in eclipse documentation. I had get an
idea about create a plugin using Java. But i wand to create a new
plugin ( user defined plugin ) using CDT. After that I wand to
impliment it in my programe. If it possible?. Any one can help me
please...
21
43. Rating bug reports
Create a new plugin using CDT.
I wand to create a new plugin in Eclipse using CDT. Shall it
possible. I had made a R&D in eclipse documentation. I had get an
idea about create a plugin using Java. But i wand to create a new
plugin ( user defined plugin ) using CDT. After that I wand to
impliment it in my programe. If it possible?. Any one can help me
please...
Poor Average Good
21
44. Rating bug reports
Total reports voted: 289 Total votes received: 1,186
Create a new plugin using CDT.
I wand to create a new plugin in Eclipse using CDT. Shall it
possible. I had made a R&D in eclipse documentation. I had get an
idea about create a plugin using Java. But i wand to create a new
plugin ( user defined plugin ) using CDT. After that I wand to
impliment it in my programe. If it possible?. Any one can help me
please...
Poor Average Good
21
45. CUE
Bug 31021
Summary: Tree - Selection listener stops default expansion
Product: [Eclipse] Platform Reporter: Veronika Irvine <veronika_irvine@ca.ibm.com>
Component: SWT Assignee: Steve Northover <steve_northover@ca.ibm.com>
Status: RESOLVED WONTFIX QA Contact:
ZILLA
Severity: normal
Priority: P3
Version: 2.1
Target Milestone: ---
Hardware: PC
OS: Windows XP
Whiteboard:
Opened: 2003-02-05 14:52 -
Description:
0400
I20030205
Run the following example. Double click on a tree item and notice that it does
not expand.
Comment out the Selection listener and now double click on any tree item and
notice that it expands.
public static void main(String[] args) {
Display display = new Display();
Shell shell = new Shell(display);
shell.setLayout(new FillLayout());
Tree tree = new Tree(shell, SWT.BORDER);
for (int i = 0; i < 4; i++) {
TreeItem item = new TreeItem(tree, SWT.NONE);
item.setText("item " + i);
for (int j = 0; j < 4; j++) {
TreeItem subItem = new TreeItem(item, SWT.NONE);
subItem.setText("item " + j);
for (int k = 0; k < 4; k++) {
TreeItem subsubItem = new TreeItem(subItem,
SWT.NONE);
subsubItem.setText("item " + k);
}
}
}
tree.addSelectionListener(new SelectionAdapter() {});
shell.setSize(200, 200);
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep();
}
display.dispose();
}
------- Comment #1 From Steve Northover 2004-10-07 19:39:16 -0400 -------
This behavior can't be changed now because application code now relies on it.
Sorry.
22
46. CUE
Bug 31021
Summary: Tree - Selection listener stops default expansion
Product: [Eclipse] Platform Reporter: Veronika Irvine <veronika_irvine@ca.ibm.com>
Component: SWT Assignee: Steve Northover <steve_northover@ca.ibm.com>
Status: RESOLVED WONTFIX QA Contact:
ZILLA
Severity: normal
Priority: P3
Version: 2.1
Target Milestone: ---
Hardware: PC
OS: Windows XP
Whiteboard:
Opened: 2003-02-05 14:52 -
Description:
0400
I20030205
Run the following example. Double click on a tree item and notice that it does
not expand.
Comment out the Selection listener and now double click on any tree item and
notice that it expands.
public static void main(String[] args) {
Display display = new Display();
Shell shell = new Shell(display);
shell.setLayout(new FillLayout());
Tree tree = new Tree(shell, SWT.BORDER);
for (int i = 0; i < 4; i++) {
TreeItem item = new TreeItem(tree, SWT.NONE);
item.setText("item " + i);
for (int j = 0; j < 4; j++) {
TreeItem subItem = new TreeItem(item, SWT.NONE);
subItem.setText("item " + j);
for (int k = 0; k < 4; k++) {
TreeItem subsubItem = new TreeItem(subItem,
SWT.NONE);
subsubItem.setText("item " + k);
}
}
}
tree.addSelectionListener(new SelectionAdapter() {});
shell.setSize(200, 200);
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep();
}
display.dispose();
}
------- Comment #1 From Steve Northover 2004-10-07 19:39:16 -0400 -------
This behavior can't be changed now because application code now relies on it.
Sorry.
22
55. Incentives to reporters
• Bug reports containing stack traces get
fixed sooner.
• Bug reports that are easier to read have
lower lifetimes.
• Code samples in your bug report increase
chances of it getting fixed.
28
56. Duplicates
“ Duplicates often add useful information. That
this information is filed under a new report is
not ideal.
Apache Developer ”
29
57. Future of bug tracking
lies in thinking
outside the box!
30
58. Summary
Provided by Rated most helpful Rated helpful
most reporters by developers by most reporters
Responses
Helped most
steps to reproduce
steps to reproduce steps to reproduce steps to reproduce
stack traces observed behaviour stack traces test cases
expected behaviour test cases observed behaviour
screenshots
product observed behaviour stack traces
observed behavior
version screenshots expected behaviour
test cases/examples
operating system expected behaviour version
expected behavior
summary code examples code examples
component summary error reports
version
severity version build information
hardware severity
build information error reports summary
14 Used when fixing a bug
Assist reporters Future of bug tracking
lies in thinking
outside the box!
29
31