Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24039
___
___
Python-bugs-list
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2053
___
___
Python-bugs-list
Mark Roseman added the comment:
I did some followup on this today, and could reproduce it with a few lines of
Tcl/Tk code. As Ned noted, it seems particular to the ActiveTcl build, as when
I built my own 8.5.18 it also worked fine.
(If you're curious, the thing that is failing
Mark Roseman added the comment:
Roger's extension is an amazingly cool hack. With some of the decoupling
mentioned in #24826, the actual switching should get easier.
Regarding cosmetics, I wanted to make a suggestion. The tabs provided by
ttk::notebook aren't ideally suited for this task
Mark Roseman added the comment:
The attached demodalize.patch (which includes the changes from the previously
posted decouple_config.patch) changes both the settings dialog and the about
dialog to be non-modal.
There's a new class UIFactory which is responsible for launching these kinds
Mark Roseman added the comment:
I've attached functionaltests.patch which provides a starting point, using Tk
introspection and event generation to exercise the running application. The
heart of it is the (very much in progress) TkTestCase class which provides a
bunch of Tkinter-specific
New submission from Mark Roseman:
This is a placeholder issue for adding automated functional/integration tests
to complement the existing unit tests.
--
messages: 248428
nosy: kbk, markroseman, roger.serwy, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE
Changes by Mark Roseman m...@markroseman.com:
--
components: +IDLE
keywords: +patch
Added file: http://bugs.python.org/file40164/functionaltests.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24845
Mark Roseman added the comment:
I've attached decouple_config.patch, which removes some internal knowledge
about EditorWindow from configDialog. This is a step towards making the
preferences dialog non-modal (and also to launching either the current dialog,
or a new ttk-dependent one
Mark Roseman added the comment:
Yes that's exactly what I was thinking. If everything is a frame rather than a
toplevel it'll be much easier to reconfigure things.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24826
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9262
___
___
Python-bugs-list
Mark Roseman added the comment:
I read #7949 as saying the text widget picks up the background color from the
system-wide GTk theme.
This one is saying that the background color of the text widget should be
changeable as part of an IDLE highlighting theme
Mark Roseman added the comment:
Have attached macpopup.patch which removes the incorrect Tk behaviour and makes
it so that right click on Mac will bring up the context menu as appropriate.
--
keywords: +patch
Added file: http://bugs.python.org/file40148/macpopup.patch
Mark Roseman added the comment:
I'm attaching mainwin3.patch, which is a subset of the previous patches,
modified to not use ttk. It gets rid of the highlightthickness, the sunken
line/column effect, and adds a thin separator below the text widget.
--
Added file: http
Mark Roseman added the comment:
note that many of these are using 'simpledialog' which has that limitation
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24812
New submission from Mark Roseman:
Right now breakpoints can only be set/cleared by using a context menu on a line
in the editor. I discovered this entirely by reading through the bug database,
as right-click doesn't work on OS X (#24801).
Some other tools use an indicator (e.g. stop sign
New submission from Mark Roseman:
This builds on things like the tabbed editor suggestion, but essentially I'm
talking about a scenario where you'd have your one (editor) window open working
on your program, you click 'run...' or 'debug...' from the menu, and a shell
and debugger area open up
Mark Roseman added the comment:
While the thing about asking for a favourite colour before switching to
advanced mode was a joke, I do sincerely believe that extensive progressive
disclosure techniques should be used to keep much of IDLE's features and
options hidden out of the box
Mark Roseman added the comment:
If you have your mouse set up to have two buttons, right-clicking in the editor
window doesn't bring up the context menu it's supposed to.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24801
Mark Roseman added the comment:
I believe the ttk::themes call is older, part of when it was still Tile. There
are a bunch of those kind of API's that were kept around (for compatibility I
presume) when the official API (style theme names) was created and documented.
As explained
Mark Roseman added the comment:
oh agree, definitely don't want a symbol on every line. i was already thinking
implementation where you'd probably have an object matching the background for
hit detection! :-)
but yes, visually nothing there but empty space when there isn't a breakpoint
New submission from Mark Roseman:
Undo/Redo in Edit menu should be disabled when there is nothing to Undo or Redo
--
components: IDLE
messages: 248168
nosy: kbk, markroseman, roger.serwy, terry.reedy
priority: normal
severity: normal
status: open
title: Disable Undo/Redo menu items when
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1528593
___
___
Python-bugs-list
New submission from Mark Roseman:
Right now when you're running a program you can still select the 'debugger'
item in the menu... you just get an error dialog you can only toggle the
debugger when idle (with a title don't debug now).
While I got a kick out of the title and using the word idle
New submission from Mark Roseman:
If I have just an edit window open with my program, there's no way to run the
program with the debugger visible. Should be a way to do so without going
through the extra steps of opening up a shell window first
--
components: IDLE
messages: 248175
New submission from Mark Roseman:
It's fairly easy to get IDLE to revert back to an empty menubar, i.e. just a
Python menu.
For example, open a shell, debugger, and editor window. Click on debugger
window, then editor window, then close editor window. Focus goes back to
debugger, but doesn't
New submission from Mark Roseman:
Most of the dialogs in IDLE on OS X do respond to 'Return' key as equivalent to
hitting OK, and Escape to hitting Cancel.
Guidelines also suggest that the Enter key (on numeric keypad) should work like
'Return', and Cmd-. (period) should work like Cancel
New submission from Mark Roseman:
No reason for it to be modal. Especially on OS X (where it really isn't...)
--
components: IDLE
messages: 248167
nosy: kbk, markroseman, roger.serwy, terry.reedy
priority: normal
severity: normal
status: open
title: About IDLE dialog shouldn't be modal
New submission from Mark Roseman:
Rather than including the window width/height in the config dialog, just
remember the last window size and use that next time
--
components: IDLE
messages: 248176
nosy: kbk, markroseman, roger.serwy, terry.reedy
priority: normal
severity: normal
status
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17642
___
___
Python-bugs-list
New submission from Mark Roseman:
In an editor window, with no selection, most of the items in the format menu
(indent, tabify, etc.) aren't applicable, so the corresponding menu items
should be disabled.
--
components: IDLE
messages: 248171
nosy: kbk, markroseman, roger.serwy
New submission from Mark Roseman:
If there are going to be highlighting themes in IDLE, and the ability to
customize them, why not the background color of the window? Light on dark is
easier for some people to read - adding one that did that would be a good
candidate for another built
New submission from Mark Roseman:
To facilitate using IDLE to learn Python, and perhaps as a first experience
with programming altogether, and taking advantage of the fact that IDLE comes
with Python out of the box, I propose the following:
1. A new learning mode be introduced to Python. We
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24225
___
___
Python-bugs-list
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13504
___
___
Python-bugs-list
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17942
___
___
Python-bugs-list
Mark Roseman added the comment:
Just as a point of information and possible future reference, there is a
'tklib' (collection of Tk-related modules written in Tcl) module called 'ctext'
which does syntax highlighting as well as implements the line numbering thing
(also using a text widget
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
___
___
Python-bugs-list
Changes by Mark Roseman m...@markroseman.com:
--
components: +IDLE
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24801
___
___
Python-bugs-list
New submission from Mark Roseman:
For popup menus, control-click works, but right-click on mouse buttons that
support it, doesn't work.
This is a followup to #10404, last addressed in 2010.
As noted there, right click behaviour should be supported.
The right click Tk text bindings on Mac
Mark Roseman added the comment:
Yup. Revised extdlg-sorted.patch attached. Thanks for noticing that!
--
Added file: http://bugs.python.org/file40131/extdlg-sorted.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24782
Mark Roseman added the comment:
I'd like to revisit this, particularly in the context of some of the
discussions regarding future improvements of IDLE.
Assume we have a barebones Tcl/Tk framework build of e.g. 8.6.4 as part of the
installer (core Tcl/Tk, not like e.g. ActiveTcl).
Would
Mark Roseman added the comment:
The squares next to foreground/background are placeholders for those controls I
can't remember what they're called (colour wells?) where it shows the current
colour, and clicking it brings up a colour picker allowing you to change. So
separate ones
Mark Roseman added the comment:
Screenshot extdlg.png shows result
--
Added file: http://bugs.python.org/file40119/extdlg.png
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24782
Mark Roseman added the comment:
I've attached extdlg.patch, which changes the UI for the configure extensions
dialog.
In particular, it replaces the stacked tabs with a listbox on the left, with
the details of each extension appearing in a labelframe on the right. The
inside
Mark Roseman added the comment:
What do you think of the layout in cfg_font_layout.png? (before/after)
--
Added file: http://bugs.python.org/file40105/cfg_font_layout.png
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24776
Mark Roseman added the comment:
For illustration, attached idle_find_ttk.png, which is a minor layout tweak of
the existing one (works on all the various find dialogs, though not shown in
screen shot). I agree with Al's other suggestions here.
--
nosy: +markroseman
Added file: http
New submission from Mark Roseman:
I'm wondering about moving the functionality of the 'configure extensions'
dialog into the main configuration dialog. As I don't know the history here,
I'm wondering why it was made separate.
My proposal would be to add an 'Extensions' tab in the main config
Mark Roseman added the comment:
One of the other options I was playing with previously was a listbox for
choosing the theme (what I'd suspect is the main user activity here).
--
Added file: http://bugs.python.org/file40110/cfg_highlight_alt.png
Mark Roseman added the comment:
Incidentally (and this I would say is a definite bug) because the modal doesn't
fully work on the Mac, you can actually create multiple copies of the config
dialog!
--
___
Python tracker rep...@bugs.python.org
http
New submission from Mark Roseman:
Placeholder for improvements to the syntax highlighting tab in IDLE config
dialog.
I've attached cfg_highlight.png which shows a before and after I'm suggesting
as a starting point. It would have the same functionality but uses a lot less
pieces to implement
Mark Roseman added the comment:
While I think this approach would largely be a bad idea for an IDLE-sized
application, where I think it definitely would be useful is in something very
restricted like the tkSimpleDialog code.
To improve the various little 'askstring', 'askinteger' etc
Mark Roseman added the comment:
cfg_highlight_alt.png shows with the listbox for choosing a theme
Also added highlight3.png... same kind of thing, but by renaming the tab as
'Themes' you no longer even need the row of labels at the top. And it parallels
the fonts/tabs design suggestion
Mark Roseman added the comment:
Serhiy, I appreciate what you're saying, but special casing to handle both ttk
and non-ttk cases seems not feasible given the amount of resources available to
enhance/maintain IDLE. Additionally, part of the rationale for making these
changes is to simplify
Mark Roseman added the comment:
Got it re: 2.7/3.4. So the only stumbling block left to 8.5/ttk in 3.5 would be
the current Mac build that is ok with Tcl/Tk 8.4...?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24759
Mark Roseman added the comment:
I'll raise the practical matter that ActiveState no longer distributes 8.4.x as
part of its Community edition ActiveTcl, though I presume it would be available
as part of its for-fee Business version. Therefore if someone wants to use
Python on 10.5, it would
Mark Roseman added the comment:
Ned, quick question... if there is a tcl/tk 8.5.x on the system, will the 32
bit prebuilt distros link with it, or only with a 8.4.x version?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Mark Roseman added the comment:
I've attached defaultfont.patch which will look for the magic value
'TkFixedFont' in the configuration file and do some appropriate magic with it.
Most of the font handling smarts are now in a 'GetFont' call in configHandler,
which as a bonus reduces some
Mark Roseman added the comment:
I'm ok with putting TkFixedFont in the config file. Only potential downside I
see is that the code will look for this specific value, but people may read the
config file and assume it could be changed to any Tk*Font.
I'd strongly argue against putting
Mark Roseman added the comment:
Sounds good. To clarify, (2) refers to not the overall window, but just around
the text widget. Both regarding this and the comments regarding status bar (4),
things look really good now on Windows. The changes I've made are barely
perceptible
Mark Roseman added the comment:
Doing it via the option database vs. on each menu would be my preferred
approach. The option database is global, not per toplevel, so would cover
everything. Only 'downside' is the whole its-not-an-application-its-a-library
thing, though in the highly unlikely
Mark Roseman added the comment:
Great. Sent in the contributor agreement Monday so I assume it should percolate
through soon.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24750
Mark Roseman added the comment:
Sounds good. Only suggestion, given it's user facing, is to have the error
message point them towards a solution. Off the top of my head, maybe something
like IDLE requires Python be configured to use Tk 8.5 or newer (you have Tk
x.x) with a title of IDLE
Mark Roseman added the comment:
The attached mainwin.patch implements these few small changes (except for
removing the Mac grow box space); checked active/inactive on Mac, Windows,
Linux.
--
keywords: +patch
Added file: http://bugs.python.org/file40070/mainwin.patch
New submission from Mark Roseman:
Is there any reason the IDLE settings dialog is modal?
(Actually while it is modal on Windows and Linux, on OS X you can actually
switch back to the main window while the settings dialog is up, but you can't
actually type etc. into it!)
While I could
Mark Roseman added the comment:
Ok, I'll do some playing around with that one over the next few days, and see
if anything comes up.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24760
Mark Roseman added the comment:
The mainwin2.patch keeps the width of the fields constant. Thanks!
--
Added file: http://bugs.python.org/file40071/mainwin2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24750
New submission from Mark Roseman:
The screen shot shows the current version of the main IDLE window, with the
little pics at the bottom indicating what it looks like when the window loses
focus. A few entirely cosmetic changes I'd like to make here:
1. Swap scrollbar for ttk scrollbar
Mark Roseman added the comment:
Same changes for 2.7 branch
--
Added file: http://bugs.python.org/file40059/tearoff27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13884
Mark Roseman added the comment:
Quick question how best to represent this in the config-main.def file. My
thought is to leave a font= line there so that the GetOption call returns an
empty string. The editor code can then detect that and substitute TkFixedFont.
Would this break anything
Mark Roseman added the comment:
As indicated in prior comments, the tearoff menus are strictly a holdover from
ancient Motif, and are no longer found in current user interfaces on any
platform. Because of that, I would strongly support deleting them altogether,
rather than making available
New submission from Mark Roseman:
By default, IDLE chooses courier for the text editor font.
As you'll see from the attached screenshot, while this looks ok on Windows,
it's inconsistent with the standard fixed width fonts on Linux and OS X, and
borders on unreadable particularly
201 - 272 of 272 matches
Mail list logo