Summary: | Window border is displayed in full screen mode / crash when NVIDIA's twin view is activated | ||
---|---|---|---|
Product: | [Applications] krdc | Reporter: | Matthias Gr <grueni75> |
Component: | general | Assignee: | Andreas Kling <info> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | avuton, fabo, oded, tanner |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | krdc crash report |
Description
Matthias Gr
2004-01-26 09:50:09 UTC
The second issue is probably the same as Bug 69635. Tim suggested it might be a kwin bug which sounds just about right to me, regarding the crash problem. can not check if the bug is present in KDE 3.2.2 since krdc still crashes when switching to full screen mode This bug _still_ exists, When I run on the primary window krdc can fullscreen, when I run on the alternate display krdc crashes and complains of a invalid bt. Created attachment 17237 [details]
krdc crash report
i'm affected by krdc crashes when nvidia twinview is enabled using krdc 3.5.4 i joined the crash report. SVN commit 571507 by kling: Check the return value from XF86VidModeGetAllModeLines() to avoid crashing. BUG: 73519 M +6 -2 vidmode.cpp --- branches/KDE/3.5/kdenetwork/krdc/vidmode.cpp #571506:571507 @@ -38,7 +38,9 @@ if (!XF86VidModeQueryExtension(dpy, &eventB, &errorB)) return; - XF86VidModeGetAllModeLines(dpy,oldResolution.screen,&modecount, &modes); + if (!XF86VidModeGetAllModeLines(dpy, oldResolution.screen, &modecount, &modes)) + return; + for (int i = 0; i < modecount; i++) { int w = (*modes[i]).hdisplay; int h = (*modes[i]).vdisplay; @@ -69,7 +71,9 @@ if (!XF86VidModeQueryExtension(dpy, &eventB, &errorB)) return Resolution(); - XF86VidModeGetAllModeLines(dpy,screen,&modecount, &modes); + if (!XF86VidModeGetAllModeLines(dpy,screen,&modecount, &modes)) + return Resolution(); + int cw = (*modes[0]).hdisplay; int ch = (*modes[0]).vdisplay; nx = cw; *** Bug 132273 has been marked as a duplicate of this bug. *** |