Changing Font in MySQL Workbench - mysql

I am using MySQL Workbench 5.2, the newest version as far as I know, but I simply cannot change the font. It is very inconvenient, because the default font is very small and harsh on the eyes. The appearance tab has options for changing the font, but no change can actually be made there, as the field cannot actually be edited.
Does anyone know of a way around this? It seems to be a common bug, but I can't find a fix anywhere.

In the
Edit > Preferences... > Appearance > Fonts section
of the mentioned version, you can edit the font but you have to slowly double click, as its very wonky (or press enter) and then you manually have to type in the font name followed by a space and font size for example mine states:
Source Sans Pro 10
Also it requires a program restart.

On Mac, on the top left corner,
MYSQLWorkbench -> Preferences -> Fonts
Increase the numbers here
NOTE : Make sure to close the instance and reopen it for these changes to apply.

Only thing you need to do is increase zoom:
(MySQL: 8.0.12)On a mac computer.
picture of mysql and an arrow pointing to the zoom tool
IF YOU ARE ON LINUX (DEBIAN and many others)
Hold ctrl and scroll up (mouse scroll)

Similarly for Mac OS X using the hidden path below (ref: this link):
"You can edit the preferences directly in their XML files. Shut down MWB. Then edit the file ~/Library/Application Support/MySQL/Workbench/wb_options.xml. Look for the key workbench.general.Editor:Font, and change the font there. Now restart MWB to see your change."

Edit -> Preferences... -> Appearance -> Fonts section
Highlight a row, click ENTER, you can then edit the font and size.
Restart the app after.

Well, I just wanted to increase the size of font only because it was too small in my WB 6.1.
Close WB
Go to:
C:\Users\<User>\AppData\Roaming\MySQL\Workbench\wb_options.xml,
where <User> is your Windows user login name.
Locate "workbench.general.Editor:Font".
I had Consolas 10 there, and changed it to Consolas 13.
That increased font to a comfortable size.

After clean installing MySQL Workbench (WB) 5.2.47 (Windows 7) on a new machine, I wanted the Lucida Console font as I am used to, but for some reason WB chooses a different font for reserved keywords, making the code unreadable. There is no setting for reserved keywords. So I could not easily change this by editing the wp_options.xml file. The only font setting which was acceptable was Courier New.
Then I went to another machine, and copied wp_options.xml from a WB 5.2.47 which had a history of WB upgrades. That did the trick, it worked fine on the newly installed WB.
Looking at the both wp_options.xml files in a text diff tool, I noted many differences, but not any that could explain the difference. My conclusion is that Oracle needs to work with UI configuration, as it is not OK that subtle, obscure edits in the wp_options.xml file is what is required to make the WB UI acceptable.

You can also do ctrl + mouse scroll to control size of font just like we do in VS code

Related

MS Access: Attachment type symbol shows black backround

I have a small database project where users can attach files to records. Mostly pdf and word docs. I am using the attachment type fields that access provides because I want to get more familiar with them. I have a continuous form that shows the attachment field using the Picture/Symbol view option. Most of the time, but strangely not always, the attachment symbol shows this black background behind its symbol. The black background does not cover the whole field but rather only the picture for the attachment type (Word, PDF etc.). The field itself is set to transparent, which is neccesary for my row highlighting to work. Does anyone know why this is happening? Is it a bug? Some way to fix it? It had worked when I had first set it up but upon restarting my computer and reopening the project they turned black and are now stuck that way. I removed them later for some reason and re-did the whole thing, upon which it seemingly worked but after restarting it went black again. There is no difference between using the view settings Picture/Symbol and Symbol.
Visual Aid:
Update 1:
The black backgrounds are seemingly random. I set the view option to Paperclip, restarted access, then set them to Picture/Symbol again and now I get this:
Closing and opening the file appears to turn the backgrounds black. Changing the view type back and forth inbetween can fix some, but not always.... I'm really not sure what's going on.
Update 2:
The issue is seemingly not affected by transparancy settings. Changing the Background color of the field has no impact either. The issue also persists when making a new form from scratch and adding the Attachment type field to it. It also carries over from one pc to another, so unless both have the same issue in their windows installation I don't think that is the root cause either. Compress & Repair did not help. I am only using one attached file per record.
Update 3:
I have had no luck consistently reproducing the issue. Most of the time, about 80% of it I am estimating, the issue persists. Some days, when launching access, the issue is resolved partially for either the word icon, or the pdf icon. On some days the issue is resolved for all icons as in the picture below. Almost always, after closing and opening access, the issue will immediately reappear for all icons. Closing and opening the form only and keeping the file open is fine, the issue stays resolved. Really not sure how to go about this.
My Access version:
Version 2205 Build 16.0.15225.20028
My Windows install:
Microsoft Windows 10 Pro
10.0.19044 Build 19044
So, updated to windows 11 and the issue is solved. No idea what was wrong exactly but it turns out it was related to the windows install. So, some kind of a bug in Win 10 is my guess, since it was happening on two different machines both running win 10.

