Home Download Buy Blog Forum Support

Main windows doesn't redraw/refresh

Main windows doesn't redraw/refresh

Postby barak on Wed Feb 24, 2010 7:33 am

From time to time when I resume from standby mode, Sublime doesn't refresh. The main window just captures my background and doesn't show anything.
Still didn't figure the exact scenario to reproduce.
I'm using v20100217 - Attached a screenshot.
Attachments
sublimetext_after_resume_from_standby.jpg
sublimetext_after_resume_from_standby.jpg (171.67 KiB) Viewed 2233 times
--
Barak
barak
 
Posts: 5
Joined: Wed Jan 27, 2010 7:47 pm
Location: Isreal

Re: Main windows doesn't redraw/refresh

Postby EJ12N on Wed Feb 24, 2010 2:50 pm

common bug caused somehow by directx9. If using opengl renderer I believe this doesn't happen.
No news on a possible fix other than changing renderer to opengl, just know that you're not alone happens to me (and I'm positive to others too) from time to time coming back from sleep/standby lol. Has not happened in a while, mainly since I switched to Win7
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Main windows doesn't redraw/refresh

Postby GreyWyvern on Wed Feb 24, 2010 8:11 pm

I get this every now and again since I switched back to directx. I was getting a lot of redraw artifacts relating to transparency when using opengl on WinXP. At least the directx problem can be fixed by closing and reopening ST, which will remember all of your tabs.

I'm not sure if the opengl transparency problems are still an issue in Win7.
GreyWyvern
 
Posts: 106
Joined: Fri Oct 23, 2009 7:08 pm
Location: Canadia

Re: Main windows doesn't redraw/refresh

Postby barak on Thu Feb 25, 2010 4:45 pm

GreyWyvern wrote:I get this every now and again since I switched back to directx. I was getting a lot of redraw artifacts relating to transparency when using opengl on WinXP. At least the directx problem can be fixed by closing and reopening ST, which will remember all of your tabs.

I'm not sure if the opengl transparency problems are still an issue in Win7.


Restart once in a while is not an issue, but something I'm going to standby mode without saving, and when I fire up the laptop, I don't know how to answer: do you like to save your changes.
--
Barak
barak
 
Posts: 5
Joined: Wed Jan 27, 2010 7:47 pm
Location: Isreal

Re: Main windows doesn't redraw/refresh

Postby barak on Thu Feb 25, 2010 4:46 pm

EJ12N wrote:common bug caused somehow by directx9. If using opengl renderer I believe this doesn't happen.
No news on a possible fix other than changing renderer to opengl, just know that you're not alone happens to me (and I'm positive to others too) from time to time coming back from sleep/standby lol. Has not happened in a while, mainly since I switched to Win7


Good to know, I'm not alone. I'll give opengl a chance, hope to switch to Win7 soon.
--
Barak
barak
 
Posts: 5
Joined: Wed Jan 27, 2010 7:47 pm
Location: Isreal

Re: Main windows doesn't redraw/refresh

Postby jdb on Wed Mar 10, 2010 4:00 pm

I get this one as well when coming back from Hibernate and this is on Windows 7. The quick way out is to close the window and then kill the sublimetext.exe task from the task manager. Sublime then loads back up (including un-saved documents!).

It almost looks like the UI becomes "detached" from the main process. Very odd. Is this a known bug being worked on?

JDB
jdb
 
Posts: 5
Joined: Fri Feb 26, 2010 3:27 pm

Re: Main windows doesn't redraw/refresh

Postby jps on Fri Mar 12, 2010 10:17 am

As far as I'm aware, it's not possible to work around this problem with the existing Direct3D API. I've spent a lot of time looking at it, and haven't been able to come up with anything satisfactory.

If you're unable to use the OpenGL renderer, then the best bet is to do a File/Exit and preserve session, then open Sublime Text again: this will get you right back where you were, with all the files still open and no changes lost.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: Main windows doesn't redraw/refresh

Postby GreyWyvern on Fri Mar 12, 2010 4:29 pm

So if the DirectX issues can't be fixed, can the OpenGL transparency issues be looked at? I hate being in a lose-lose situation ;)
GreyWyvern
 
Posts: 106
Joined: Fri Oct 23, 2009 7:08 pm
Location: Canadia

Re: Main windows doesn't redraw/refresh

Postby EJ12N on Mon Mar 15, 2010 3:26 pm

umm what version of DX are u guys using? I am on DX11 and since I switched to win7 it hasn't happened at all. I thought it was luck but is been months now... maybe just me? any other win7 user on DX11 can offer any input?
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Main windows doesn't redraw/refresh

Postby jdb on Tue Mar 23, 2010 11:43 am

Mine is Windows 7 Professional 32-bit with DirectX 11 on a Core 2 Duo laptop.

This only happens after a hibernate or sleep session.
jdb
 
Posts: 5
Joined: Fri Feb 26, 2010 3:27 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 26 guests