Questions related to the Mathematica front-end (graphical user interface).

learn more… | top users | synonyms

40
votes
0answers
549 views

Guidelines for planning custom GUI in Mathematica

This post is here to save your time during GUI development in Mathematica. And one way to do this is to know where limits are and to be aware of features that are awaiting. Intro Usually I don't ...
29
votes
0answers
658 views

Changing FrontEnd automatic scrolling in version 8

In Mathematica versions < 8, the FrontEnd has a very intelligent behavior: On evaluation, it by default automatically scrolls down the Notebook window to the last printed Output cell but also ...
21
votes
0answers
610 views

How to improve these WASD + mouse look 3D controls?

Insipred by this question and the corresponding answer I've written a code for full-screen exploration of 3D scenes using standard WASD and mouse look controls. Here it is. ...
17
votes
0answers
181 views

Front ends gone wild with named slots

Bug introduced in version 10, persisting through 10.3 Assume the following simple expression {#"Test"}& Now go in front of the ...
16
votes
0answers
100 views

Inconsistent handling of Dynamic option values; intended, omission, or bug?

In answering Dynamic ClipPlanes calculated from current ViewPoint Kuba and I got into a brief exchange regarding how Option values wrapped in Dynamic should be ...
15
votes
0answers
353 views

Colored marks appearing in notebook input text?

Bug introduced in 10, persisting through 10.2 What is the causing these colored marks to appear in my Mathematica notebook? I'm particularly annoyed with the black ovals that occasionally obscure ...
14
votes
0answers
139 views

Why does the Ver. 10.0 FrontEnd lose matching of parentheses when we insert quotations?

I am running Mathematica 10.0.1 on a four-year old iMac running OS 10.6.8. The following irritating behavior occurs regularly: I have a list with parentheses, and later on I need to add something to ...
13
votes
0answers
431 views

Is it possible to regain Mathematica 5.2's palette input focus behaviour with version 8.0?

Between Mathematica 5.2 and later versions, there has been a change in determining which notebook gets the palette input focus, which leads to quite unfortunate behaviour if you use focus-follows-...
12
votes
0answers
93 views

Control Front End in “mathlink” mode

Note: This question was already posted in the Wolfram community. In a terminal math session, we can start a front end (FE) easily by launching it though ...
10
votes
0answers
80 views

Autocomplete is too greedy with the mouse

I have a frustrating user experience problem in Linux; a common occurrence when using the notebook might go like: I have, for some reason, used the mouse (e.g. to place the cursor) and then move the ...
10
votes
0answers
251 views

After editing a file Mathematica 10 interprets […]^2 as […(])^2

Bug introduced in 10.0 and persisting through 10.2 or later This is a very weird bug and I don't really know how to reproduce it, so I'll just copy-paste the whole code ...
10
votes
0answers
155 views

Autocomplete of non-global functions

In Mathematica 9 and 10 they added autocompletion. Out of the box this works great, but when I set the CellContext to "Notebook" ...
10
votes
0answers
458 views

How to copy hyperlink addresses using the keyboard

I would like to copy the address of a hyperlink in Mathematica using the keyboard. I found code for copying hyperlink addresses in ContextMenus.tr: ...
9
votes
0answers
54 views

Issue with undo after copying a string inside a string

Bug introduced in 10.0 and persisting through 10.4.1 or later Here's a small but annoying issue related to undo and copying of strings. Steps required to get the problem: Type ...
9
votes
0answers
110 views

Why would killing the kernel defreeze/unhang the front end?

My Mathematica front end will freeze occasionally for unreproducible reasons. This seems mostly associated with long (> 1 hour) computations, although not exclusively. If I click on the Mathematica ...
9
votes
0answers
57 views

CopyToClipboard freezes FrontEnd

This is freezing the FrontEnd: CopyToClipboard@ExampleData[{"Text", "AeneidEnglish"}] Are there system limits I'm hitting here?
9
votes
0answers
69 views

Is this behaviour, producing OutputSizeLimit`Dump`encapsulateOutput, a bug?

Bug introduced in 6.0.0 and persisting through 10.2.0 The input ...
9
votes
0answers
80 views

Is “MaxMessageCount” broken or is its function counter-intuitive?

Behavior remains unchanged through Mathematica version 10.1.0 As noted by kguler the Front End option: MessageOptions -> "MaxMessageCount" does not appear to ...
9
votes
0answers
171 views

How can we extend the predictive interface so it can suggest new operations?

Introduction Mathematica 9 has introduced a new predictive interface. For each output, it suggest possible actions the user might want to take. How can this interface be extended so that it will ...
8
votes
0answers
43 views

How to setup logging levels?

I was wondering what tools exist out there for doing logging in Mathematica? The Echo functions is nice, but I'd like to set various severity levels and other ...
8
votes
0answers
76 views

What is the equivalent of $ModuleNumber for DynamicModule

Mathematica provides access to $ModuleNumber which can be enormously useful. Unfortunately I can't find the equivalent for ...
8
votes
0answers
82 views

What is a full list of cell styling options and sub-options?

I'm trying to customize a style sheet and have hit a few speed bumps and walls. Firstly, I can't see how to do a few specific things, like to set the color of the cell's left side label: Or how to ...
8
votes
0answers
141 views

What is stored in FrontEnd memory?

I quit the kernel, and closed all notebooks, leaving only the startup window. Yet when I open a new notebook, MemoryInUse[$FrontEnd] reveals that the FrontEnd still ...
8
votes
0answers
85 views

How can autocomplete entries be added for DownValues and Properties?

I'd like to assign DownValues to a symbol like this x["firstvalue"] = 1; x["secondvalue"] = 2; And then have the ...
8
votes
0answers
318 views

Page Break Adjustment In Long Documents

Has anyone else had trouble in relocating page breaks in a long document? In a ~45 page long document I wanted to keep certain things on the same page. The system worked on the first three or four ...
8
votes
0answers
173 views

TeXToBoxes and BoxesToTeX BoxRules options

A recent question has gotten me to look more into the tex conversion rules. Consider the following latex string: ...
7
votes
0answers
101 views

Is there a syntax coloring type that highlights only when not in a list?

How do I define the syntax coloring of local variable of function myfunc so that it only colors the variable that is not in a ...
7
votes
0answers
195 views

Help with a Mathematica front end touchscreen problem

I really like using my Windows 10 touchscreen to move around in websites, documents, etc. It doesn't work in Mathematica. Can that be fixed by changing a global notebook setting, or is it something ...
7
votes
0answers
131 views

ClipPlanes on Translated 3D objects crash front end

Bug introduced in 10.1 or earlier and persists through 10.4.1 Applying Translate to a simple 3D object (e.g. Pyramid) along ...
7
votes
0answers
120 views

How to execute code on FrontEnd quit?

I would like to execute a block of code whenever the FrontEnd quits. I know about $Epilog, but it seems that this would execute every time the kernel quits, which ...
7
votes
0answers
392 views

Can I modify line-break behavior of inline cells?

When I insert an InlineCell into a TextCell that is too long for the whole InlineCell to fit ...
6
votes
0answers
100 views

How to unlock a stylesheet which is not needed anymore by the FrontEnd

Reply from WRI Support: [...] This indeed seems to be an issue with the Frontend on Windows and I have alerted the development team about this. Unfortunately I do not have a work around at ...
6
votes
0answers
61 views

Front end hasn't crashed yet, but is unresponsive. Is there any way to get my unsaved definitions?

The front-end isn't responding, the only thing I can do is force quit it. Essentially, I can select any window (I have a few open), and I can move the windows, but I can't scroll or anything. There ...
6
votes
0answers
174 views

Automatic replacing of [ with []

I tried to modify the KeyEventTranslations.tr file in order to always place a closed bracket instead of an open bracket once I press ...
6
votes
0answers
221 views

What is the difference between NotebookEvaluate and FrontEndToken

I am wondering what exactly are the differences in using NotebookEvaluate[filename] vs ...
6
votes
0answers
91 views

Does one need to be careful about loading multiple (many) contexts or packages in the same session?

I have a number of large pieces of precomputed data which I am considering putting into individual packages in order to load them (via DeclarePackage) and unload ...
6
votes
0answers
927 views

Limiting the use of discrete graphics card on Mac

Apple's laptop running Mac OS have a pretty nice feature to make the battery last longer: the dynamically switch between the low-power integrated graphics card and the higher-performance dedicated ...
5
votes
0answers
82 views

How to change default font for all existing notebooks at once?

By default, Mathematica 9 and 10 use Gill Sans MT fonts for headings of title/subtitle/section/subsection/subsubsection. Unfortunately, Gill Sans MT fonts have no Cyrillic letters, so that all ...
5
votes
0answers
51 views

Triggering events based on choices made inside of system dialogs (e.g. window close)

I'm trying to arrange for Mathematica to perform a certain action every time a notebook is saved or closed (with or without saving). The obvious way to do this would be through event handling. So, ...
5
votes
0answers
275 views

Front End does not respond to keys (version 10.2, Linux)

I was often complaining about the front end performance under Linux, but it seems I could pin down a very critical issue. I made a screen-cast that shows how to reproduce the issue Screen-cast on ...
5
votes
0answers
51 views

How is CellContext->CellGroup supposed to work?

After reading the documentation on the subject, I still cannot get CellContext->CellGroup to work. Here's a simple example. (Unfortunately, I cannot easily ...
5
votes
0answers
124 views

Transparent bitmaps in controllers. Problem with initial appearance

Bug introduced in V9.0 or earlier and persisting through 10.4.0 I have a problem with images with alpha channel which I want to use as labels on Button etc. ...
5
votes
0answers
318 views

Selection bugs make Mathematica 10 unusable

I'm getting odd selection bugs in Mathematica (starting in 10.0.1.0, OS X 10.10 and still present in 10.3.1.0, OS X 10.11.2) that are making it impossible to use. For example if I simply click before ...
5
votes
0answers
128 views

How to Check Spelling strings written inside input cells

Is it possible to check the spelling of strings? Strings are often used to show messages in my user interfaces, and I would like to have an automatic checking. Methods that export all the strings to ...
5
votes
0answers
142 views

How to keep $FrontEnd options from resetting?

I'm trying to get Mathematica to look in a different, version-tracked folder for the 'TextResources' files that it uses to build the Front End. I've prepended my version-tracked folder path to the <...
5
votes
0answers
319 views

Why FrontEnd`KernelExecute doesn't work in KeyEventTranslations.tr?

Which commands can you put in KeyEventTranslations.tr ? There is an extensive list of FrontEndTokens, but what else can you use? Why something like this doesn't ...
5
votes
0answers
187 views

some Graphics output do not fully render on the screen until an extra click is made into the notebook

Sometimes when using a command such as Grid and looking at the output, some of the actual lines (frame, gridlines) that make up the display will be missing on the ...
5
votes
0answers
166 views

Embed a Microsoft RichEdit 8 control in a Mathematica notebook using .NETLink?

Does anyone know whether or not it's possible to embed a RichEdit 8 control within a Mathematica Notebook using .NETLink? The goal here would be able to both view and edit mathematical text typeset ...
5
votes
0answers
119 views

Clear Citation Style Cache

How can I clear the "Citation Styles Cache" created when you use the EndNote citation management feature for the first time in Mathematica. The Citation Management tutorial indicates that such a ...
5
votes
0answers
314 views

Front-end glitch when interacting with dynamic content

This is now bugging me too much to ignore it anymore. When I interact with a notebook that has dynamic content, for example moving a slider, Mathematica regularly brings other open notebook windows to ...