Bin Icon is Gone From the Panel in Visual Studio Code

In Visual Studio Code, there was previously a trash image (icon) in the panel section. When I clicked on it the terminal was clearing. But it no longer exists. I changed accidently panel settings. For solving, I clearing settings.json folder but still same. Why does it never revert back to its old settings?
The Trash-bin Icon is Still Very Much Present in Your Editor
"The other solutions here, though no wrong in what they say, are not good solutions. The icon is still present if you know where to look, and you didn't accidentally change your settings. In the last VSCode update — "the May-2021 Update (v1.57.1)" — the VS-Code team added support for the new feature, "Terminal Tabs", which does more than add terminal-tabs, it offers users an entire new UI to use. It also switched the configurations of millions of unexpected VSCode users, so that the new UI was auto-equipped. In all fairness you are not the first person to wonder where the "Trash-bin Icon" went. I answered another question, 2 weeks ago, asking about the drop-down that is no longer visible."
You have two options available to you.
You can, keep the new UI the way it is, and below is a picture that shows where the new terminal tab trash-bin icon is.
Or you can switch back to the old UI using the setting bellow:
terminal.integrated.tabs.enabled: (true/false)
Image shows "terminal.integrated.tabs.enabled": false, and where the trash icon is. It is important to note that the icon auto hides, and one must scroll over it before it reveals itself.
Image shows "terminal.integrated.tabs.enabled": true, and where the trash icon is located using the old UI. I think its fair to note, the new UI was created to make VSCode better. People use to download extensions to get the same terminal tabs that the new UI offers.

Text resolution and Font size issue in MySQL workbench 8.0 on windows 10

Texts resolution and Font size is quite low which is putting a lot of strain on my eyes.
I have tried using Edit->Preferences->fonts and colors and then changing the font sizes but its not working not even on restart.
I have also tried correcting the resolution by changing the High DPI Setting and then overriding the scaling performed by Application. In this case the resolution is increased but font becomes even smaller.
Can anyone tell me how to figure out this?
I was facing the same problem of blurried fonts and textures after installing MySQL Workbench 8.0 on my new Windows 10 machine. The following steps worked for me:
step 1: Fix blurried textures. Go to the MySQL Workbench installation folder (Windows start menu, type in "Workbench" and right click on the icon and select open file location). After that, right click "MySQL Workbench 8.0 CE" and select properties, switch to tab Compatibilityand click the button Change high DPI settings. In the lower part of this window, under High DPI scaling behaviourcheck the box (i.e. "override high DPI scaling behaviour") and select the scaling being performed by Application. Click OK to close the window and click on Apply and OK to save the settings and close the window. (screenshot: Properties Window of MySQL Workbench: overriding high DPI scaling by Application)
step 2: increase text size. In MySQL Workbench, click on Edit and Preferences. In the navigation bar on the left-hand side of the preferences window, click on 'Appearance' (located under the group 'Modeling'). On the right-hand side, the lower section lists the fonts (and sizes) of the respective objects. In order to change the font type and/or size, click on an element within the column "Font" and click it again (do not double click!). By default, the following two font type/size defintions are set: Tahoma 11 and Tahoma Bold 12. (screenshot: Workbench Preferences-window)
optional: zoom in. If you still feel unconfortable with the displayed text size, you can - at least in terms ERD models (and maybe some other aspects) - zoom in. Unfortunately, this is not implemented via clicking and holding CTRL and mouse wheel scrolling. Instead you can either use CTRL + + (or - for zooming out) or you can use the magnifier-icons in the "Bird's Eye" pane (usually upper left pane).

Cursor not showing in Device Mode (Google Chrome)

