Detecting window resizing
My application displays a JFrame object that contains a JPanel object. The JPanel contains graphics that I would like to update when the JFrame is resized. What kind of listener can I add either to the JFrame or the JPanel, so I can detect resizing events?
Thanks for your help.
I appreciate the replies to my question very much. Yet I have 2 problems to overcome:
1. Apparently WindowStateListener is available only in version 1.4.*. I have to support users that run on JRE 1.3.
2. I don't see a state change that has to do with resizing a window. I do see states such as opening, closing, iconifying, gaining focus, etc. But none of these have todo with resizing when the user drags a border or a corner of the window and resizes it.
Please help. I can't be the first unfortunate guy with this kind of problem!
Thanks,
Miguel
Similar Messages
-
Is there any way to detect a window resizing event? When I grad the corner of a JFrame, I'd like to be able to tell that it is being resized. If anyone konw a way of doing this, please let me know.
AlanYou could have your window implement the ComponentListener interface. There is a method that gets called when the component's size changes.
-S- -
Detect Window Dimensions --- Put as SWF Dimensions?
Hey folks.
Been googling without luck on this. Any idea if it's possible
to have Actionscript or Javascript detect the size of a browser
window then write those values into the flash embed?
I know I can scale, but it's not a good idea for my specific
task:
To simply present an exact-fit full page flash, no matter the
initial window size. But one that does not scale with window
resize.
Thanks for the wisdom
[Flash 8]Hey folks.
Been googling without luck on this. Any idea if it's possible
to have Actionscript or Javascript detect the size of a browser
window then write those values into the flash embed?
I know I can scale, but it's not a good idea for my specific
task:
To simply present an exact-fit full page flash, no matter the
initial window size. But one that does not scale with window
resize.
Thanks for the wisdom
[Flash 8] -
Scrolling and windows resizing
Is there a way to turn off the feature where if you scroll up or down with your mouse positioned over a windows title bar it resizes the window. This "feature" works with both a standard mouse using a scrollwheel and also when using a touchpad with two finger scrolling.
The only third party program that I use which modifies the mouse is Sizeup and I have rigorously gone through its setting to determine if it was causing this behaviour. Also the behavior persists even when I shut down sizeup so I don't think it is the cause.
edit:
I would also add that this behaviour only appeared after I upgraded to 10.8. While I do have a lot of third party programs running and alot of them were updated when mountain lion was released so it is theoretically possible that this is behaviour is comeing from an external source I have no idea why any of the other programs I have running would affect window resizing. -
I am a loyal user of logic for 8 years now. yes I'm posting about an issue where logic crashes (as in: freezes for 30 seconds then closes even if other apps are reWired to it)
It does this SOMETIMES, when resizing any window in logic..
it says: UNEFINED RECURSION ERROR and then you know you'll be rebooting your mac g5 (tested on g4 too)
I sit here thinking of ten years of buying updates.
and by PURE LUCK alone, I buy every update hoping that certain issues will be fixed. Most are not.
On a mac there are two ways a window can be act when being resized:
1 - as you drag the re-sizer corner of the window, you see only a dotted outline of the window, then when you let go, the window resizes.
2 - as you drag, the entire contents of the window moves as you drag.
#2 causes crashes. #1 is fast and quick.
Mr. Moderator, you can delete this post as expected. But you do know as well as I do, these guys never do a user request.
I mean my $200 alone is enough to pay one developer to fix things like this.
Nevermind $200 from 2 million people!
What are you doing with your user requests and your users money?Might try removing your media files associated with the project... put them in another folder, or disconnect the fw drive that holds them...?
Do other project files do the same or just this one?
Jerry -
Illustrator Application Window Resizes When Opening Smart Object from PSD
Hi All, I've taken a vector graphic created in AI CS4 and pasted it into my PSD CS4 doc as a smart object. When the original AI file was created the application window was set as I preferred it, filling my screen. When I double click the Smart Object in PSD to edit it back in Illy, the window that contains the application has been switched off of the fill screen mode and is quite a bit smaller. I know it's small but now I have to click the maximize icon in the application bar to get Illy to fill the screen again. It wouldn't be so bad once, but the application window resizes itself every time I punch back into the smart object from PSD.
Any ideas on how I can get the AI environment from switching around on its own??
Win 7, CS4, all patches current, Dual 22" montiors
thnx,
jeffI just want to point out that when you open the smart object of course it is not the same file as the original but an embedded copy of it.
That might also have something to do with this issue and might also be a photoshop issue with the smart object and one reason might be that Photoshop is see the image as resolution and Illustrator sees it as a dimension and the teams might be able to do something about this but might not actually be aware of it unless you file a report even if it is not a bug it would then be a feature request.
They might not be able to do anything about it but then there might be a clever engineer with an idea, so it might be worth the report. -
Pop up window resize disabled not working in fire fox (Linux)
Hi all I am using Dreamweaver 8, with behavior I made a pop
up window and disabled window resizing. It worked nicely in my
windows XP system (I checked it in IE and Fire fox). But it is not
working in Linux machine having same version of Fire fox
browser(but worked correctly in IE on the same machine). In Linux
machine we can simply resize the window.
Does anybody give a solution to fix this problem?Post a link to the page, please.
Why disable window resizing? What about those whose screen
won't display
the size you have picked?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"thozhayan" <[email protected]> wrote in
message
news:egpsde$s3r$[email protected]..
> Hi all I am using Dreamweaver 8, with behavior I made a
pop up window and
> disabled window resizing. It worked nicely in my windows
XP system (I
> checked
> it in IE and Fire fox). But it is not working in Linux
machine having same
> version of Fire fox browser(but worked correctly in IE
on the same
> machine). In
> Linux machine we can simply resize the window.
>
> Does anybody give a solution to fix this problem?
>
> -
Node Container that does not resize with Window Resize Event
Hello,
I'm not new to Java but I am new to JavaFX.
I plan to have a container/Canvas with multiple shapes (Lines, Text, Rectangle etc) in it. This Container can be X times in the Szene with different Text Shapes. I need to Zoom and Pan (maybe rotation) the whole Szene and the Containers/Canvas.
So I was playing around with that but I have two issues.
1) all Canvas classes that I found (like Pane for example) do resize with the main window resize event. The content of the canvas isn't centered any more.
2) I added a couple of Rectangles to the canvas and both the rectangles and the canvas have a mouse listener which will rotate the item/canvas. Problem is, that even if I click the rectangle also the underlaying canvas is rotated...I think I need some kind of Z-Info to find out what was clicked.
Here is the little example program, it makes no produktiv sense but it demonstrates my problem.
Does anybody has a tip what canvas class would fit and does not resize with the main window and how to figure out what was clicked?
public class Test extends Application
Scene mainScene;
Group root;
public static void main(String[] args)
launch(args);
@Override
public void init()
root = new Group();
int x = 0;
int y = -100;
for(int i = 0; i < 5; i++)
x = 0;
y = y + 100;
for (int j = 0; j < 5; j++)
final Rectangle rect = new Rectangle(x, y, 30 , 30);
final RotateTransition rotateTransition = RotateTransitionBuilder.create()
.node(rect)
.duration(Duration.seconds(4))
.fromAngle(0)
.toAngle(720)
.cycleCount(Timeline.INDEFINITE)
.autoReverse(true)
.build();
rect.setOnMouseClicked(new EventHandler<MouseEvent>()
public void handle(MouseEvent me)
if(rotateTransition.getStatus().equals(Animation.Status.RUNNING))
rotateTransition.setToAngle(0);
rotateTransition.stop();
rect.setFill(Color.BLACK);
rect.setScaleX(1.0);
rect.setScaleY(1.0);
else
rect.setFill(Color.AQUAMARINE);
rect.setScaleX(2.0);
rect.setScaleY(2.0);
rotateTransition.play();
root.getChildren().add(rect);
x = x + 100;
public void start(Stage primaryStage)
final Pane pane = new Pane();
pane.setStyle("-fx-background-color: #CCFF99");
pane.setOnScroll(new EventHandler<ScrollEvent>()
@Override
public void handle(ScrollEvent se)
if(se.getDeltaY() > 0)
pane.setScaleX(pane.getScaleX() + 0.01);
pane.setScaleY(pane.getScaleY() + 0.01);
else
pane.setScaleX(pane.getScaleX() - 0.01);
pane.setScaleY(pane.getScaleY() - 0.01);
pane.getChildren().addAll(root);
pane.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent event)
System.out.println(event.getButton());
if(event.getButton().equals(MouseButton.PRIMARY))
System.out.println("primary button");
final RotateTransition rotateTransition2 = RotateTransitionBuilder.create()
.node(pane)
.duration(Duration.seconds(10))
.fromAngle(0)
.toAngle(360)
.cycleCount(Timeline.INDEFINITE)
.autoReverse(false)
.build();
rotateTransition2.play();
mainScene = new Scene(pane, 400, 400);
primaryStage.setScene(mainScene);
primaryStage.show();
}Edited by: 953596 on 19.08.2012 12:03To answer my own Question, it depends how you add childs.
It seems that the "master Container", the one added to the Scene will allways resize with the window. To avoid that you can add a container to the "master Container" and tell it to be
pane.setPrefSize(<child>.getWidth(), <child>.getHeight());
pane.setMaxSize(<child>.getWidth(), <child>.getHeight());
root.getChildren().add(pane);and it will stay the size even if the window is resized.
Here is the modified code. Zooming and panning is working, zomming to window size is not right now. I'll work on that.
import javafx.animation.Animation;
import javafx.animation.ParallelTransition;
import javafx.animation.ParallelTransitionBuilder;
import javafx.animation.RotateTransition;
import javafx.animation.RotateTransitionBuilder;
import javafx.animation.ScaleTransitionBuilder;
import javafx.animation.Timeline;
import javafx.animation.TranslateTransitionBuilder;
import javafx.application.Application;
import javafx.event.EventHandler;
import javafx.geometry.Point2D;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.input.MouseButton;
import javafx.scene.input.MouseEvent;
import javafx.scene.input.ScrollEvent;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
import javafx.stage.Stage;
import javafx.util.Duration;
public class Test extends Application
Stage primStage;
Scene mainScene;
Group root;
Pane masterPane;
Point2D dragAnchor;
double initX;
double initY;
public static void main(String[] args)
launch(args);
@Override
public void init()
root = new Group();
final Pane pane = new Pane();
pane.setStyle("-fx-background-color: #CCFF99");
pane.setOnScroll(new EventHandler<ScrollEvent>()
@Override
public void handle(ScrollEvent se)
if(se.getDeltaY() > 0)
pane.setScaleX(pane.getScaleX() + pane.getScaleX()/15);
pane.setScaleY(pane.getScaleY() + pane.getScaleY()/15);
System.out.println(pane.getScaleX() + " " + pane.getScaleY());
else
pane.setScaleX(pane.getScaleX() - pane.getScaleX()/15);
pane.setScaleY(pane.getScaleY() - pane.getScaleY()/15);
System.out.println(pane.getScaleX() + " " + pane.getScaleY());
pane.setOnMousePressed(new EventHandler<MouseEvent>()
public void handle(MouseEvent me)
initX = pane.getTranslateX();
initY = pane.getTranslateY();
dragAnchor = new Point2D(me.getSceneX(), me.getSceneY());
pane.setOnMouseDragged(new EventHandler<MouseEvent>()
public void handle(MouseEvent me) {
double dragX = me.getSceneX() - dragAnchor.getX();
double dragY = me.getSceneY() - dragAnchor.getY();
//calculate new position of the pane
double newXPosition = initX + dragX;
double newYPosition = initY + dragY;
//if new position do not exceeds borders of the rectangle, translate to this position
pane.setTranslateX(newXPosition);
pane.setTranslateY(newYPosition);
int x = 0;
int y = -100;
for(int i = 0; i < 5; i++)
x = 0;
y = y + 100;
for (int j = 0; j < 5; j++)
final Rectangle rect = new Rectangle(x, y, 30 , 30);
final RotateTransition rotateTransition = RotateTransitionBuilder.create()
.node(rect)
.duration(Duration.seconds(4))
.fromAngle(0)
.toAngle(720)
.cycleCount(Timeline.INDEFINITE)
.autoReverse(true)
.build();
rect.setOnMouseClicked(new EventHandler<MouseEvent>()
public void handle(MouseEvent me)
if(rotateTransition.getStatus().equals(Animation.Status.RUNNING))
rotateTransition.setToAngle(0);
rotateTransition.stop();
rect.setFill(Color.BLACK);
rect.setScaleX(1.0);
rect.setScaleY(1.0);
else
rect.setFill(Color.AQUAMARINE);
rect.setScaleX(2.0);
rect.setScaleY(2.0);
rotateTransition.play();
pane.getChildren().add(rect);
x = x + 100;
pane.autosize();
pane.setPrefSize(pane.getWidth(), pane.getHeight());
pane.setMaxSize(pane.getWidth(), pane.getHeight());
root.getChildren().add(pane);
masterPane = new Pane();
masterPane.getChildren().add(root);
masterPane.setStyle("-fx-background-color: #AABBCC");
masterPane.setOnMousePressed(new EventHandler<MouseEvent>()
public void handle(MouseEvent me)
System.out.println(me.getButton());
if((MouseButton.MIDDLE).equals(me.getButton()))
double screenWidth = masterPane.getWidth();
double screenHeight = masterPane.getHeight();
System.out.println("screenWidth " + screenWidth);
System.out.println("screenHeight " + screenHeight);
System.out.println(screenHeight);
double scaleXIs = pane.getScaleX();
double scaleYIs = pane.getScaleY();
double paneWidth = pane.getWidth() * scaleXIs;
double paneHeight = pane.getHeight() * scaleYIs;
double screenCalc = screenWidth > screenHeight ? screenHeight : screenWidth;
double scaleOperator = screenCalc / paneWidth;
double moveToX = (screenWidth/2) - (paneWidth/2);
double moveToY = (screenHeight/2) - (paneHeight/2);
System.out.println("movetoX :" + moveToX);
System.out.println("movetoY :" + moveToY);
//double scaleYTo = screenHeight / paneHeight;
ParallelTransition parallelTransition = ParallelTransitionBuilder.create()
.node(pane)
.children(
TranslateTransitionBuilder.create()
.duration(Duration.seconds(2))
.toX(moveToX)
.toY(moveToY)
.build()
ScaleTransitionBuilder.create()
.duration(Duration.seconds(2))
.toX(scaleOperator)
.toY(scaleOperator)
.build()
.build();
parallelTransition.play();
public void start(Stage primaryStage)
primStage = primaryStage;
mainScene = new Scene(masterPane, 430, 430);
primaryStage.setScene(mainScene);
primaryStage.show();
} -
Gmail scroll down arrow is covered by Firefox 4 window resize icon
I updated Firefox to version 4 and now the scroll down arrow for the main mailbox of Gmail is covered up by the window resizing triangle icon for Firefox at the bottom right on the window.
The scroll down arrow is effectively made unavailable.
This appears to be the only site that causes this problem.You can add the bottom back back to your screen, which will move the resize corner below the scroll arrows. Just go to the '''View menu''' > '''Toolbars''' and enable the '''Add-on bar'''.
-
[SOLVED] GNOME 3.8 annoying window resize problem
Hello all fellow early-adopters :-)
A very annoying quirk I've noticed, moving from GNOME 3.6 to 3.8, is that it no longer remembers, nor retains, the size/positions I set for many of my application windows. For example, my mail client (Evolution) is sized to fill most of my screen (centrally), with Empathy and Skype as long narrow windows on both sides - giving me a nice, broad "communications" overview on that particular desktop (with dev tools etc open on others).
On 3.6, this layout was retained during my session, as well as next time I started these apps up.
In GNOME 3.8, not only does it insist that these windows are always started as small little bunched-up windows that I need to resize, but every time a window displays a notification/warning (message in internal yellow bar inside the window - such as loss of internet connection, mail retrieval failure etc) it resizes the windows spontaneously to a stupid, small size that overlays the other windows. This is driving me crazy!
Where can I learn a bit more about how window sizing / positioning works in GNOME 3.8, or is it finally time to switch to awesome wm? I want to love GNOME 3.8, I really do. It's so slick, but so... unpolished.
I want to dig in an assist with problems like these, but I need some pointers to some background material first to understand the problem. Is it the window manager? Is it the app?
** UPDATE: Doing a full system upgrade, as of May 18, 2013, has resolved this annoying problem. My windows now stay where they belong, and start with the same size they were closed with. GNOME is now pleasant to use again :-)
Last edited by dawid.loubser (2013-05-21 13:37:25)dawid.loubser wrote:Thanks for the suggestion drtebi - I'll give it a try.
I really like GNOME 3.x though (and would like to understand the windowing behaviour), but if the annoying quirks are insurmountable, I will happily switch.
Man I love GNOME 3.x. I admire the courage they had to change, basically, everything, and I find myself more productive with my GNOME 3 Arch box than with my good ol' Slackware KDE 4 box. I just hate those bugs - for example I filed a task in their bugtracker for this window resize problem I have with gedit. If it's a love/hate relationship, I think it's marriage ^_^
With the 3.8 upgrade, deadbeef was having a similar problem with window size/position. I just recompiled it against the latest GTK+3 package upgrade (that came after the 'big upgrade' here on Arch) and it was fixed. But not with gedit
bwat47 wrote:
Man I really hope this gets fixed soon, because aside from this one incredibly annoying issue I am loving gnome 3.8.
I get the feeling gnome badly needs more beta testers, sizable regressions like this in "stable" releases happen way too often sad.
I get the exact same feeling. Well bugs exist everywhere, there's no denying. But I think it would be wiser to 'alternate' the nature of each major stable release - one focusing on new features and one focusing on fixing bugs. For example if the only new features in GNOME 3.10 were the AppsFolder full implementation and the introduction of gnome-calendar, and the rest of the development cicle being devoted to fix bugs, I'd be more than happy.
Like Fedora and Ubuntu, the fixed 6-month release cycle colaborates with the bugs. They don't do like Debian or Slackware which are released 'when they are ready'.
EDIT: fout (yet) another bug. At least with facebook chat (haven't tested with other telepathy plugins) the buddy tray icon appear duplicate. Anybody with the same issue?
Last edited by lmello (2013-05-02 14:06:06) -
Safari: SWF doesn't resize during window resize
I'm seeing a resize problem with Safari and FP9 beta, at
least when the SWF is loaded directly in the browser window without
an HTML wrapper. When you resize the browser window, the app
contents in the SWF don't change size until the window resize is
complete. In other browsers (Camino, for example), the SWF contents
resize as the window does.This bug has persisted for two years and four months, through three major OS releases and numerous incremental updates.
Zooming Finder windows has been around since System 7, or was it 6, or earlier? How could nobody have noticed this?
Apple seems to be incapable of fixing these silly little glitches. -
Is it possible to make a modal window resizable?
Is it possible to make a modal window resizable?
I am not sure that I have the best way to create modal windows in the first place.
I have a TitleWindow which is hidden, and when I want to display it I make it visible and add it to thePopUpManager.
For example here I have an "importing" window which is visible while the application imports some stuff:
<mx:TitleWindow id="importingWindow" title="Importing Frame"
layout="absolute" styleName="Blue"
creationPolicy="all" visible="false"
width="350" height="150"
modalTransparency="0.3" modalTransparencyBlur="1" modalTransparencyColor="0x999999"
modalTransparencyDuration="50">
<mx:Label tabIndex="0" text="Importing... please wait!" left="55" top="45"/>
</mx:TitleWindow>
private function showImportingWindow():void
importingWindow.visible=true;
PopUpManager.addPopUp( importingWindow, this, true );
PopUpManager.centerPopUp( importingWindow );
private function hideImportingWindow():void
PopUpManager.removePopUp( importingWindow );
importingWindow.visible = false;
How would it be possible for this window to be resizable?
If not through the TitleWindow, is there any other way to have a resizable window within the application? (i know the application window can be resizable, but what about windows within the application?)Yes, but not as easily as you can make a normal window resizeable (AFAIK). You would need to handle it all yourself by adding a resize area with listeners, etc.
-
Home folder window resizes after shut down
Since updating to Yosemite, I notice that my Home Folder (window) resizes it self upon restart (after a shut down) thereby allowing me to see only a few of the dozen or so folders I keep inside. This is different in my experience from all other previous versions of Mac OS, where the Home Folder always opened in the size I set for it.
Does anyone know a fix for this?denlv,
You could try trashing the hidden file ( .DS_Store ) inside the folder that stores some of its positioning and size settings.
To show your hidden files.
Launch ( Terminal ) > Paste in the following ( defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder ) > Press Return.
Open the ( Offending Folder ) > Delete ( .DS_Store ) > Restart > Move folder how you want to to stay > Restart > Resize and try again to recreate > Did it stay?
To reverse your hidden files back to hidden.
Launch ( Terminal ) > Paste in the following ( defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder ) > Press Return.
Supporting Articles
http://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/
http://en.wikipedia.org/wiki/.DS_Store
Hope that helps,
Weston -
[svn:fx-4.x] 14651: Partial Mirrored Window Resize Fix
Revision: 14651
Revision: 14651
Author: [email protected]
Date: 2010-03-09 15:40:58 -0800 (Tue, 09 Mar 2010)
Log Message:
Partial Mirrored Window Resize Fix
http://bugs.adobe.com/jira/browse/SDK-25609 - WindowedApplication doesn?\226?\128?\153t properly resize when layoutDirection is rtl
This partially fixes using the gripper to resize the window. Checking in now so that windows are more functional for QE to test.
QE notes: n/a
Doc notes: n/a
Bugs: SDK-25609
Reviewer: Hans
Tests run: checkintests
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25609
http://bugs.adobe.com/jira/browse/SDK-25609
Modified Paths:
flex/sdk/branches/4.x/frameworks/projects/airframework/src/mx/core/Window.as
flex/sdk/branches/4.x/frameworks/projects/airframework/src/mx/core/WindowedApplication.as
flex/sdk/branches/4.x/frameworks/projects/airspark/src/spark/components/Window.as
flex/sdk/branches/4.x/frameworks/projects/airspark/src/spark/components/WindowedApplicati on.asStope
Mailing me ***
Sent from my I phone -
Preset manager - window resizing
Hello
Can you please reinstate window resizing for the preset manager.
I work with 8 bit and 16 bit colour (for television) and work with colour in groups of 16.
When I could resize the window, I could do so so that there were 16 colours across and I could see exactly if I had too many colours or too few.
Now, I cannot do this and it is annoying.
Thank you
Jo HigginsThat is a total furphy.
I have just been through all the presets on the largest list settings and not one of them approaches the width that is set (see pink arrow in image below)
Changing the dialog (as per previous versions of photoshop) would not affect the ability to switch among present types.
Maybe you are looking for
-
Can't change printer from one account to another
Hi, I seem to be stuck between the proverbial rock and a hard place. Here's the situation: 1. My old e-mail account used originally to sign in to the HP eprint center has been deleted by the e-mail provider (MSN). It can't be recreated because MSN wi
-
Problems with triple so iin same disk
hi, I want any suggestions to solve my problem. I want to install 2 arch linux in the same disk that i hace windows xp. my partition scheme is: sda1 20gb ntfs winxp sda5 120gb ntfs files and music sda5 128mb ext3 boot sda6 4gb
-
Broken BB and I need my PIN to fix it but I can't access my BB to get my PIN!
Hi I've been searching for a solution and can't find one that doesn't involve checking my actual BB device. The story is my BB has flagged up a message: "Reload Software 552" BUT to do this on the device manager I need my PIN but I can't find a way
-
ADF BC 11 - best practice question
Hi, I think that many developers/architects working with development in the SOA area, are facing the same problem as we have. The SOA architecture promis you decoupled systems that are highly adaptable and flexible. However most systems also have use
-
I just restored my Macbook Version 10.4.11 to factory settings because I heard that it is good to do that to clean it up. I had saved everything on a WD My Book 1110 Media, but now when I try to retrieve the stuff on there, the WD won't even mount. T