So I'm trying to develop a webapplication and I'm trying to check it out on mobile.
I'm currently using Cordova and JQuery Mobile together with ripple.js to view my application in my browser.
The first issue (as far as I know) is that ripple.js will work best in Google Chrome, so this is my only test platform.
The second issue is that when I toggle Device Mode on, it doesn't show me the black dot (cursor) when I enter the rendered version.
I'll explain my situation or a scenario:
As an example I'll go to http://google.com
I press F12 to enter developer mode
I click the Toggle Device Mode button
I will see my cursor, until I enter the generated mobile canvas. While I would normally see a black transparant dot, I now see nothing.
I can however click and drag like I would normally do, but I can't see what I'm doing.
The things I already tried:
Reset all the flags back to default
Reset all developer tool settings to default
(edit) Installed a previous version of Chrome AND Chromium
So question is, how do I get my cursor back?
Extra: I'm using version 49.0.2623.87 m, but that's not related since my co-worker, has the same version and he sees the cursor.
(edit) currently I'm using the mouse option where I press Ctrl to see the circle which indicates where my cursor is, but this really has to be a temp solution.
(edit) I fixed it by doing a combination of things. So I'm not sure which exact thing fixed it. I removed a few programs that I installed after it still worked. I uninstalled about 4 of them. Also I did an update of my graphics card and then did a reboot. So it could be either the graphics card update, the software uninstall and/or the reboot.
I had the same issue. (note this question might be a duplicate of this one)
Following the advice on the Chrome forum here I changed the Quantization Range in my Intel HD Graphics Control Panel from "Default Range" to "Full Range". The touch pointer (grey circle) appeared immediately.
If that doesn't help you may have to change refresh rate too. Changing from 59p Hz to 60p Hz or some other refresh rate might help.
This should also help.
Open the mouse control panel.
Select the Pointer Options tab in the Mouse Properties window.
Then enable Display pointer trails option.
In case you don't like or are getting annoyed, like me, due to the trailer. Move the slider to the Short position and the trailer becomes near to non-existent or invisible.
I fixed it myself, yet I'm not exactly sure how I did it. I edited my original post and added the solution in the last paragraph.
Had the same on my Asus laptop with Chrome 66
Resolution that worked for me
Graphics Control Panel > Display > General Settings > Scaling > Change to Scale full screen.
OFF your Asus Eye Care Switcher.
I am posting this as answer because above mentioned answer didn't work for me but I had this issue when I had a monitor attached to my laptop, for development work. I played around with my display settings and discovered that IF the scale on my second monitor did not match the scale on my laptop, the mobile development mode cursor would disappear. (windows 10)
If this is an issue for anyone just go into Display settings -> Display -> Scale and Layout --> make sure that both your laptop/desktop matches the display scale of your second monitor.
Hope this will help.

How to make ruler always be shown in Sublime text 2?

I use Sublime Text 2 and want a Ruler to be shown in every file with specific line-height. But I have to show it manually in every file.
Go to Sublime Text > Preferences > Settings - User
Add a "rulers" setting with the lines you want for the ruler:
// Adds a single vertical ruler at column 80
"rulers": [80],
If you want multiple rulers, separate the values with a comma:
// Adds two vertical rulers: one at column 80 and one at column 120
"rulers": [80, 120],
Rulers not showing? Rulers are only shown when using a monospace font, which is the default font for Sublime Text. Ensure you are using a monospace font if the settings above don't work for you.
Edit the "rulers" value in the default settings to contain the column number you want the ruler to be displayed on, and it will persist.
Never edit Settings - Default; edit Settings - User instead. If you upgrade your SublimeText version you will lose all of your settings because Settings - Default will be overwritten.
In the Packages folders the 'User/' folder will be ignored between upgrades of SublimeText, the settings here will be persistent.
To enable the persistent rulers in any document, add the settings in Defaults - User:
{
"rulers": [75, 80, 85]
}
This example will display 3 rulers, at 75, 80 and 85 chars length.
As others have stated before me, select Preferences -> Settings-User and change
"rulers": [],
to
"rulers": [80],
in order to display one ruler at column 80.
Now for the rub, it seems that one must use a monospaced font in order to display rulers so you'll also need to change
"font_face": "",
to
"font_face": "Monospace",
or any other monospaced font.
Thinking about it, this makes sense. If different characters have different widths, then the ruler could potentially not be a single line, but a bunch of annoying line segments. I noticed this while using the default font and my column numbers were not the same for the same vertical position. At the same time, my fancy ruler was specified but not displayed. Changing the font to Monospace solved both problems.
While the answer by Ross Allen is great, it isn't the most convenient if you find yourself wanting to toggle the rulers on and off or change the width at various points while using Sublime.
Luckily, someone made a Package that allows you to do this.
https://packagecontrol.io/packages/QuickRulers
The package works in both Sublime Text 2 and 3.
Install Instructions:
Install PackageControl
Open PackageControll (e.g. via ⌘ + SHIFT + P)
Type "Install" and select "Package Control: Install Package"
Type "QuickRulers" and hit Enter to install the QuickRulers package.
You can access the command (quick_rulers) through several different means, but by default it is loaded in Omnisearch via "QuickRulers: Open Panel". (i.e., Hit ⌘ + SHIFT + P and type "QuickRulers: Open Panel")
If you change font, ruler will not be displayed. E.g. I set "font_face": "Lucida Grande", and ruler disappeared.
I just had this problem and noticed that the my ruler was only showing up when I was slightly scrolled to the right horizontally. Turns out the reason it was disappearing was because I was slightly zoomed in. Press Cmd+0 to make sure you are zoomed to the default 100% size before trying other things in case this is also your issue.
(I am using Sublime Text 3)
"editor.rulers" worked for me:
{
"editor.rulers": [72, 80]
}
instead of
{
"rulers": [72, 80]
}
Posting here so that it may help for some peoples.
P.S. I am using vscode on Macbook.